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

Full episodes on teamcoco.com fail with 403 ("Forbidden") from US and elsewhere #16178

Closed
scfc opened this issue Apr 13, 2018 · 1 comment
Closed

Comments

@scfc
Copy link
Contributor

@scfc scfc commented Apr 13, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.04.09. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.04.09

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

[tim@passepartout ~/src/youtube-dl]$ python -m youtube_dl -v 'http://teamcoco.com/video/full-episode-weds-4-11-conan-in-italy?playlist=x;eyJ0eXBlIjoidGFnIiwiaWQiOjl9'  [debug] System config: [u'--prefer-free-formats']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'http://teamcoco.com/video/full-episode-weds-4-11-conan-in-italy?playlist=x;eyJ0eXBlIjoidGFnIiwiaWQiOjl9']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.04.09
[debug] Git HEAD: 68ddba20a
[debug] Python version 2.7.14 (CPython) - Linux-4.15.15-200.fc26.x86_64-x86_64-with-fedora-26-Twenty_Six
[debug] exe versions: ffmpeg 3.3.6, ffprobe 3.3.6, rtmpdump 2.4
[debug] Proxy map: {}
[Teamcoco] full-episode-weds-4-11-conan-in-italy?playlist=x;eyJ0eXBlIjoidGFnIiwiaWQiOjl9: Downloading webpage
[Teamcoco] Try to compute possible data sequence. This may take some time.
[Teamcoco] 103305: Downloading m3u8 information
ERROR: Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "youtube_dl/extractor/common.py", line 519, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "youtube_dl/YoutubeDL.py", line 2203, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib64/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

[tim@passepartout ~/src/youtube-dl]$ python -m youtube_dl --proxy socks5://127.0.0.1:4711/ -v 'http://teamcoco.com/video/full-episode-weds-4-11-conan-in-italy?playlist=x;eyJ0eXBlIjoidGFnIiwiaWQiOjl9'
[debug] System config: [u'--prefer-free-formats']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--proxy', u'socks5://127.0.0.1:4711/', u'-v', u'http://teamcoco.com/video/full-episode-weds-4-11-conan-in-italy?playlist=x;eyJ0eXBlIjoidGFnIiwiaWQiOjl9']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.04.09
[debug] Git HEAD: 68ddba20a
[debug] Python version 2.7.14 (CPython) - Linux-4.15.15-200.fc26.x86_64-x86_64-with-fedora-26-Twenty_Six
[debug] exe versions: ffmpeg 3.3.6, ffprobe 3.3.6, rtmpdump 2.4
[debug] Proxy map: {u'http': u'socks5://127.0.0.1:4711/', u'https': u'socks5://127.0.0.1:4711/'}
[Teamcoco] full-episode-weds-4-11-conan-in-italy?playlist=x;eyJ0eXBlIjoidGFnIiwiaWQiOjl9: Downloading webpage
[Teamcoco] Try to compute possible data sequence. This may take some time.
[Teamcoco] 103305: Downloading m3u8 information
ERROR: Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "youtube_dl/extractor/common.py", line 519, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "youtube_dl/YoutubeDL.py", line 2203, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib64/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

[tim@passepartout ~/src/youtube-dl]$

Description of your issue, suggested solution and other information

Trying to download a "full episode" on teamcoco.com (http://teamcoco.com/video/full-episode-weds-4-11-conan-in-italy?playlist=x;eyJ0eXBlIjoidGFnIiwiaWQiOjl9) fails with 403 ("Forbidden"), from the US (via proxy at port 4711) and elsewhere.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 13, 2018

> py -2.7 .\youtube_dl\__main__.py 'http://teamcoco.com/video/full-episode-weds-4-11-conan-in-italy?playlist=x;eyJ0eXBlIjoidGFnIiwiaWQiOjl9' --proxy 127.0.0.1:8118
[Teamcoco] full-episode-weds-4-11-conan-in-italy?playlist=x;eyJ0eXBlIjoidGFnIiwiaWQiOjl9: Downloading webpage
[Teamcoco] Try to compute possible data sequence. This may take some time.
[Teamcoco] 103305: Downloading m3u8 information
[Teamcoco] 103305: Downloading m3u8 information
[Teamcoco] 103305: Downloading m3u8 information
[Teamcoco] 103305: Downloading m3u8 information
[download] Destination: Full Episode - Weds. 4_11 - Conan In Italy-103305.mp4
ffmpeg version N-85653-gb4330a0 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  libavutil      55. 61.100 / 55. 61.100
  libavcodec     57. 93.100 / 57. 93.100
  libavformat    57. 72.101 / 57. 72.101
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 87.100 /  6. 87.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
Input #0, hls,applehttp, from 'http://ht.cdn.turner.com/tbs/big/teamcoco/secure/tve/2018-04/TBSE1003061800045568_HLS/TBSE1003061800045568_Layer6_vod.m3u8':
  Duration: 00:42:31.22, start: 0.750000, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv), 848x480, Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to 'file:Full Episode - Weds. 4_11 - Conan In Italy-103305.mp4.part':
  Metadata:
    encoder         : Lavf57.72.101
    Stream #0:0: Video: h264 (Constrained Baseline) ([33][0][0][0] / 0x0021), yuv420p(tv), 848x480, q=2-31, 29.97 fps, 29.97 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (HE-AAC) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=  327 fps= 73 q=-1.0 Lsize=    2292kB time=00:00:10.87 bitrate=1726.1kbits/s speed=2.42x
video:2207kB audio:77kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.310217%
Exiting normally, received signal 2.

ERROR: Interrupted by user
@dstftw dstftw closed this Apr 13, 2018
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.