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

YOUTUBE new feature (?) request #27305

Closed
nmr50 opened this issue Dec 5, 2020 · 5 comments
Closed

YOUTUBE new feature (?) request #27305

nmr50 opened this issue Dec 5, 2020 · 5 comments

Comments

@nmr50
Copy link

nmr50 commented Dec 5, 2020

  • [x ] I'm reporting a site feature request
  • [ x] I've verified that I'm running youtube-dl version 2020.12.05
  • [ x] I've searched the bugtracker for similar site feature requests including closed ones

Description

I've tried to get video from youtube, and met very strange denial error:
This video contains content from CTB Film Company, who has blocked it from display on this website or application. Watch on YouTube.
The debug:
R:>youtube-dl.exe -v -F https://youtu.be/uTfz6hq3NQo
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-F', 'https://youtu.be/uTfz6hq3NQo']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2020.12.05
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1
[debug] Proxy map: {}
[youtube] uTfz6hq3NQo: Downloading webpage
[youtube] uTfz6hq3NQo: Downloading embed webpage
[youtube] uTfz6hq3NQo: Refetching age-gated info webpage
ERROR: This video contains content from CTB Film Company, who has blocked it from display on this website or application. Watch on YouTube
Traceback (most recent call last): File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmplsu1wp4r\build\youtube_dl\YoutubeDL.py", line 803, in wrapper
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmplsu1wp4r\build\youtube_dl\YoutubeDL.py", line 824, in __extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmplsu1wp4r\build\youtube_dl\extractor\common.py", line 532, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmplsu1wp4r\build\youtube_dl\extractor\youtube.py", line 2059, in _real_extract
youtube_dl.utils.ExtractorError: This video contains content from CTB Film Company, who has blocked it from display on this website or application. Watch on YouTube

@dstftw
Copy link
Collaborator

dstftw commented Dec 5, 2020

You must authenticate.

@dstftw dstftw closed this as completed Dec 5, 2020
@nmr50
Copy link
Author

nmr50 commented Dec 5, 2020

Using username and password being written OR asked while running the ydl - does not help, giving the same 'blocked' message:
R:>youtube-dl -v -F -u MYLOGIN -p MYPASWORD https://youtu.be/uTfz6hq3NQo
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-F', '-u', 'PRIVATE', '-p', 'PRIVATE', 'https://youtu.be/uTfz6hq3NQo']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2020.12.05
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1
[debug] Proxy map: {}
[youtube] Downloading login page
[youtube] Looking up account info
WARNING: Unable to look up account info: HTTP Error 400: Bad Request
[youtube] uTfz6hq3NQo: Downloading webpage
[youtube] uTfz6hq3NQo: Downloading embed webpage
[youtube] uTfz6hq3NQo: Refetching age-gated info webpage
ERROR: This video contains content from CTB Film Company, who has blocked it from display on this website or application. Watch on YouTube
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmplsu1wp4r\build\youtube_dl\YoutubeDL.py", line 803, in wrapper
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmplsu1wp4r\build\youtube_dl\YoutubeDL.py", line 824, in __extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmplsu1wp4r\build\youtube_dl\extractor\common.py", line 532, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmplsu1wp4r\build\youtube_dl\extractor\youtube.py", line 2059, in _real_extract
youtube_dl.utils.ExtractorError: This video contains content from CTB Film Company, who has blocked it from display on this website or application. Watch on YouTube

Any ideas ?
...
I've checked the password twice..

@dstftw
Copy link
Collaborator

dstftw commented Dec 5, 2020

Use authenticated cookies.

@nmr50
Copy link
Author

nmr50 commented Dec 5, 2020

Ok, I've extracted all (I suppose) youtube cookies into ydl.coo file, running ydl as:
youtube-dl -F --cookies ydl.coo -u USERNAME -p PASSWORD https://youtu.be/uTfz6hq3NQo
-- getting the same error "Watch on Youtube".
What I noticed after running ydl - it removes some lines in ydl.coo (cookies file), but it does not help anyway - I see "HTTP Error 400: Bad Request".
Should I paste new debug info here ?
btw, should I use USERNAME or USERNAME@google.com in -u key - I checked both - No matter, USERNAME or USERNAME@google.com I use - I get HTTP Error 404: Bad Request.

Any ideas ?:)

@Cathgao
Copy link

Cathgao commented Dec 20, 2020

i guess this will never get fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants