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

CBC issues #25435

Closed
ron-s opened this issue May 28, 2020 · 1 comment
Closed

CBC issues #25435

ron-s opened this issue May 28, 2020 · 1 comment

Comments

@ron-s
Copy link

@ron-s ron-s commented May 28, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.05.08
  • 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 issues including closed ones

Verbose log

:/usr/bin$ youtube-dl --verbose -f "6483+AC3-5_1-English"  https://gem.cbc.ca/media/documentary-specials/season-1/episode-109/38e815a-012b6b20ec0
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-f', '6483+AC3-5_1-English', 'https://gem.cbc.ca/media/documentary-specials/season-1/episode-109/38e815a-012b6b20ec0']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.05.08
[debug] Python version 3.6.9 (CPython) - Linux-4.15.0-1065-aws-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: avconv 3.4.6, avprobe 3.4.6, ffmpeg 3.4.6, ffprobe 3.4.6
[debug] Proxy map: {}
[debug] Using fake IP 99.228.153.81 (CA) as X-Forwarded-For.
[cbc.ca:watch] 38e815a-012b6b20ec0: Downloading XML
[cbc.ca:watch] 38e815a-012b6b20ec0: Downloading XML
[download] Downloading playlist: Influence
[cbc.ca:watch] playlist Influence: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[debug] Using fake IP 99.240.240.122 (CA) as X-Forwarded-For.
[cbc.ca:watch:video] 5c5b5e75-4769-4af7-86e8-5be095ce1f85: Downloading XML
[cbc.ca:watch:video] 5c5b5e75-4769-4af7-86e8-5be095ce1f85: Downloading XML
[cbc.ca:watch:video] 5c5b5e75-4769-4af7-86e8-5be095ce1f85: Downloading m3u8 information
[debug] Invoking downloader on 'https://cbcvott-a.akamaihd.net/p/38e815a-012b6b20ec0/CBC_DOCS_SPECIALS_INFLUENCE-v2-26624573/segments/CBC_DOCS_SPECIALS_INFLUENCE_v9/prog_index.m3u8'
[download] Destination: Influence-5c5b5e75-4769-4af7-86e8-5be095ce1f85.f6483.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3648.1 Safari/537.36
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-Encoding: gzip, deflate
Accept-Language: en-us,en;q=0.5
X-Forwarded-For: 99.228.153.81
' -i https://cbcvott-a.akamaihd.net/p/38e815a-012b6b20ec0/CBC_DOCS_SPECIALS_INFLUENCE-v2-26624573/segments/CBC_DOCS_SPECIALS_INFLUENCE_v9/prog_index.m3u8 -c copy -f mp4 file:Influence-5c5b5e75-4769-4af7-86e8-5be095ce1f85.f6483.mp4.part
ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
  configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
[hls,applehttp @ 0x55ee4ecc0b20] HLS request for url 'https://cbcvott-a.akamaihd.net/p/38e815a-012b6b20ec0/CBC_DOCS_SPECIALS_INFLUENCE-v2-26624573/segments/CBC_DOCS_SPECIALS_INFLUENCE_v9/v9_0.ts', offset 0, playlist 0
[hls,applehttp @ 0x55ee4ecc0b20] Opening 'https://cbcvott-a.akamaihd.net/p/38e815a-012b6b20ec0/CBC_DOCS_SPECIALS_INFLUENCE-v2-26624573/segments/keys/cl-CBC-Crypt-0.key' for reading
[hls,applehttp @ 0x55ee4ecc0b20] Opening 'crypto+https://cbcvott-a.akamaihd.net/p/38e815a-012b6b20ec0/CBC_DOCS_SPECIALS_INFLUENCE-v2-26624573/segments/CBC_DOCS_SPECIALS_INFLUENCE_v9/v9_0.ts' for reading
[h264 @ 0x55ee4f378fc0] Reinit context to 1920x1088, pix_fmt: yuv420p
[hls,applehttp @ 0x55ee4ecc0b20] max_analyze_duration 5000000 reached at 5005000 microseconds st:0
Input #0, hls,applehttp, from 'https://cbcvott-a.akamaihd.net/p/38e815a-012b6b20ec0/CBC_DOCS_SPECIALS_INFLUENCE-v2-26624573/segments/CBC_DOCS_SPECIALS_INFLUENCE_v9/prog_index.m3u8':
  Duration: 01:30:36.96, start: 10.033367, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (High), 1 reference frame ([27][0][0][0] / 0x001B), yuv420p(left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 0
file:Influence-5c5b5e75-4769-4af7-86e8-5be095ce1f85.f6483.mp4.part: Permission denied


ERROR: ffmpeg exited with code 1
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 474, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 464, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2019, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 808, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1008, in process_ie_result
    extra_info=extra)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 901, in process_ie_result
    new_result, download=download, extra_info=extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 863, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1644, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1920, in process_info
    partial_success = dl(fname, new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1865, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/external.py", line 64, in real_download
    self.get_basename(), retval))
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 165, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 625, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 587, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

Description

WRITE DESCRIPTION HERE
Receiving a strange error while attempting to download this URL within canada:

https://gem.cbc.ca/media/documentary-specials/season-1/episode-109/38e815a-012b6b20ec0

Does permission denied refer to a particular linux directory that youtube-dl is trying to access?

I installed youtube-dl on ubuntu 18 like this:

sudo wget https://yt-dl.org/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+x /usr/local/bin/youtube-dl
hash -r
sudo apt-get install ffmpeg
cd /usr/bin && sudo ln ffmpeg avconv && sudo ln ffmpeg avprobe

using the command:
youtube-dl -F https://gem.cbc.ca/media/documentary-specials/season-1/episode-109/38e815a-012b6b20ec0

displays the list of available filetypes correctly.

I'm a little worried about the fake IP. It isn't needed.
[debug] Using fake IP 99.240.240.122 (CA) as X-Forwarded-For.

@ron-s
Copy link
Author

@ron-s ron-s commented May 28, 2020

forget it. it started working. very strange.

@ron-s ron-s closed this May 28, 2020
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
1 participant
You can’t perform that action at this time.