ArchiveTeam / youtube-grab

Archiving all metadata from YouTube (everything except videos themselves due to size)
The Unlicense
23 stars 2 forks source link

Bad redirect to https://consent.youtube.com/m?... #11

Closed imerr closed 11 months ago

imerr commented 1 year ago
Archiving item v2:UJFsujreGt8.
1=302 https://www.youtube.com/watch?v=UJFsujreGt8
bad redirect to https://consent.youtube.com/m?continue=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DUJFsujreGt8%26cbrd%3D1&gl=GB&m=0&pc=yt&cm=4&hl=en&src=1
you're likely banned, sleeping for 1800 seconds.
Rigo-V commented 1 year ago

Same issue. Archiving from a Finnish IP, if that is relevant.

CreaZyp154 commented 12 months ago

This is due to GDPR regulation. To fix, you will need to set a cookie: InPrivate: image Cookies accepted (personal session): image

However, setting the cookie manually still redirected to consent.youtube.com for some reasons (and the cookie still say PENDING) after clicking accept all, so it seems to be a little more complicated...

imerr commented 11 months ago

Fixed in https://github.com/ArchiveTeam/youtube-grab/commit/8547a575293cb89db4c97593fbbad06d184b4dea