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

I can not download from YT in google cloud engine without external IP #21128

Closed
ignacionf opened this issue May 17, 2019 · 12 comments
Closed

I can not download from YT in google cloud engine without external IP #21128

ignacionf opened this issue May 17, 2019 · 12 comments

Comments

@ignacionf
Copy link

@ignacionf ignacionf commented May 17, 2019

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2019.05.11
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

$ youtube-dl -v https://www.youtube.com/channel/UCoMdktPbSTixAyNGwb-UYkQ/live
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/channel/UCoMdktPbSTixAyNGwb-UYkQ/live']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.05.11
[debug] Python version 3.7.1 (CPython) - Linux-4.15.0-1032-gcp-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 4.1.3-static, ffprobe 4.1.3-static
[debug] Proxy map: {}
[youtube:live] UCoMdktPbSTixAyNGwb-UYkQ: Downloading webpage
[youtube] lrX6ktLg8WQ: Downloading webpage
[youtube] lrX6ktLg8WQ: Downloading video info webpage
[youtube] lrX6ktLg8WQ: Downloading m3u8 information
[youtube] lrX6ktLg8WQ: Downloading MPD manifest
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://manifest.googlevideo.com/api/manifest/hls_playlist/id/lrX6ktLg8WQ.2/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r3---sn-a5mlrn7y.googlevideo.com/playlist_type/DVR/ei/SsXeXLr9HJOIir4Pqqm9-AI/gcr/zz/mm/32/mn/sn-a5mlrn7y/ms/lv/mv/D/pl/0/dover/11/keepalive/yes/mt/1558102798/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558124970/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/84C3806B8F586CE2CE6BF0468EED4B3EF0193B18.671D174247C83D954A70A9D47E1E2598116FAC12/key/dg_yt0/playlist/index.m3u8'
[download] Destination: Watch Sky News live-lrX6ktLg8WQ.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
' -i https://manifest.googlevideo.com/api/manifest/hls_playlist/id/lrX6ktLg8WQ.2/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r3---sn-a5mlrn7y.googlevideo.com/playlist_type/DVR/ei/SsXeXLr9HJOIir4Pqqm9-AI/gcr/zz/mm/32/mn/sn-a5mlrn7y/ms/lv/mv/D/pl/0/dover/11/keepalive/yes/mt/1558102798/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558124970/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/84C3806B8F586CE2CE6BF0468EED4B3EF0193B18.671D174247C83D954A70A9D47E1E2598116FAC12/key/dg_yt0/playlist/index.m3u8 -c copy -f mp4 -bsf:a aac_adtstoasc 'file:Watch Sky News live-lrX6ktLg8WQ.mp4.part'
ffmpeg version 4.1.3-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
[tcp @ 0x5684800] Starting connection attempt to 173.194.193.190 port 443
[tcp @ 0x5684800] Successfully connected to 173.194.193.190 port 443
[hls,applehttp @ 0x5681580] HLS request for url 'https://r3---sn-a5mlrn7y.googlevideo.com/videoplayback/id/lrX6ktLg8WQ.2/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r3---sn-a5mlrn7y.googlevideo.com/playlist_type/DVR/ei/SsXeXLr9HJOIir4Pqqm9-AI/gcr/zz/mm/32/mn/sn-a5mlrn7y/ms/lv/mv/D/pl/0/keepalive/yes/mt/1558102798/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558124970/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/84C3806B8F586CE2CE6BF0468EED4B3EF0193B18.671D174247C83D954A70A9D47E1E2598116FAC12/key/dg_yt0/playlist/index.m3u8/sq/671500/goap/clen%3D81275%3Blmt%3D1558103335171577/govp/clen%3D2858149%3Blmt%3D1558103335171577/dur/5.000/file/seg.ts', offset 0, playlist 0
[hls,applehttp @ 0x5681580] Opening 'https://r3---sn-a5mlrn7y.googlevideo.com/videoplayback/id/lrX6ktLg8WQ.2/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r3---sn-a5mlrn7y.googlevideo.com/playlist_type/DVR/ei/SsXeXLr9HJOIir4Pqqm9-AI/gcr/zz/mm/32/mn/sn-a5mlrn7y/ms/lv/mv/D/pl/0/keepalive/yes/mt/1558102798/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558124970/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/84C3806B8F586CE2CE6BF0468EED4B3EF0193B18.671D174247C83D954A70A9D47E1E2598116FAC12/key/dg_yt0/playlist/index.m3u8/sq/671500/goap/clen%3D81275%3Blmt%3D1558103335171577/govp/clen%3D2858149%3Blmt%3D1558103335171577/dur/5.000/file/seg.ts' for reading
[tcp @ 0x5c68880] Starting connection attempt to 173.194.166.169 port 443
[tcp @ 0x5c68880] Successfully connected to 173.194.166.169 port 443
[https @ 0x5c661c0] HTTP error 403 Forbidden
[hls,applehttp @ 0x5681580] Failed to open segment 671500 of playlist 0
[hls,applehttp @ 0x5681580] HLS request for url 'https://r3---sn-a5mlrn7y.googlevideo.com/videoplayback/id/lrX6ktLg8WQ.2/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r3---sn-a5mlrn7y.googlevideo.com/playlist_type/DVR/ei/SsXeXLr9HJOIir4Pqqm9-AI/gcr/zz/mm/32/mn/sn-a5mlrn7y/ms/lv/mv/D/pl/0/keepalive/yes/mt/1558102798/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558124970/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/84C3806B8F586CE2CE6BF0468EED4B3EF0193B18.671D174247C83D954A70A9D47E1E2598116FAC12/key/dg_yt0/playlist/index.m3u8/sq/671501/goap/clen%3D81075%3Blmt%3D1558103340542931/govp/clen%3D1892586%3Blmt%3D1558103340542931/dur/5.000/file/seg.ts', offset 0, playlist 0
[hls,applehttp @ 0x5681580] Opening 'https://r3---sn-a5mlrn7y.googlevideo.com/videoplayback/id/lrX6ktLg8WQ.2/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r3---sn-a5mlrn7y.googlevideo.com/playlist_type/DVR/ei/SsXeXLr9HJOIir4Pqqm9-AI/gcr/zz/mm/32/mn/sn-a5mlrn7y/ms/lv/mv/D/pl/0/keepalive/yes/mt/1558102798/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558124970/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/84C3806B8F586CE2CE6BF0468EED4B3EF0193B18.671D174247C83D954A70A9D47E1E2598116FAC12/key/dg_yt0/playlist/index.m3u8/sq/671501/goap/clen%3D81075%3Blmt%3D1558103340542931/govp/clen%3D1892586%3Blmt%3D1558103340542931/dur/5.000/file/seg.ts' for reading
[tcp @ 0x5687200] Starting connection attempt to 173.194.166.169 port 443
[tcp @ 0x5687200] Successfully connected to 173.194.166.169 port 443
[https @ 0x5686cc0] HTTP error 403 Forbidden
[hls,applehttp @ 0x5681580] Failed to open segment 671501 of playlist 0
[hls,applehttp @ 0x5681580] HLS request for url 'https://r3---sn-a5mlrn7y.googlevideo.com/videoplayback/id/lrX6ktLg8WQ.2/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r3---sn-a5mlrn7y.googlevideo.com/playlist_type/DVR/ei/SsXeXLr9HJOIir4Pqqm9-AI/gcr/zz/mm/32/mn/sn-a5mlrn7y/ms/lv/mv/D/pl/0/keepalive/yes/mt/1558102798/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558124970/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/84C3806B8F586CE2CE6BF0468EED4B3EF0193B18.671D174247C83D954A70A9D47E1E2598116FAC12/key/dg_yt0/playlist/index.m3u8/sq/671502/goap/clen%3D81233%3Blmt%3D1558103345047846/govp/clen%3D3065674%3Blmt%3D1558103345047846/dur/5.000/file/seg.ts', offset 0, playlist 0
[hls,applehttp @ 0x5681580] Opening 'https://r3---sn-a5mlrn7y.googlevideo.com/videoplayback/id/lrX6ktLg8WQ.2/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r3---sn-a5mlrn7y.googlevideo.com/playlist_type/DVR/ei/SsXeXLr9HJOIir4Pqqm9-AI/gcr/zz/mm/32/mn/sn-a5mlrn7y/ms/lv/mv/D/pl/0/keepalive/yes/mt/1558102798/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558124970/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/84C3806B8F586CE2CE6BF0468EED4B3EF0193B18.671D174247C83D954A70A9D47E1E2598116FAC12/key/dg_yt0/playlist/index.m3u8/sq/671502/goap/clen%3D81233%3Blmt%3D1558103345047846/govp/clen%3D3065674%3Blmt%3D1558103345047846/dur/5.000/file/seg.ts' for reading
[tcp @ 0x5687140] Starting connection attempt to 173.194.166.169 port 443
[tcp @ 0x5687140] Successfully connected to 173.194.166.169 port 443
[https @ 0x5c68540] HTTP error 403 Forbidden
[hls,applehttp @ 0x5681580] Failed to open segment 671502 of playlist 0
^C[hls,applehttp @ 0x5681580] Error when loading first segment 'https://r3---sn-a5mlrn7y.googlevideo.com/videoplayback/id/lrX6ktLg8WQ.2/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r3---sn-a5mlrn7y.googlevideo.com/playlist_type/DVR/ei/SsXeXLr9HJOIir4Pqqm9-AI/gcr/zz/mm/32/mn/sn-a5mlrn7y/ms/lv/mv/D/pl/0/keepalive/yes/mt/1558102798/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558124970/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/84C3806B8F586CE2CE6BF0468EED4B3EF0193B18.671D174247C83D954A70A9D47E1E2598116FAC12/key/dg_yt0/playlist/index.m3u8/sq/668623/goap/clen%3D81084%3Blmt%3D1558088950764831/govp/clen%3D680544%3Blmt%3D1558088950764831/dur/5.000/file/seg.ts'
[AVIOContext @ 0x568c3c0] Statistics: 2430315 bytes read, 0 seeks
https://manifest.googlevideo.com/api/manifest/hls_playlist/id/lrX6ktLg8WQ.2/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r3---sn-a5mlrn7y.googlevideo.com/playlist_type/DVR/ei/SsXeXLr9HJOIir4Pqqm9-AI/gcr/zz/mm/32/mn/sn-a5mlrn7y/ms/lv/mv/D/pl/0/dover/11/keepalive/yes/mt/1558102798/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558124970/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/84C3806B8F586CE2CE6BF0468EED4B3EF0193B18.671D174247C83D954A70A9D47E1E2598116FAC12/key/dg_yt0/playlist/index.m3u8: Immediate exit requested
Exiting normally, received signal 2.
[ffmpeg] Interrupted by user
ERROR: unable to download video data: [Errno 2] No such file or directory: 'Watch Sky News live-lrX6ktLg8WQ.mp4.part'
Traceback (most recent call last):
  File "/home/infoxel/streamer/venv/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 1915, in process_info
    success = dl(filename, info_dict)
  File "/home/infoxel/streamer/venv/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 1854, in dl
    return fd.download(name, info)
  File "/home/infoxel/streamer/venv/lib/python3.7/site-packages/youtube_dl/downloader/common.py", line 364, in download
    return self.real_download(filename, info_dict)
  File "/home/infoxel/streamer/venv/lib/python3.7/site-packages/youtube_dl/downloader/external.py", line 52, in real_download
    fsize = os.path.getsize(encodeFilename(tmpfilename))
  File "/usr/lib/python3.7/genericpath.py", line 50, in getsize
    return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: 'Watch Sky News live-lrX6ktLg8WQ.mp4.part'

