-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
YouTube channel pagination limit #3794
Comments
I used this to get the newest 1048 videos, so I can at least extract 2096 videos from a channel by running without and with the patch: sed -i 's/&sort=da//g' youtube_dl/extractor/youtube.py I don't think there's an easy way to get all the videos when there is more than 2096 without using the API, so I'm closing. |
I am having the same issue - e.g.: I need a fix for this!!! - What are you doing with sed? |
Hi @electroweak, I'm patching This requires to run git clone https://github.com/rg3/youtube-dl.git
sed -i 's/&sort=da//g' youtube-dl/youtube_dl/extractor/youtube.py
./youtube-dl/youtube_dl/__main__.py "$THE_CHANNEL_URL" This will retrieve the ~1048 newest videos, so if you ran previously with the other sorting, you'll get ~2096 videos. It's better, but I currently don't know a way using web scraping to get the remaining videos (if the channel has more than ~2096 videos). An idea is to contact the channel owner, I believe they have the full list of their videos in the YouTube admin area. Another possibility is to use the YouTube API, but I didn't investigate on this yet. |
Hi,
I'm trying to download all the videos from this channel.
youtube-dl
finds only 1048 videos during the pagination extraction, but it looks like this channel has more than that.In fact the YouTube web pagination seems limited to 1048 videos too, but when changing the sort order, we can see that it don't covers all the videos.
Is there any way to fetch all the videos on a channel with more than 1048 videos? Or at least to try both sort orders to increase the limit to 2096?
The text was updated successfully, but these errors were encountered: