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

iplayer - Downloading legacy playlist XML 404 error on AD links #21282

Closed
raymondbutler opened this issue Jun 2, 2019 · 1 comment
Closed

iplayer - Downloading legacy playlist XML 404 error on AD links #21282

raymondbutler opened this issue Jun 2, 2019 · 1 comment

Comments

@raymondbutler
Copy link

@raymondbutler raymondbutler commented Jun 2, 2019

Checklist

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

Verbose log

youtube-dl -v --print-traffic --cookies=new.cookies -F https://www.bbc.co.uk/iplayer/episode/b0b9djjx/ad/junk-rescue-series-1-11-plastic-bottles
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--print-traffic', u'--cookies=new.cookies', u'-F', u'https://www.bbc.co.uk/iplayer/episode/b0b9djjx/ad/junk-rescue-series-1-11-plastic-bottles']
[debug] Encodings: locale ISO-8859-1, fs ISO-8859-1, out ISO-8859-1, pref ISO-8859-1
[debug] youtube-dl version 2019.05.20
[debug] Python version 2.7.5 (CPython) - Linux-3.10.0-957.5.1.el7.x86_64-x86_64-with-centos-7.6.1810-Core
[debug] exe versions: ffmpeg 3.4.5, ffprobe 3.4.5
[debug] Proxy map: {}
[bbc.co.uk] b0b9djjx: Downloading video page
send: u'GET /iplayer/episode/b0b9djjx/ad/junk-rescue-series-1-11-plastic-bottles HTTP/1.1\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nConnection: close\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nHost: www.bbc.co.uk\r\nCookie: ckpf_mvt=b30c08a2-b1f1-4e67-a3c6-a25c34b076ed\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: request-id: 33f5f8594c1a1b14472fda1eba8b5950
header: vary: x-cdn,x-bbc-edge-scheme
header: cache-control: no-store, must-revalidate, max-age=0
header: Content-Type: text/html; charset=utf-8
header: content-encoding: gzip
header: Date: Sun, 02 Jun 2019 09:41:07 GMT
header: server-timing: total;dur=41.717, miss
header: link: <https://emp.bbci.co.uk/emp/bump-4/bump-4.js>; rel=preload; as=script; nopush, <https://iplayer-web.files.bbci.co.uk>; rel=preconnect, <https://mybbc.files.bbci.co.uk>; rel=preconnect, <https://nav.files.bbci.co.uk>; rel=preconnect, <https://ichef.bbci.co.uk>; rel=preconnect, <https://iplayer-web.files.bbci.co.uk/iplayer-web-components/67.5.2/iplayer.css>; rel=preload; as=style; nopush, <https://iplayer-web.files.bbci.co.uk/react/16.8.1/react.js>; rel=preload; as=script; nopush, <https://iplayer-web.files.bbci.co.uk/iplayer-web-components/67.5.2/fonts/tviplayericons.woff?-bpwhxc>; rel=preload; as=font; crossorigin; type="font/woff2"; nopush
header: x-xss-protection: 1; mode=block
header: Transfer-Encoding: chunked
header: x-content-type-options: nosniff
header: Connection: close
header: x-frame-options: SAMEORIGIN
header: x-webapp: iplayer-web-app-playback-v2
[bbc.co.uk] b0b9djjx: Downloading playlist JSON
send: u'GET /programmes/b0b9djjx/playlist.json HTTP/1.1\r\nHost: www.bbc.co.uk\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nConnection: close\r\nCookie: ckpf_mvt=b30c08a2-b1f1-4e67-a3c6-a25c34b076ed\r\n\r\n'
reply: 'HTTP/1.1 301 Moved Permanently\r\n'
header: Server: openresty
header: X-BBC-No-Scheme-Rewrite: 1
header: X-Cache-Action: MISS
header: Vary: X-BBC-Edge-Scheme
header: Cache-Control: public, max-age=3600
header: X-Cache-Age: 0
header: Content-Type: text/html
header: Date: Sun, 02 Jun 2019 09:40:56 GMT
header: Location: https://www.bbc.co.uk/programmes/b0b9djjx/playlist.json
header: Content-Length: 178
header: Connection: close
send: u'GET /programmes/b0b9djjx/playlist.json HTTP/1.1\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nConnection: close\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nHost: www.bbc.co.uk\r\nCookie: ckpf_mvt=b30c08a2-b1f1-4e67-a3c6-a25c34b076ed\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Server: openresty
header: X-Cache-Action: MISS
header: Vary: Accept-Encoding, X-CDN,X-BBC-Edge-Scheme
header: Cache-Control: max-age=120, public
header: X-Cache-Age: 0
header: Content-Type: application/json
header: Content-Encoding: gzip
header: Date: Sun, 02 Jun 2019 09:40:56 GMT
header: Content-Language: en-GB
header: X-UA-Compatible: IE=edge
header: Content-Length: 220
header: Connection: close
[bbc.co.uk] b0b9djjx: Downloading legacy playlist XML
send: u'GET /iplayer/playlist/b0b9djjx HTTP/1.1\r\nHost: www.bbc.co.uk\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nConnection: close\r\nCookie: ckpf_mvt=b30c08a2-b1f1-4e67-a3c6-a25c34b076ed\r\n\r\n'
reply: 'HTTP/1.1 404 Not Found\r\n'
header: Content-Type: text/html
header: Date: Sun, 02 Jun 2019 09:41:08 GMT
header: Connection: close
header: Content-Length: 50193
ERROR: Unable to download XML: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 626, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2227, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/usr/lib64/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.7/urllib2.py", line 475, in error
    return self._call_chain(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Description

I'm unable to download AD (This is an Audio Described version of this programme.) links
Is this a bug or a feature that can be added ?

@raymondbutler
Copy link
Author

@raymondbutler raymondbutler commented Jun 8, 2019

Thank you for the comment, I will close this issue.

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.