Description

I was using the command to download some videos or live channels always in GCP VM with an assigned external IP. But at some point we went to use GCP VM without having assigned external IP, but have a configuration of Cloud NAT, which allows us to have several VMs under the same IP configuration. It is there that this command stopped working.

From what I tried, in the playlist URL it adds a "... / ip / / ..." [1] but in the cases that run inside a VM with Cloud NAT it adds a ". ../ip/ / .. "[2] and in those cases we get 403.

I tried using the configuration of source_address to force to use the NAT Cloud IP but I only got errors of:

Force IP address

youtube-dl -v --source-address 104.154.25.40  https://www.youtube.com/channel/UCoMdktPbSTixAyNGwb-UYkQ/live
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--source-address', '104.154.25.40', 'https://www.youtube.com/channel/UCoMdktPbSTixAyNGwb-UYkQ/live']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.05.11
[debug] Python version 3.7.1 (CPython) - Linux-4.15.0-1032-gcp-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 4.1.3-static, ffprobe 4.1.3-static
[debug] Proxy map: {}
[youtube:live] UCoMdktPbSTixAyNGwb-UYkQ: Downloading webpage
WARNING: Unable to download webpage: <urlopen error [Errno 99] Cannot assign requested address>
[youtube:channel] UCoMdktPbSTixAyNGwb-UYkQ: Downloading channel page
WARNING: Unable to download webpage: <urlopen error [Errno 99] Cannot assign requested address>
[youtube:channel] UCoMdktPbSTixAyNGwb-UYkQ: Downloading page #1
ERROR: Unable to download webpage: <urlopen error [Errno 99] Cannot assign requested address> (caused by URLError(OSError(99, 'Cannot assign requested address')))
  File "/home/infoxel/streamer/venv/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 626, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/home/infoxel/streamer/venv/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2227, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.7/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/usr/lib/python3.7/urllib/request.py", line 543, in _open
    '_open', req)
  File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/home/infoxel/streamer/venv/lib/python3.7/site-packages/youtube_dl/utils.py", line 1140, in https_open
    req, **kwargs)
  File "/usr/lib/python3.7/urllib/request.py", line 1319, in do_open
    raise URLError(err)

