npettiaux / youtube-explore

Finding YouTube's top recommendations from any query

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exploring YouTube recommendations

Where does YouTube's recommendation algorithm bring the user if he follows the recommendations? This robot follows the recommendations on YouTube from a given search query to find out where they bring you. After searching on YouTube and following the recommendations, it prints the 50 most recommended videos.

Example of usage:

python follow-youtube-recommendations.py --query="Do vaccines cause autism?" --searches=4 --branch=4 --depth=4 --name="autism"

  • --query: query that is made on youtube
  • --searches: number of search results from the query to start with
  • --branch: branching factor = number of recommendations that are followed
  • --name: name under which it will be saved
  • --alltime: add this option if you want to start from the most viewed videos for the query (using the option filter by viewcount on youtube)

About

Finding YouTube's top recommendations from any query


Languages

Language:CSS 45.3%Language:JavaScript 23.2%Language:Python 20.4%Language:HTML 10.4%Language:Shell 0.7%