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

[bbc.co.uk] bug: Downloading Audio Described version now grabs Original version #12960

Open
tmthywynn8 opened this issue May 1, 2017 · 1 comment

Comments

@tmthywynn8
Copy link

@tmthywynn8 tmthywynn8 commented May 1, 2017

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.05.01. 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 2017.05.01

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

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

Partial log:
$ youtube-dl --verbose --abort-on-unavailable-fragment -f bestaudio http://www.bbc.co.uk/iplayer/episode/p048h1s0/ad/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--abort-on-unavailable-fragment', '-f', 'bestaudio', 'http://www.bbc.co.uk/iplayer/episode/p048h1s0/ad/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.05.01
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: ffmpeg 3.2.2, ffprobe 3.2.2, rtmpdump 2.4
[debug] Proxy map: {}
[bbc.co.uk] p048h1s0: Downloading video page
[bbc.co.uk] p048h1s0: Downloading playlist JSON
[bbc.co.uk] p04cb0dw: Downloading media selection XML
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Description of your issue, suggested solution and other information

The problem: When passing the Audio Described URL of a BBC iPlayer programme, youtube-dl now grabs the normal/Original version instead. I assume this started happening when the BBC took down the XML feeds.

Opening the playlist JSON in a web browser (Firefox 53.0), the "Dubbed Audio Described" VPID is p04nzc8r, so the last line should have read:
[bbc.co.uk] p04nzc8r: Downloading media selection XML
and not
[bbc.co.uk] p04cb0dw: Downloading media selection XML
which is the PID for the "Original version."

How to fix: I'm not sure. I changed the user agent of my web browser to mirror what youtube-dl uses, but the JSON output is still different from when I ran youtube-dl with --write-pages.

In any case, when running youtube-dl with an iPlayer URL for an audio Described page, it should grab the "Dubbed Audio Described" version from the playlist JSON.

@GalvatronJB
Copy link

@GalvatronJB GalvatronJB commented Sep 27, 2017

@dstftw What the parser does currently is for the programme in question, simply at the defaultAvailableVersion field in the playlist, which wouldn't be the audio described one. I've added another issue suggesting support for multiple BBC programme versions: #14350

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.