Skip to content

Conversation

@mtanghu
Copy link
Member

@mtanghu mtanghu commented Sep 5, 2023

This branch has the code for collecting youtube URLs using the approach of crawling youtube video recommendations (i.e. videos on youtube have side bar recommendations for other youtube videos) in an asynchronous DFS only collecting videos from channels not seen before (to promote diversity). Video will then be scraped from the channels collected.

This uses requests to youtube's web API and doesn't get blocked even with 20 parallel requests and can collect up to 10 million channels in around 3 days (which is the estimated number of channels with >1000 subscribers).

@mtanghu mtanghu mentioned this pull request Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants