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

Downloads from BBC iPlayer fail after adding certain command line args #19651

Closed
5 of 9 tasks
Derp0 opened this issue Feb 24, 2019 · 6 comments
Closed
5 of 9 tasks

Downloads from BBC iPlayer fail after adding certain command line args #19651

Derp0 opened this issue Feb 24, 2019 · 6 comments

Comments

@Derp0
Copy link

Derp0 commented Feb 24, 2019

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 2019.02.18. 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 2019.02.18

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

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


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 ```):

C:\>yt -v -f best --no-call-home --all-subs --add-metadata https://www.bbc.co.uk
/iplayer/episode/p06t60pl/les-miserables-series-1-episode-1
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-f', 'best', '--no-call-home', '--all-subs',
'--add-metadata', 'https://www.bbc.co.uk/iplayer/episode/p06t60pl/les-miserables
-series-1-episode-1']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2019.02.18
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg 4.1, ffprobe 4.0.2, rtmpdump 2.4
[debug] Proxy map: {}
[bbc.co.uk] p06t60pl: Downloading video page
[bbc.co.uk] p06t60pl: Downloading playlist JSON
[bbc.co.uk] b0by43zz: Downloading media selection XML
[bbc.co.uk] b0by43zz: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[bbc.co.uk] b0by43zz: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[bbc.co.uk] b0by43zz: Downloading MPD manifest
WARNING: Failed to download MPD manifest: HTTP Error 403: Forbidden
[bbc.co.uk] b0by43zz: Downloading MPD manifest
[bbc.co.uk] b0by43zz: Downloading m3u8 information
[bbc.co.uk] b0by43zz: Downloading m3u8 information
[bbc.co.uk] b0by43zz: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 503: Service Temporaril
y Unavailable
[bbc.co.uk] b0by43zz: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 503: Service Temporaril
y Unavailable
[bbc.co.uk] b0by43zz: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[bbc.co.uk] b0by43zz: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 403: Forbidden
[bbc.co.uk] b0by43zz: Downloading MPD manifest
WARNING: Failed to download MPD manifest: HTTP Error 403: Forbidden
[bbc.co.uk] b0by43zz: Downloading MPD manifest
[bbc.co.uk] b0by43zz: Downloading m3u8 information
[bbc.co.uk] b0by43zz: Downloading m3u8 information
[bbc.co.uk] b0by43zz: Downloading m3u8 information
WARNING: Failed to download m3u8 information: <urlopen error [SSL: SSLV3_ALERT_H
ANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:600)>
[bbc.co.uk] b0by43zz: Downloading m3u8 information
WARNING: Failed to download m3u8 information: <urlopen error [SSL: SSLV3_ALERT_H
ANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:600)>
[bbc.co.uk] b0by43zz: Downloading captions
[bbc.co.uk] b0by43zz: Downloading captions
ERROR: Unable to download XML: HTTP Error 403: Forbidden (caused by HTTPError())
; please report this issue on https://yt-dl.org/bug . Make sure you are using th
e latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl wit
h the --verbose flag and include its complete output.
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\bu
ild\youtube_dl\extractor\common.py", line 605, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpw73a_6nx\bu
ild\youtube_dl\YoutubeDL.py", line 2225, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_defau
lt
...
<end of log>

Description of your issue, suggested solution and other information

Upon adding these command line args I get the error above, though it used to work before. The args are:
--no-call-home --all-subs --add-metadata

Please note that it still does work without the mentioned args.

EDIT: After doing a few tests I found out that --all-subs arg is causing the problem.

@dstftw
Copy link
Collaborator

dstftw commented Feb 24, 2019

Please note that it still does work without the mentioned args.

Prove that.

@dstftw
Copy link
Collaborator

dstftw commented Feb 24, 2019

PS C:\Dev\youtube-dl\master> py -2.7 .\youtube_dl\__main__.py https://www.bbc.co.uk/iplayer/episode/p06t60pl/les-miserables-series-1-episode-1 -v -f best --no-call-home --all-subs --add-metadata
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.bbc.co.uk/iplayer/episode/p06t60pl/les-miserables-series-1-episode-1', u'-v', u'-f', u'best', u'--no-call-home', u'--all-subs', u'--add-metadata']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2019.02.18
[debug] Git HEAD: 8c80603
[debug] Python version 2.7.12 (CPython) - Windows-10-10.0.10240
[debug] exe versions: ffmpeg N-85653-gb4330a0, ffprobe N-85653-gb4330a0, phantomjs 2.1.1, rtmpdump 2.4
[bbc.co.uk] p06t60pl: Downloading video page
[bbc.co.uk] p06t60pl: Downloading playlist JSON
[bbc.co.uk] b0by43zz: Downloading media selection XML
[bbc.co.uk] b0by43zz: Downloading captions
[bbc.co.uk] b0by43zz: Downloading captions
[bbc.co.uk] b0by43zz: Downloading captions
[bbc.co.uk] b0by43zz: Downloading m3u8 information
[bbc.co.uk] b0by43zz: Downloading m3u8 information
[bbc.co.uk] b0by43zz: Downloading MPD manifest
[bbc.co.uk] b0by43zz: Downloading MPD manifest
[bbc.co.uk] b0by43zz: Downloading m3u8 information
[bbc.co.uk] b0by43zz: Downloading m3u8 information
[bbc.co.uk] b0by43zz: Downloading m3u8 information
[bbc.co.uk] b0by43zz: Downloading m3u8 information
[bbc.co.uk] b0by43zz: Downloading m3u8 information
[bbc.co.uk] b0by43zz: Downloading m3u8 information
[bbc.co.uk] b0by43zz: Downloading MPD manifest
[bbc.co.uk] b0by43zz: Downloading MPD manifest
[bbc.co.uk] b0by43zz: Downloading m3u8 information
[bbc.co.uk] b0by43zz: Downloading m3u8 information
[bbc.co.uk] b0by43zz: Downloading m3u8 information
[bbc.co.uk] b0by43zz: Downloading m3u8 information
[info] Writing video subtitles to: Les Miserables, Series 1, Episode 1-b0by43zz.en.ttml
[debug] Invoking downloader on u'https://bbcfmt-ic-56bc8300-0164db-vodhlsuklive.s.loris.llnwd.net/usp/auth/vod/piff_abr_full_hd/0784ae-b0by43zz/vf_b0by43zz_0c52f175-9ba0-4841-bfb8-195f619afa18.ism/vf_b0by43zz_0c52f175-9ba0-4841-bfb8-195f619afa18-audio_eng=320000-video=5070000.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 465
[download] Destination: Les Miserables, Series 1, Episode 1-b0by43zz.mp4
[download]   0.1% of ~1.30GiB at 578.45KiB/s ETA 52:02
ERROR: Interrupted by user

@Derp0
Copy link
Author

Derp0 commented Feb 24, 2019

Please note that it still does work without the mentioned args.

Prove that.

How is it geo-restricted when I can watch it on the website, and also download it without the subtitle related args.

@Derp0
Copy link
Author

Derp0 commented Feb 24, 2019

Doesn't being able to see the subtitle on the BBC website mean that yt-dl should be able to download it?

@dstftw
Copy link
Collaborator

dstftw commented Feb 24, 2019

Well, I've made subtitles extraction non fatal in recent commit, this will fix extraction. But still BBC does not like something on your side.

@Derp0
Copy link
Author

Derp0 commented Mar 2, 2019

It downloads the sub now despite the warning, thank you.
Les Miserables, Series 1, Episode 1-b0by43zz.en.ttml

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

No branches or pull requests

2 participants