Force use ipv4

youtube-dl -v -4  https://www.youtube.com/channel/UCoMdktPbSTixAyNGwb-UYkQ/live
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-4', 'https://www.youtube.com/channel/UCoMdktPbSTixAyNGwb-UYkQ/live']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.05.11
[debug] Python version 3.7.1 (CPython) - Linux-4.15.0-1032-gcp-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 4.1.3-static, ffprobe 4.1.3-static
[debug] Proxy map: {}
[youtube:live] UCoMdktPbSTixAyNGwb-UYkQ: Downloading webpage
[youtube] lrX6ktLg8WQ: Downloading webpage
[youtube] lrX6ktLg8WQ: Downloading video info webpage
[youtube] lrX6ktLg8WQ: Downloading m3u8 information
[youtube] lrX6ktLg8WQ: Downloading MPD manifest
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://manifest.googlevideo.com/api/manifest/hls_playlist/id/lrX6ktLg8WQ.2/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r3---sn-a5ms7n7l.googlevideo.com/playlist_type/DVR/ei/r9HeXL64FJjfNsrNlOAF/gcr/zz/mm/32/mn/sn-a5ms7n7l/ms/lv/mv/D/pl/0/dover/11/keepalive/yes/mt/1558105884/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558128143/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/87C1B243E7184B929D4337A707D43B0124D3163C.0D49E0116399639A9A0504BCC059FF9837474276/key/dg_yt0/playlist/index.m3u8'
[download] Destination: Watch Sky News live-lrX6ktLg8WQ.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
' -i https://manifest.googlevideo.com/api/manifest/hls_playlist/id/lrX6ktLg8WQ.2/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r3---sn-a5ms7n7l.googlevideo.com/playlist_type/DVR/ei/r9HeXL64FJjfNsrNlOAF/gcr/zz/mm/32/mn/sn-a5ms7n7l/ms/lv/mv/D/pl/0/dover/11/keepalive/yes/mt/1558105884/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558128143/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/87C1B243E7184B929D4337A707D43B0124D3163C.0D49E0116399639A9A0504BCC059FF9837474276/key/dg_yt0/playlist/index.m3u8 -c copy -f mp4 -bsf:a aac_adtstoasc 'file:Watch Sky News live-lrX6ktLg8WQ.mp4.part'
ffmpeg version 4.1.3-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
[tcp @ 0x6a41800] Starting connection attempt to 173.194.193.190 port 443
[tcp @ 0x6a41800] Successfully connected to 173.194.193.190 port 443
[hls,applehttp @ 0x6a3e580] HLS request for url 'https://r3---sn-a5ms7n7l.googlevideo.com/videoplayback/id/lrX6ktLg8WQ.2/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r3---sn-a5ms7n7l.googlevideo.com/playlist_type/DVR/ei/r9HeXL64FJjfNsrNlOAF/gcr/zz/mm/32/mn/sn-a5ms7n7l/ms/lv/mv/D/pl/0/keepalive/yes/mt/1558105884/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558128143/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/87C1B243E7184B929D4337A707D43B0124D3163C.0D49E0116399639A9A0504BCC059FF9837474276/key/dg_yt0/playlist/index.m3u8/sq/672134/goap/clen%3D81421%3Blmt%3D1558106505225469/govp/clen%3D1139536%3Blmt%3D1558106505225469/dur/5.000/file/seg.ts', offset 0, playlist 0
[hls,applehttp @ 0x6a3e580] Opening 'https://r3---sn-a5ms7n7l.googlevideo.com/videoplayback/id/lrX6ktLg8WQ.2/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r3---sn-a5ms7n7l.googlevideo.com/playlist_type/DVR/ei/r9HeXL64FJjfNsrNlOAF/gcr/zz/mm/32/mn/sn-a5ms7n7l/ms/lv/mv/D/pl/0/keepalive/yes/mt/1558105884/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558128143/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/87C1B243E7184B929D4337A707D43B0124D3163C.0D49E0116399639A9A0504BCC059FF9837474276/key/dg_yt0/playlist/index.m3u8/sq/672134/goap/clen%3D81421%3Blmt%3D1558106505225469/govp/clen%3D1139536%3Blmt%3D1558106505225469/dur/5.000/file/seg.ts' for reading
[tcp @ 0x7025940] Starting connection attempt to 74.125.103.136 port 443
[tcp @ 0x7025940] Successfully connected to 74.125.103.136 port 443
[https @ 0x70231c0] HTTP error 403 Forbidden

