Coder Social home page Coder Social logo

flofriday / youtube-data Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 1.0 680 KB

Jupyter Notebook to analyze your YouTube data.

License: MIT License

Jupyter Notebook 22.11% Python 76.95% Dockerfile 0.94%
jupyter youtube python3 jupyter-lab data-science personal-data

youtube-data's Introduction

youtube-data

Telegram bot and Jupyter Notebook to analyze your YouTube data.

Try the bot

Screenshot

Screenshot

The notebook can do more than just tell you what creators you watch the most, so just try it out.

Run the bot

Requirements

  1. install docker

Run it

docker build -t youtubebot-template .
docker run -e TELEGRAM_TOKEN='XXXX' --rm --name youtubebot-container youtubebot-template

Replace XXXX with your telegram token.

Note: This way all data will be lost once you shut down the bot. To prevent this you can start the bot with a mounted docker volume.

docker build -t youtubebot-template .
docker volume create youtubebot-volume
docker run -d --restart unless-stopped \
      -e TELEGRAM_TOKEN='XXXX' \
      --mount type=volume,source=youtubebot-volume,target=/app/data \
      --name youtubebot-container youtubebot-template

Run the jupyter notebook

Requirements

  1. Install jupyter lab Website
  2. Add the ipywidgets extension to jupyter lab Website
  3. Install python libaries used for this notebook pip install pandas numpy matplotlib ipywidgets

Run it

  1. Download your youtube data (and select Format=JSON) Website
  2. Copy the folder "Takeout" into the folder with the Notebook. (Note: I just got a notice that this only works if your language is set to english. If that is not the case you need to modify the path in the first code-cell. This bug will be fixed in the next commits.)
  3. Run the notebook with jupyter lab PATH-TO-NOTEBOOK

youtube-data's People

Contributors

flofriday avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ksmaheshkumar

youtube-data's Issues

Fix Jupyter Notebook

Because of some changes in the bot, the notebook does no longer render plots.

Add Download Guide

At the moment the bot says there is a guide but just points to the README.md, which is fine , but not perfekt.
There should be a own guide.

Moreover, the bot should also state that it doesn't save the data you sent it and what data it saves.

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.