Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Finding YouTube's top recommendations from any query

Notifications You must be signed in to change notification settings

rogue-hack-lab/youtube-explore

 
 

Repository files navigation

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.

Installation

To install the project's python dependencies, you can use pip:

pip install -r requirements

Used dependencies:

Example of usage:

python2.7 follow-youtube-recommendations.py --query="global warming,vaccines,nasa" --searches=4 --branch=4 --depth=4 --name="science"

  • --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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 44.2%
  • JavaScript 22.6%
  • Python 22.5%
  • HTML 10.1%
  • Shell 0.6%