[1] https://r2---sn-vgqsrnez.googlevideo.com/videoplayback/id/lEJ98EkDQA0.1/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-vgqsrnez.googlevideo.com/playlist_type/DVR/ei/8LfeXNAI6YiKvg_y6bzwBw/gcr/us/mm/32/mn/sn-vgqsrnez/ms/lv/mv/u/pl/20/keepalive/yes/beids/23806817/mt/1558101360/disable_polymer/true/ip/35.224.213.211/ipbits/0/expire/1558121552/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/50D45F17DDFACF5B8ABE54141E996AC9328E49CA.5DFBE071C541DD9BC7ACD25C49C6FB5698D977B7/key/dg_yt0/playlist/index.m3u8/sq/126071/goap/clen%3D44185%3Blmt%3D1557989427752726/govp/clen%3D630525%3Blmt%3D1557989427752724/dur/2.000/file/seg.ts
[2] https://r3---sn-a5ms7n7l.googlevideo.com/videoplayback/id/lrX6ktLg8WQ.2/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r3---sn-a5ms7n7l.googlevideo.com/playlist_type/DVR/ei/mMPeXLqqBp6Gir4PwseMiAs/gcr/ZZ/mm/32/mn/sn-a5ms7n7l/ms/lv/mv/D/pl/0/keepalive/yes/mt/1558102082/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558124536/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/4DE1D945670A59388D0BBB36D01C6C62BBBA4E70.0FDB0A54C73B4CBCD97D3E9DC4A0406014D71E4C/key/dg_yt0/playlist/index.m3u8/sq/671416/goap/clen%3D81069%3Blmt%3D1558102915540573/govp/clen%3D1455104%3Blmt%3D1558102915540573/dur/5.000/file/seg.ts

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 17, 2019

PS C:\Dev\youtube-dl\master> py -2.7 .\youtube_dl\__main__.py   https://www.youtube.com/channel/UCoMdktPbSTixAyNGwb-UYkQ/live
[youtube:live] UCoMdktPbSTixAyNGwb-UYkQ: Downloading webpage
[youtube] lrX6ktLg8WQ: Downloading webpage
[youtube] lrX6ktLg8WQ: Downloading video info webpage
[youtube] lrX6ktLg8WQ: Downloading m3u8 information
[youtube] lrX6ktLg8WQ: Downloading MPD manifest
[download] Destination: Watch Sky News live-lrX6ktLg8WQ.mp4
ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 8.2.1 (GCC) 20181017
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
[hls,applehttp @ 000000f5bc09bbc0] Opening '...' for reading
[hls,applehttp @ 000000f5bc09bbc0] Opening '...' for reading
Input #0, hls,applehttp, from '...':
  Duration: N/A, start: 21764.737556, bitrate: N/A
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to 'file:Watch Sky News live-lrX6ktLg8WQ.mp4.part':
  Metadata:
    encoder         : Lavf58.20.100
    Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 30 fps, 30 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
[https @ 000000f5bcf34040] Opening '...' for reading
[https @ 000000f5bd196f00] Opening '...' for reading
[https @ 000000f5bcf34040] Opening '...' for reading
frame=  595 fps= 50 q=-1.0 Lsize=    4481kB time=00:00:19.82 bitrate=1851.6kbits/s speed=1.67x
video:4158kB audio:310kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.274871%
Exiting normally, received signal 2.
[ffmpeg] Interrupted by user
[ffmpeg] Downloaded 4588180 bytes
[download] 100% of 4.38MiB in 00:20
@dstftw dstftw closed this May 17, 2019
@ignacionf
Copy link
Author

@ignacionf ignacionf commented May 17, 2019

@ignacionf
Copy link
Author

@ignacionf ignacionf commented May 17, 2019

If you want test in a VM in GCP w/CloudNat, i can grant access to it.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 17, 2019

Can you watch it in browser from this machine and this network interface in the first place?

@ignacionf
Copy link
Author

@ignacionf ignacionf commented May 17, 2019

I test it in two VM: one with Cloud NAT [1] and one with external IP [2]. In [2] work fine, in [1] not. Both VM/Network is in the same region.

I believe that the problem comes in how it detects the IP in a vm with assigned external ip and in how it does it if it does not have an external ip assigned and it goes out by NAT.

Evidences

[1] $ curl ifconfig.co/json
{"ip":"104.154.215.40","ip_decimal":1754978088,"country":"United States","country_eu":false,"country_iso":"US","hostname":"40.215.154.104.bc.googleusercontent.com","latitude":38.6583,"longitude":-77.2481}

[2] $ curl ifconfig.co/json
{"ip":"35.224.3.211","ip_decimal":601883603,"country":"United States","country_eu":false,"country_iso":"US","hostname":"211.3.224.35.bc.googleusercontent.com","latitude":38.6583,"longitude":-77.2481}

In [1] gets 403:

$ youtube-dl -v https://www.youtube.com/channel/UCLA_DiR1FfKNvjuUpBHmylQ/live
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/channel/UCLA_DiR1FfKNvjuUpBHmylQ/live']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.05.11
[debug] Python version 3.7.1 (CPython) - Linux-4.15.0-1032-gcp-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 4.1.3-static, ffprobe 4.1.3-static
[debug] Proxy map: {}
[youtube:live] UCLA_DiR1FfKNvjuUpBHmylQ: Downloading webpage
[youtube] uj3FqkflC7g: Downloading webpage
[youtube] uj3FqkflC7g: Downloading video info webpage
[youtube] uj3FqkflC7g: Downloading m3u8 information
[youtube] uj3FqkflC7g: Downloading MPD manifest
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://manifest.googlevideo.com/api/manifest/hls_playlist/id/uj3FqkflC7g.41/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/hls_chunk_host/r6---sn-a5mekn7k.googlevideo.com/playlist_type/DVR/ei/vOHeXIb0N4mxiwTO-4z4CA/gcr/zz/mm/32/mn/sn-a5mekn7k/ms/lv/mv/D/pl/0/dover/11/keepalive/yes/beids/23806812/mt/1558110176/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558132253/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/0A0B7F972DAD02943FD36C90A436F764CEEEE254.2212EED15E06A105B8EE44DBA1D6CA8F673561FF/key/dg_yt0/playlist/index.m3u8'
[download] Destination: NASA Live - Earth Views from the Space Station-uj3FqkflC7g.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
' -i https://manifest.googlevideo.com/api/manifest/hls_playlist/id/uj3FqkflC7g.41/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/hls_chunk_host/r6---sn-a5mekn7k.googlevideo.com/playlist_type/DVR/ei/vOHeXIb0N4mxiwTO-4z4CA/gcr/zz/mm/32/mn/sn-a5mekn7k/ms/lv/mv/D/pl/0/dover/11/keepalive/yes/beids/23806812/mt/1558110176/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558132253/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/0A0B7F972DAD02943FD36C90A436F764CEEEE254.2212EED15E06A105B8EE44DBA1D6CA8F673561FF/key/dg_yt0/playlist/index.m3u8 -c copy -f mp4 -bsf:a aac_adtstoasc 'file:NASA Live - Earth Views from the Space Station-uj3FqkflC7g.mp4.part'
ffmpeg version 4.1.3-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
[tcp @ 0x605cd00] Starting connection attempt to 173.194.193.93 port 443
[tcp @ 0x605cd00] Successfully connected to 173.194.193.93 port 443
[hls,applehttp @ 0x605c580] HLS request for url 'https://r6---sn-a5mekn7k.googlevideo.com/videoplayback/id/uj3FqkflC7g.41/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/hls_chunk_host/r6---sn-a5mekn7k.googlevideo.com/playlist_type/DVR/ei/vOHeXIb0N4mxiwTO-4z4CA/gcr/zz/mm/32/mn/sn-a5mekn7k/ms/lv/mv/D/pl/0/keepalive/yes/beids/23806812/mt/1558110176/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558132253/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/0A0B7F972DAD02943FD36C90A436F764CEEEE254.2212EED15E06A105B8EE44DBA1D6CA8F673561FF/key/dg_yt0/playlist/index.m3u8/sq/14918/goap/clen%3D80940%3Blmt%3D1558110661374906/govp/clen%3D164323%3Blmt%3D1558110661374906/dur/4.988/file/seg.ts', offset 0, playlist 0
[hls,applehttp @ 0x605c580] Opening 'https://r6---sn-a5mekn7k.googlevideo.com/videoplayback/id/uj3FqkflC7g.41/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/hls_chunk_host/r6---sn-a5mekn7k.googlevideo.com/playlist_type/DVR/ei/vOHeXIb0N4mxiwTO-4z4CA/gcr/zz/mm/32/mn/sn-a5mekn7k/ms/lv/mv/D/pl/0/keepalive/yes/beids/23806812/mt/1558110176/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558132253/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/0A0B7F972DAD02943FD36C90A436F764CEEEE254.2212EED15E06A105B8EE44DBA1D6CA8F673561FF/key/dg_yt0/playlist/index.m3u8/sq/14918/goap/clen%3D80940%3Blmt%3D1558110661374906/govp/clen%3D164323%3Blmt%3D1558110661374906/dur/4.988/file/seg.ts' for reading
[tcp @ 0x664f000] Starting connection attempt to 74.125.103.92 port 443
[tcp @ 0x664f000] Successfully connected to 74.125.103.92 port 443
[https @ 0x664c880] HTTP error 403 Forbidden
[hls,applehttp @ 0x605c580] Failed to open segment 14918 of playlist 0
[hls,applehttp @ 0x605c580] HLS request for url 'https://r6---sn-a5mekn7k.googlevideo.com/videoplayback/id/uj3FqkflC7g.41/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/hls_chunk_host/r6---sn-a5mekn7k.googlevideo.com/playlist_type/DVR/ei/vOHeXIb0N4mxiwTO-4z4CA/gcr/zz/mm/32/mn/sn-a5mekn7k/ms/lv/mv/D/pl/0/keepalive/yes/beids/23806812/mt/1558110176/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558132253/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/0A0B7F972DAD02943FD36C90A436F764CEEEE254.2212EED15E06A105B8EE44DBA1D6CA8F673561FF/key/dg_yt0/playlist/index.m3u8/sq/14919/goap/clen%3D81278%3Blmt%3D1558110666093574/govp/clen%3D171570%3Blmt%3D1558110666093574/dur/5.005/file/seg.ts', offset 0, playlist 0
[hls,applehttp @ 0x605c580] Opening 'https://r6---sn-a5mekn7k.googlevideo.com/videoplayback/id/uj3FqkflC7g.41/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/hls_chunk_host/r6---sn-a5mekn7k.googlevideo.com/playlist_type/DVR/ei/vOHeXIb0N4mxiwTO-4z4CA/gcr/zz/mm/32/mn/sn-a5mekn7k/ms/lv/mv/D/pl/0/keepalive/yes/beids/23806812/mt/1558110176/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558132253/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/0A0B7F972DAD02943FD36C90A436F764CEEEE254.2212EED15E06A105B8EE44DBA1D6CA8F673561FF/key/dg_yt0/playlist/index.m3u8/sq/14919/goap/clen%3D81278%3Blmt%3D1558110666093574/govp/clen%3D171570%3Blmt%3D1558110666093574/dur/5.005/file/seg.ts' for reading
[tcp @ 0x664ee40] Starting connection attempt to 74.125.103.92 port 443
[tcp @ 0x664ee40] Successfully connected to 74.125.103.92 port 443
[https @ 0x6061d40] HTTP error 403 Forbidden
[hls,applehttp @ 0x605c580] Failed to open segment 14919 of playlist 0
[hls,applehttp @ 0x605c580] HLS request for url 'https://r6---sn-a5mekn7k.googlevideo.com/videoplayback/id/uj3FqkflC7g.41/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/hls_chunk_host/r6---sn-a5mekn7k.googlevideo.com/playlist_type/DVR/ei/vOHeXIb0N4mxiwTO-4z4CA/gcr/zz/mm/32/mn/sn-a5mekn7k/ms/lv/mv/D/pl/0/keepalive/yes/beids/23806812/mt/1558110176/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558132253/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/0A0B7F972DAD02943FD36C90A436F764CEEEE254.2212EED15E06A105B8EE44DBA1D6CA8F673561FF/key/dg_yt0/playlist/index.m3u8/sq/14920/goap/clen%3D80940%3Blmt%3D1558110671440220/govp/clen%3D183203%3Blmt%3D1558110671440220/dur/5.005/file/seg.ts', offset 0, playlist 0
[hls,applehttp @ 0x605c580] Opening 'https://r6---sn-a5mekn7k.googlevideo.com/videoplayback/id/uj3FqkflC7g.41/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/hls_chunk_host/r6---sn-a5mekn7k.googlevideo.com/playlist_type/DVR/ei/vOHeXIb0N4mxiwTO-4z4CA/gcr/zz/mm/32/mn/sn-a5mekn7k/ms/lv/mv/D/pl/0/keepalive/yes/beids/23806812/mt/1558110176/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558132253/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/0A0B7F972DAD02943FD36C90A436F764CEEEE254.2212EED15E06A105B8EE44DBA1D6CA8F673561FF/key/dg_yt0/playlist/index.m3u8/sq/14920/goap/clen%3D80940%3Blmt%3D1558110671440220/govp/clen%3D183203%3Blmt%3D1558110671440220/dur/5.005/file/seg.ts' for reading
[tcp @ 0x664ed40] Starting connection attempt to 74.125.103.92 port 443
[tcp @ 0x664ed40] Successfully connected to 74.125.103.92 port 443
[https @ 0x6061d40] HTTP error 403 Forbidden
[hls,applehttp @ 0x605c580] Failed to open segment 14920 of playlist 0
^C[hls,applehttp @ 0x605c580] Error when loading first segment 'https://r6---sn-a5mekn7k.googlevideo.com/videoplayback/id/uj3FqkflC7g.41/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/hls_chunk_host/r6---sn-a5mekn7k.googlevideo.com/playlist_type/DVR/ei/vOHeXIb0N4mxiwTO-4z4CA/gcr/zz/mm/32/mn/sn-a5mekn7k/ms/lv/mv/D/pl/0/keepalive/yes/beids/23806812/mt/1558110176/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558132253/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/0A0B7F972DAD02943FD36C90A436F764CEEEE254.2212EED15E06A105B8EE44DBA1D6CA8F673561FF/key/dg_yt0/playlist/index.m3u8/sq/12040/goap/clen%3D80940%3Blmt%3D1558096247182908/govp/clen%3D23624%3Blmt%3D1558096247182908/dur/4.989/file/seg.ts'
[AVIOContext @ 0x6067440] Statistics: 2476988 bytes read, 0 seeks
https://manifest.googlevideo.com/api/manifest/hls_playlist/id/uj3FqkflC7g.41/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/hls_chunk_host/r6---sn-a5mekn7k.googlevideo.com/playlist_type/DVR/ei/vOHeXIb0N4mxiwTO-4z4CA/gcr/zz/mm/32/mn/sn-a5mekn7k/ms/lv/mv/D/pl/0/dover/11/keepalive/yes/beids/23806812/mt/1558110176/disable_polymer/true/ip/fda3:e722:ac3:10:3:159f:a00:7/ipbits/0/expire/1558132253/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/0A0B7F972DAD02943FD36C90A436F764CEEEE254.2212EED15E06A105B8EE44DBA1D6CA8F673561FF/key/dg_yt0/playlist/index.m3u8: Immediate exit requested
Exiting normally, received signal 2.
[ffmpeg] Interrupted by user
ERROR: unable to download video data: [Errno 2] No such file or directory: 'NASA Live - Earth Views from the Space Station-uj3FqkflC7g.mp4.part'
Traceback (most recent call last):
  File "/home/infoxel/streamer/venv/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 1915, in process_info
    success = dl(filename, info_dict)
  File "/home/infoxel/streamer/venv/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 1854, in dl
    return fd.download(name, info)
  File "/home/infoxel/streamer/venv/lib/python3.7/site-packages/youtube_dl/downloader/common.py", line 364, in download
    return self.real_download(filename, info_dict)
  File "/home/infoxel/streamer/venv/lib/python3.7/site-packages/youtube_dl/downloader/external.py", line 52, in real_download
    fsize = os.path.getsize(encodeFilename(tmpfilename))
  File "/usr/lib/python3.7/genericpath.py", line 50, in getsize
    return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: 'NASA Live - Earth Views from the Space Station-uj3FqkflC7g.mp4.part'

