Skip to content

You will only be able to load 100 entries max. #1

@e-d-n-a

Description

@e-d-n-a

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions