Giter Club home page Giter Club logo

youtube-history's Introduction

youtube-history

The program takes an html file of the youtube history data and converts it into a Pandas dataframe that can be exported.

The html file can be obtained from a Google user's Takeout page by following the instructions in this video

Obtaining an API key from Google Developers adds the length of the videos watched to the dataframe.

Initial HTML File

HTML file

Final Dataframe

Dataframe

One of the challenges encountered in this project was using regular expressions to obtain video urls, watch dates, times, and so on.

I would love to do some analysis on the patterns in my own data. For example, what channels I watch the most in a month, how much the time I spend on Youtube changes over time, what genre of videos I like, and so on. I would have loved to have information about repeated watchings of the same video, but the history data resets every time a video is watch.

In Progress

  • Adding OAuth so that a person can just run the program and sign in to their Google Account
  • Adding a Bokeh plot to generate dynamic user-determined plots. For example, the most viewed channels in a specified time interval.
  • Generating a word cloud of most common terms in video titles

youtube-history's People

Contributors

ayoola-babatunde avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.