Skip to content

souregi/YoutubeTrends

Repository files navigation

Youtube Trends

This is a very basic python library that uses an existing library : pytrends. It makes you compare up to 1000 keywords at the same time in the last 24 hours on youtube. The most searched keyword is always is given a score of 100. Note that having a score of 100 does not mean that the keyword is the best, it only means that it is the best keyword compared to the other input keywords.

Note that if you exceed some limit the requests will fail, you will have to reboot your router. That's because Google has blocked your IP address and you can no more access to the data. A proxy function will be implemented on the future.

How to install

  1. Download and Install Python 3 from : https://www.python.org/downloads/

  2. Install requirements:

pip install -r requirements.txt
  1. Install Jupyter notebook :
pip install jupyter
  1. Edit the keywords.txt File
steve jobs
bill gates
jeff bezos
mark zuckerberg
larry page

Quick Start

  1. Run Jupyter Notebook :
jupyter notebook
  1. Run the first line of command, the result should be something like this :