Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Get total number of items in playlist #12836
Comments
|
I doubt this will be added. You are generating unnecessary traffic by loading playlist URL each time you download 5 more videos. Use |
|
Hum, you're right. I guess I can use |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.04.17. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
Description of your issue, suggested solution and other information
I'm trying to paginate playlists.
But when using
--dump-single-json --playlist-end 5on a long playlist, I don't have a way to know from the JSON if there are more videos in the playlist.It would be useful to get either: