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 said: "Watch this video on YouTube." for RTMP videos with content warning #6129

Closed
ivan opened this issue Jun 29, 2015 · 4 comments
Closed

Comments

@ivan
Copy link
Contributor

@ivan ivan commented Jun 29, 2015

youtube-dl https://www.youtube.com/user/KoreanFilm/videos results in a whole lot of this:

[youtube] _by9vE3trI8: Downloading webpage
[youtube] _by9vE3trI8: Downloading embed webpage
[youtube] _by9vE3trI8: Refetching age-gated info webpage
ERROR: _by9vE3trI8: YouTube said: <a href="http://www.youtube.com/watch?v=_by9vE3trI8&feature=player_embedded" target="_blank">Watch this video on YouTube.</a><br/>Playback on other websites has been disabled by the video owner.
[download] Downloading video 13 of 109
[youtube] FLh9Lb3G8JU: Downloading webpage
[youtube] FLh9Lb3G8JU: Downloading embed webpage
[youtube] FLh9Lb3G8JU: Refetching age-gated info webpage
ERROR: FLh9Lb3G8JU: YouTube said: <a href="http://www.youtube.com/watch?v=FLh9Lb3G8JU&feature=player_embedded" target="_blank">Watch this video on YouTube.</a><br/>Playback on other websites has been disabled by the video owner.
[...]
[download] Downloading video 15 of 109
[youtube] 8u9syVJc1qA: Downloading webpage
[youtube] 8u9syVJc1qA: Downloading embed webpage
[youtube] 8u9syVJc1qA: Refetching age-gated info webpage
ERROR: 8u9syVJc1qA: YouTube said: <a href="http://www.youtube.com/watch?v=8u9syVJc1qA&feature=player_embedded" target="_blank">Watch this video on YouTube.</a><br/>Playback on other websites has been disabled by the video owner.
[download] Downloading video 16 of 109
[youtube] DnrgRbIL6bY: Downloading webpage
[youtube] DnrgRbIL6bY: Downloading embed webpage
[youtube] DnrgRbIL6bY: Refetching age-gated info webpage
ERROR: DnrgRbIL6bY: YouTube said: <a href="http://www.youtube.com/watch?v=DnrgRbIL6bY&feature=player_embedded" target="_blank">Watch this video on YouTube.</a><br/>Playback on other websites has been disabled by the video owner.
[download] Downloading video 17 of 109
[youtube] K4djhhewVJg: Downloading webpage
[youtube] K4djhhewVJg: Downloading embed webpage
[youtube] K4djhhewVJg: Refetching age-gated info webpage
ERROR: K4djhhewVJg: YouTube said: <a href="http://www.youtube.com/watch?v=K4djhhewVJg&feature=player_embedded" target="_blank">Watch this video on YouTube.</a><br/>Playback on other websites has been disabled by the video owner.
[download] Downloading video 18 of 109
[youtube] ly1GqgJGWpc: Downloading webpage
[youtube] ly1GqgJGWpc: Downloading embed webpage
[youtube] ly1GqgJGWpc: Refetching age-gated info webpage
ERROR: ly1GqgJGWpc: YouTube said: <a href="http://www.youtube.com/watch?v=ly1GqgJGWpc&feature=player_embedded" target="_blank">Watch this video on YouTube.</a><br/>Playback on other websites has been disabled by the video owner.
[download] Downloading video 19 of 109
[youtube] jLvJBBHSRaw: Downloading webpage
[youtube] jLvJBBHSRaw: Downloading embed webpage
[youtube] jLvJBBHSRaw: Refetching age-gated info webpage
ERROR: jLvJBBHSRaw: YouTube said: <a href="http://www.youtube.com/watch?v=jLvJBBHSRaw&feature=player_embedded" target="_blank">Watch this video on YouTube.</a><br/>Playback on other websites has been disabled by the video owner.
@ivan
Copy link
Contributor Author

@ivan ivan commented Jun 29, 2015

It looks like these are all RTMP videos

@ivan ivan changed the title YouTube said: "Watch this video on YouTube." for videos with content warning YouTube said: "Watch this video on YouTube." for RTMP videos with content warning Jun 29, 2015
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 30, 2015

Works for me:

$ youtube-dl -v "https://www.youtube.com/user/KoreanFilm/videos"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/user/KoreanFilm/videos']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.06.25
[debug] Git HEAD: 0b16efd
[debug] Python version 3.4.3 - Linux-4.0.6-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 2.7.1, ffprobe 2.7.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:user] KoreanFilm: Downloading channel page
[youtube:playlist] UUvH6u_Qzn5RQdz9W198umDw: Downloading webpage
[download] Downloading playlist: Uploads from KoreanFilm
[youtube:playlist] UUvH6u_Qzn5RQdz9W198umDw: Downloading page #1
[youtube:playlist] playlist Uploads from KoreanFilm: Downloading 109 videos
[download] Downloading video 1 of 109
[youtube] 13YR-a8DReQ: Downloading webpage
[youtube] 13YR-a8DReQ: Extracting video information
[youtube] 13YR-a8DReQ: Downloading DASH manifest
[debug] Invoking downloader on 'https://r2---sn-u5oxu-un5e.googlevideo.com/videoplayback?id=d77611f9af0345e4&itag=134&source=youtube&requiressl=yes&mm=31&mn=sn-u5oxu-un5e&mv=m&ms=au&pl=19&ratebypass=yes&mime=video/mp4&gir=yes&clen=245429744&lmt=1435591321802251&dur=6299.992&signature=35DCA22EE06F10B084402E6789431D2FB358E8DC.41B8C939458147E868546B978B22AD99F7BD9A91&fexp=901816,916631,936100,9405185,9406852,9407141,9407664,9407930,9408012,9408142,9408420,9408710,9409095,9412527,9413503,9415347,9416126,9416275,9416729,9416906,952640&mt=1435644994&sver=3&key=dg_yt0&upn=huL21xj53QE&ip=140.112.247.145&ipbits=0&expire=1435666626&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,mv,ms,pl,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: 육체의약속 Promises (1975)-13YR-a8DReQ.f134.mp4
[download]   5.1% of 234.06MiB at  8.44MiB/s ETA 00:26^C
ERROR: Interrupted by user

Could you post the full verbose log with -v option?

@ivan
Copy link
Contributor Author

@ivan ivan commented Jun 30, 2015

Yeah, the first video in that channel works fine, just the ones with the IDs in my log above are broken.

# PYTHONPATH=. python3 -m youtube_dl --verbose _by9vE3trI8
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '_by9vE3trI8']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.06.25
[debug] Git HEAD: f0714c9
[debug] Python version 3.4.0 - Linux-3.13.0-55-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: rtmpdump 2.4
[debug] Proxy map: {}
[youtube] _by9vE3trI8: Downloading webpage
[youtube] _by9vE3trI8: Downloading embed webpage
[youtube] _by9vE3trI8: Refetching age-gated info webpage
ERROR: _by9vE3trI8: YouTube said: <a href="http://www.youtube.com/watch?v=_by9vE3trI8&feature=player_embedded" target="_blank">Watch this video on YouTube.</a><br/>Playback on other websites has been disabled by the video owner.
Traceback (most recent call last):
  File "youtube-dl/youtube_dl/YoutubeDL.py", line 654, in extract_info
    ie_result = ie.extract(url)
  File "youtube-dl/youtube_dl/extractor/common.py", line 273, in extract
    return self._real_extract(url)
  File "youtube-dl/youtube_dl/extractor/youtube.py", line 951, in _real_extract
    expected=True, video_id=video_id)
youtube_dl.utils.ExtractorError: _by9vE3trI8: YouTube said: <a href="http://www.youtube.com/watch?v=_by9vE3trI8&feature=player_embedded" target="_blank">Watch this video on YouTube.</a><br/>Playback on other websites has been disabled by the video owner.
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 30, 2015

This video is both age-restricted and blocking embedding. There's no way to bypass age checking for such videos. You need to specify --username and --password to download them.

@yan12125 yan12125 closed this Jun 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.