openzim / youtube

Create a ZIM file from a Youtube channel/username/playlist
GNU General Public License v3.0
39 stars 26 forks source link

Video needing age confirmation are not scraped #162

Open kelson42 opened 1 year ago

kelson42 commented 1 year ago

This is the case for example of this video of « deusnex silicium » https://www.youtube.com/watch?v=QJSnf04K9WI

Coukd we fix this limitation?

rgaudin commented 1 year ago

Where's the error ? I couldn't find anything with age or restricted in the log of https://farm.openzim.org/pipeline/a47410dba08d31af322eee26/debug

yt-dlp has bypasses for some of the age-restrictions (I believe there are 4 kinds) already.

Supports some (but not all) age-gated content without cookies

For the ones that don't work, the only solution would be to use the --cookies-from-browser feature with a valid, logged-in cookie for a registered user with a matching age in YT's preferences.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.