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

Xboxdvr not working - URL encoding issue #10118

Open
4 tasks
lawlmart opened this issue Jul 18, 2016 · 1 comment
Open
4 tasks

Xboxdvr not working - URL encoding issue #10118

lawlmart opened this issue Jul 18, 2016 · 1 comment

Comments

@lawlmart
Copy link
Contributor

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 that [x])
  • Use Preview tab to see how your issue will actually look like

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

  • [x ] I've verified and I assure that I'm running youtube-dl 2016.07.17

Before submitting an issue make sure you have:

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

What is the purpose of your issue?

  • [x ] 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 ```):

~ lucas$ youtube-dl http://xboxdvr.com/gamer/NormalMantis456/video/19687239 -s --dump-json -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://xboxdvr.com/gamer/NormalMantis456/video/19687239', u'-s', u'--dump-json', u'-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.09.03
[debug] Python version 2.7.10 - Darwin-15.5.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.0.2, ffprobe 3.0.2, rtmpdump 2.4
[debug] Proxy map: {}
WARNING: Falling back on generic information extractor.
{"display_id": "oleE=&st=2016-07-18T20:43:39Z&se=2016-07-18T21:48:39Z&sp=r&__gda__=1468878519_193f4b7c275b962b2656577ff4f9fce0", "extractor": "generic", "format": "0 - unknown", "requested_subtitles": null, "uploader": "xboxdvr.com", "format_id": "0", "playlist_index": null, "playlist": null, "http_headers": {"Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7", "Accept-Language": "en-us,en;q=0.5", "Accept-Encoding": "gzip, deflate", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/20.0 (Chrome)"}, "url": "http://gameclipscontent-d2012.xboxlive.com/000901f2c1b0d814-1aa44090-2f86-475b-bd34-3cbba0a4f337/GameClip-Original.MP4?sv=2014-02-14&sr=c&sig=O8GPB6MywX/Ib//egGNbAkHZkl8QhM5v/4aKPs/oleE=&st=2016-07-18T20:43:39Z&se=2016-07-18T21:48:39Z&sp=r&__gda__=1468878519_193f4b7c275b962b2656577ff4f9fce0", "extractor_key": "Generic", "title": "NormalMantis456's Xbox clips on XboxDVR.com", "id": "oleE=&st=2016-07-18T20:43:39Z&se=2016-07-18T21:48:39Z&sp=r&__gda__=1468878519_193f4b7c275b962b2656577ff4f9fce0", "ext": "mp4", "webpage_url": "http://xboxdvr.com/gamer/NormalMantis456/video/19687239", "_filename": "NormalMantis456's Xbox clips on XboxDVR.com-oleE=&st=2016-07-18T20_43_39Z&se=2016-07-18T21_48_39Z&sp=r&__gda__=1468878519_193f4b7c275b962b2656577ff4f9fce0.mp4", "fulltitle": "NormalMantis456's Xbox clips on XboxDVR.com", "age_limit": 0, "webpage_url_basename": "19687239"}
...
<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):


Description of your issue, suggested solution and other information

Xboxdvr has encoded colons in the url signature. Youtube-dl is decoding them in the returned URL, causing ffmpeg to return a 403 error when it attempts to download the URL. Youtube-dl should not decode the URL parameters.

@xenova
Copy link
Contributor

xenova commented Jan 21, 2020

I know it's quite late, but I fixed it in this pull request:
#23395

(Note that XboxDVR changed to GamerDVR)

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

No branches or pull requests

2 participants