Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse age-restricted videos #40

Open
ronanPoinsignon opened this issue Jul 30, 2020 · 2 comments
Open

Parse age-restricted videos #40

ronanPoinsignon opened this issue Jul 30, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ronanPoinsignon
Copy link

Hi,

It seems that we cannot download the video when we have to accept the inappropriate content of the video.
Idk if i'm understandable so i give you some links to understand the problem :
https://www.youtube.com/watch?v=Nkwhj96kVyU
https://www.youtube.com/watch?v=QQhj1ckZwBQ

For these videos, the link goes from https://www.youtube.com/watch?v=XXX to https://www.youtube.com/watch?v=XXX&has_verified=1 .

ytbAccept

@xibr
Copy link

xibr commented Jul 30, 2020

These videos are age-restricted, so you must be logged in to view the content.

20200731_001312.jpg

@sealedtx
Copy link
Owner

@ronanPoinsignon it is possible to implement login functionality to download age restricted videos, like it is done here:
https://github.com/ytdl-org/youtube-dl/blob/a4ed50bb84658b7e77cbb37597c36fa62a9acd4b/youtube_dl/extractor/youtube.py#L89
But it requires a lot of research work to undestand how google login works, for now I don't have time to dive deep into this issue, but you may try yourself and submit pull request. Thank you

@sealedtx sealedtx added enhancement New feature or request help wanted Extra attention is needed labels Jul 31, 2020
@sealedtx sealedtx changed the title BadPageException: Could not parse web page BadPageException: Could not parse web page (age-restricted) Jul 31, 2020
@sealedtx sealedtx changed the title BadPageException: Could not parse web page (age-restricted) Parse age-restricted videos Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants