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

GamerDVR.com incorrect URL decoding #23259

Open
5 tasks done
xenova opened this issue Nov 28, 2019 · 0 comments
Open
5 tasks done

GamerDVR.com incorrect URL decoding #23259

xenova opened this issue Nov 28, 2019 · 0 comments

Comments

@xenova
Copy link
Contributor

xenova commented Nov 28, 2019

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2019.11.28
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

C:\Users\xxxxxx>youtube-dl "https://gamerdvr.com/gamer/twin-howler/video/82308233" -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://gamerdvr.com/gamer/twin-howler/video/82308233', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2019.11.28
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17763
[debug] exe versions: ffmpeg N-94059-g268ab17c51, ffprobe N-94059-g268ab17c51
[debug] Proxy map: {}
[generic] 82308233: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 82308233: Downloading webpage
[generic] 82308233: Extracting information
[download] Downloading playlist: Click here to watch, tag friends, comment on, download, or share this video
[generic] playlist Click here to watch, tag friends, comment on, download, or share this video: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://gameclipscontent-d2017.xboxlive.com/xuid-2535472745162130-private/62f505f8-12a6-4e46-8748-153166760e4d.MP4?sv=2015-12-11&sr=b&si=DefaultAccess&sig=Lkdf98qSZDkveH0hbaYcMHu2L9kgBnSR4wnev/F4UOM=&__gda__=1574979692_91cabe00ab40eed0d1d67d637ff09082'
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpwy0zjfmc\build\youtube_dl\YoutubeDL.py", line 1925, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpwy0zjfmc\build\youtube_dl\YoutubeDL.py", line 1864, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpwy0zjfmc\build\youtube_dl\downloader\common.py", line 366, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpwy0zjfmc\build\youtube_dl\downloader\http.py", line 341, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpwy0zjfmc\build\youtube_dl\downloader\http.py", line 109, in establish_connection
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpwy0zjfmc\build\youtube_dl\YoutubeDL.py", line 2237, 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_default
urllib.error.HTTPError: HTTP Error 403: Forbidden

Description

Explanation:
When attempting to download a video from GamerDVR.com, youtube-dl returns a 403 error.

Examples: (Even although all videos do this)

Solution:
Youtube-dl decodes some special characters in the retrieved URL, however, they should not be decoded.
The URL which should be retrieved:
https://gameclipscontent-d2017.xboxlive.com/xuid-2535472745162130-private/62f505f8-12a6-4e46-8748-153166760e4d.MP4?sv=2015-12-11&sr=b&si=DefaultAccess&sig=Lkdf98qSZDkveH0hbaYcMHu2L9kgBnSR4wnev%2FF4UOM%3D&__gda__=1574979692_91cabe00ab40eed0d1d67d637ff09082

The URL which is retrieved:
https://gameclipscontent-d2017.xboxlive.com/xuid-2535472745162130-private/62f505f8-12a6-4e46-8748-153166760e4d.MP4?sv=2015-12-11&sr=b&si=DefaultAccess&sig=Lkdf98qSZDkveH0hbaYcMHu2L9kgBnSR4wnev/F4UOM=&__gda__=1574979692_91cabe00ab40eed0d1d67d637ff09082

(The "%2F" is decoded as "/" and the "%3D" is decoded as "=")
This information should be sufficient to fix the problem. Thank you.

@xenova xenova changed the title GamerDVR.com not working GamerDVR.com incorrect URL decoding Dec 5, 2019
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

1 participant