In [2] all ok:

$ youtube-dl -v https://www.youtube.com/channel/UCLA_DiR1FfKNvjuUpBHmylQ/live
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/channel/UCLA_DiR1FfKNvjuUpBHmylQ/live']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.05.11
[debug] Python version 3.7.1 (CPython) - Linux-4.15.0-1029-gcp-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 4.1.3-static, ffprobe 4.1.3-static
[debug] Proxy map: {}
[youtube:live] UCLA_DiR1FfKNvjuUpBHmylQ: Downloading webpage
[youtube] uj3FqkflC7g: Downloading webpage
[youtube] uj3FqkflC7g: Downloading video info webpage
[youtube] uj3FqkflC7g: Downloading m3u8 information
[youtube] uj3FqkflC7g: Downloading MPD manifest
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://manifest.googlevideo.com/api/manifest/hls_playlist/id/uj3FqkflC7g.41/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/hls_chunk_host/r3---sn-vgqsrn7s.googlevideo.com/playlist_type/DVR/ei/POHeXIjvEM7pigTT5avgAw/gcr/us/mm/32/mn/sn-vgqsrn7s/ms/lv/mv/u/pl/20/dover/11/keepalive/yes/mt/1558110176/disable_polymer/true/ip/35.224.3.211/ipbits/0/expire/1558132124/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/8368CBB664F1ED48D537C8D90C4C5277E1639EEC.3CB6AE6751CECA8FBFFCA3072F57F88F34846B0D/key/dg_yt0/playlist/index.m3u8'
[download] Destination: NASA Live - Earth Views from the Space Station-uj3FqkflC7g.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
' -i https://manifest.googlevideo.com/api/manifest/hls_playlist/id/uj3FqkflC7g.41/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/hls_chunk_host/r3---sn-vgqsrn7s.googlevideo.com/playlist_type/DVR/ei/POHeXIjvEM7pigTT5avgAw/gcr/us/mm/32/mn/sn-vgqsrn7s/ms/lv/mv/u/pl/20/dover/11/keepalive/yes/mt/1558110176/disable_polymer/true/ip/35.224.3.211/ipbits/0/expire/1558132124/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/8368CBB664F1ED48D537C8D90C4C5277E1639EEC.3CB6AE6751CECA8FBFFCA3072F57F88F34846B0D/key/dg_yt0/playlist/index.m3u8 -c copy -f mp4 -bsf:a aac_adtstoasc 'file:NASA Live - Earth Views from the Space Station-uj3FqkflC7g.mp4.part'
ffmpeg version 4.1.3-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
[tcp @ 0x567bd00] Starting connection attempt to 173.194.74.190 port 443
[tcp @ 0x567bd00] Successfully connected to 173.194.74.190 port 443
[hls,applehttp @ 0x567b580] HLS request for url 'https://r3---sn-vgqsrn7s.googlevideo.com/videoplayback/id/uj3FqkflC7g.41/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/hls_chunk_host/r3---sn-vgqsrn7s.googlevideo.com/playlist_type/DVR/ei/POHeXIjvEM7pigTT5avgAw/gcr/us/mm/32/mn/sn-vgqsrn7s/ms/lv/mv/u/pl/20/keepalive/yes/mt/1558110176/disable_polymer/true/ip/35.224.3.211/ipbits/0/expire/1558132124/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/8368CBB664F1ED48D537C8D90C4C5277E1639EEC.3CB6AE6751CECA8FBFFCA3072F57F88F34846B0D/key/dg_yt0/playlist/index.m3u8/sq/14892/goap/clen%3D80940%3Blmt%3D1558110528814179/govp/clen%3D107483%3Blmt%3D1558110528814179/dur/5.005/file/seg.ts', offset 0, playlist 0
[hls,applehttp @ 0x567b580] Opening 'https://r3---sn-vgqsrn7s.googlevideo.com/videoplayback/id/uj3FqkflC7g.41/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/hls_chunk_host/r3---sn-vgqsrn7s.googlevideo.com/playlist_type/DVR/ei/POHeXIjvEM7pigTT5avgAw/gcr/us/mm/32/mn/sn-vgqsrn7s/ms/lv/mv/u/pl/20/keepalive/yes/mt/1558110176/disable_polymer/true/ip/35.224.3.211/ipbits/0/expire/1558132124/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/8368CBB664F1ED48D537C8D90C4C5277E1639EEC.3CB6AE6751CECA8FBFFCA3072F57F88F34846B0D/key/dg_yt0/playlist/index.m3u8/sq/14892/goap/clen%3D80940%3Blmt%3D1558110528814179/govp/clen%3D107483%3Blmt%3D1558110528814179/dur/5.005/file/seg.ts' for reading
[tcp @ 0x5c57a80] Starting connection attempt to 74.125.159.137 port 443
[tcp @ 0x5c57a80] Successfully connected to 74.125.159.137 port 443
[hls,applehttp @ 0x567b580] HLS request for url 'https://r3---sn-vgqsrn7s.googlevideo.com/videoplayback/id/uj3FqkflC7g.41/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/hls_chunk_host/r3---sn-vgqsrn7s.googlevideo.com/playlist_type/DVR/ei/POHeXIjvEM7pigTT5avgAw/gcr/us/mm/32/mn/sn-vgqsrn7s/ms/lv/mv/u/pl/20/keepalive/yes/mt/1558110176/disable_polymer/true/ip/35.224.3.211/ipbits/0/expire/1558132124/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/8368CBB664F1ED48D537C8D90C4C5277E1639EEC.3CB6AE6751CECA8FBFFCA3072F57F88F34846B0D/key/dg_yt0/playlist/index.m3u8/sq/14893/goap/clen%3D81278%3Blmt%3D1558110536501458/govp/clen%3D107421%3Blmt%3D1558110536501458/dur/5.005/file/seg.ts', offset 0, playlist 0
[hls,applehttp @ 0x567b580] Opening 'https://r3---sn-vgqsrn7s.googlevideo.com/videoplayback/id/uj3FqkflC7g.41/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/hls_chunk_host/r3---sn-vgqsrn7s.googlevideo.com/playlist_type/DVR/ei/POHeXIjvEM7pigTT5avgAw/gcr/us/mm/32/mn/sn-vgqsrn7s/ms/lv/mv/u/pl/20/keepalive/yes/mt/1558110176/disable_polymer/true/ip/35.224.3.211/ipbits/0/expire/1558132124/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/8368CBB664F1ED48D537C8D90C4C5277E1639EEC.3CB6AE6751CECA8FBFFCA3072F57F88F34846B0D/key/dg_yt0/playlist/index.m3u8/sq/14893/goap/clen%3D81278%3Blmt%3D1558110536501458/govp/clen%3D107421%3Blmt%3D1558110536501458/dur/5.005/file/seg.ts' for reading
[tcp @ 0x5c66a00] Starting connection attempt to 74.125.159.137 port 443
[tcp @ 0x5c66a00] Successfully connected to 74.125.159.137 port 443
[h264 @ 0x5f73340] Reinit context to 1280x720, pix_fmt: yuv420p
Input #0, hls,applehttp, from 'https://manifest.googlevideo.com/api/manifest/hls_playlist/id/uj3FqkflC7g.41/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/hls_chunk_host/r3---sn-vgqsrn7s.googlevideo.com/playlist_type/DVR/ei/POHeXIjvEM7pigTT5avgAw/gcr/us/mm/32/mn/sn-vgqsrn7s/ms/lv/mv/u/pl/20/dover/11/keepalive/yes/mt/1558110176/disable_polymer/true/ip/35.224.3.211/ipbits/0/expire/1558132124/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/8368CBB664F1ED48D537C8D90C4C5277E1639EEC.3CB6AE6751CECA8FBFFCA3072F57F88F34846B0D/key/dg_yt0/playlist/index.m3u8':
  Duration: N/A, start: 74455.793667, bitrate: N/A
  Program 0 
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Video: h264 (Main), 1 reference frame ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, left), 1280x720 [SAR 1:1 DAR 16:9], 60 fps, 60 tbr, 90k tbn, 120 tbc
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to 'file:NASA Live - Earth Views from the Space Station-uj3FqkflC7g.mp4.part':
  Metadata:
    encoder         : Lavf58.20.100
    Stream #0:0: Video: h264 (Main), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, bt709, left), 1280x720 (0x0) [SAR 1:1 DAR 16:9], q=2-31, 60 fps, 60 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
