-
Notifications
You must be signed in to change notification settings - Fork 40
Description
In the function scrape_watch_later_playlist you only extract the links from the initial page request, but playlists containing >100 entries need further requests (continuations) to load more entries in 100-entry packets via 1 of the 2 JSON-APIs.
I'm not sure, if you're aware of that, as this actually limits the use of this tool substantially.
You can see in the source code of "youtube-dl", how they deal with the continuations, although it's a bit convoluted there.
You could try to get the youtube-session-cookies from your Chromedriver-instance and use it with youtube-dl,
as it is perfectly capable of extracting complete youtube-playlists incl. the watchlater-playlist.
It only seems to have an issue with the Google-login atm, but still works when providing a netscape-cookie-file for the youtube-domain from a logged-in browser-session, where javascript execution has been halted.