Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Url collection #22

Open
wants to merge 72 commits into
base: main
Choose a base branch
from
Open

Url collection #22

wants to merge 72 commits into from

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.

2 participants