[hls,applehttp @ 0x567b580] HLS request for url 'https://r3---sn-vgqsrn7s.googlevideo.com/videoplayback/id/uj3FqkflC7g.41/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/hls_chunk_host/r3---sn-vgqsrn7s.googlevideo.com/playlist_type/DVR/ei/POHeXIjvEM7pigTT5avgAw/gcr/us/mm/32/mn/sn-vgqsrn7s/ms/lv/mv/u/pl/20/keepalive/yes/mt/1558110176/disable_polymer/true/ip/35.224.3.211/ipbits/0/expire/1558132124/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/8368CBB664F1ED48D537C8D90C4C5277E1639EEC.3CB6AE6751CECA8FBFFCA3072F57F88F34846B0D/key/dg_yt0/playlist/index.m3u8/sq/14894/goap/clen%3D80940%3Blmt%3D1558110541558650/govp/clen%3D108249%3Blmt%3D1558110541558650/dur/4.989/file/seg.ts', offset 0, playlist 0
[https @ 0x5c55640] Opening 'https://r3---sn-vgqsrn7s.googlevideo.com/videoplayback/id/uj3FqkflC7g.41/itag/300/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D298/hls_chunk_host/r3---sn-vgqsrn7s.googlevideo.com/playlist_type/DVR/ei/POHeXIjvEM7pigTT5avgAw/gcr/us/mm/32/mn/sn-vgqsrn7s/ms/lv/mv/u/pl/20/keepalive/yes/mt/1558110176/disable_polymer/true/ip/35.224.3.211/ipbits/0/expire/1558132124/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,mm,mn,ms,mv,pl/signature/8368CBB664F1ED48D537C8D90C4C5277E1639EEC.3CB6AE6751CECA8FBFFCA3072F57F88F34846B0D/key/dg_yt0/playlist/index.m3u8/sq/14894/goap/clen%3D80940%3Blmt%3D1558110541558650/govp/clen%3D108249%3Blmt%3D1558110541558650/dur/4.989/file/seg.ts' for reading
^C^C[ffmpeg] Interrupted by user
[ffmpeg] Downloaded 524336 bytes
[download] 100% of 512.05KiB in 00:02
@ignacionf
Copy link
Author

@ignacionf ignacionf commented May 20, 2019

Hello @dstftw, can you reproduce this?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 20, 2019

No.

@ignacionf
Copy link
Author

@ignacionf ignacionf commented May 20, 2019

the ticket still in closed.
If you require access to vm in GCP, we can create one for testing.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 20, 2019

Bother to answer my question first.

@ignacionf
Copy link
Author

@ignacionf ignacionf commented May 20, 2019

oka, i install a proxy and connect via browser to youtube. I thought that with that configuration and youtube-dl was going to be enough, so I configured the --proxy and the results were the same.

It is a virtual machine with ubuntu server 18.04, I have no possibility to run a browser in there, so the best configuration I could do is with a proxy.

@danuker
Copy link

@danuker danuker commented Jul 14, 2019

@ignacionf: Have you tried to watch a video via the browser, through the proxy?

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
3 participants
You can’t perform that action at this time.