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

youtube.com yields forbidden (403) on some videos #25030

Closed
baobabKoodaa opened this issue Apr 27, 2020 · 0 comments
Closed

youtube.com yields forbidden (403) on some videos #25030

baobabKoodaa opened this issue Apr 27, 2020 · 0 comments

Comments

@baobabKoodaa
Copy link

Checklist

  • [x ] I'm reporting a broken site support
  • [x ] I've verified that I'm running youtube-dl version 2020.03.24
  • [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 issues including closed ones

Verbose log

youtube-dl -v https://www.youtube.com/watch?v=GwkGyHw6NqY
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=GwkGyHw6NqY']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.03.24
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg git-2020-01-02-81172b5, ffprobe git-2020-01-02-81172b5
[debug] Proxy map: {}
[youtube] GwkGyHw6NqY: Downloading webpage
[youtube] {18} signature length 104, html5 player vflset
[youtube] {313} signature length 104, html5 player vflset
[youtube] {271} signature length 104, html5 player vflset
[youtube] {137} signature length 100, html5 player vflset
[youtube] {248} signature length 104, html5 player vflset
[youtube] {399} signature length 100, html5 player vflset
[youtube] {136} signature length 100, html5 player vflset
[youtube] {247} signature length 104, html5 player vflset
[youtube] {398} signature length 104, html5 player vflset
[youtube] {135} signature length 100, html5 player vflset
[youtube] {244} signature length 104, html5 player vflset
[youtube] {397} signature length 104, html5 player vflset
[youtube] {134} signature length 104, html5 player vflset
[youtube] {243} signature length 104, html5 player vflset
[youtube] {396} signature length 104, html5 player vflset
[youtube] {133} signature length 104, html5 player vflset
[youtube] {242} signature length 104, html5 player vflset
[youtube] {395} signature length 104, html5 player vflset
[youtube] {160} signature length 104, html5 player vflset
[youtube] {278} signature length 104, html5 player vflset
[youtube] {394} signature length 100, html5 player vflset
[youtube] {140} signature length 100, html5 player vflset
[youtube] {249} signature length 104, html5 player vflset
[youtube] {250} signature length 104, html5 player vflset
[youtube] {251} signature length 100, html5 player vflset
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://r1---sn-xap5-ixa6.googlevideo.com/videoplayback?expire=1588010364&ei=G8mmXqjIPLWB0u8P1uG5oA4&ip=91.156.105.95&id=o-AJ439AiTC7uV0gt4WyUxD9jfBvgeNlFB82vtJ3MTr1PJ&itag=313&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C271%2C278%2C313%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=nb&mm=31%2C29&mn=sn-xap5-ixa6%2Csn-5go7ynez&ms=au%2Crdu&mv=m&mvi=0&pl=19&initcwndbps=1212500&vprv=1&mime=video%2Fwebm&gir=yes&clen=186084268&dur=212.796&lmt=1575740512943494&mt=1587988600&fvip=1&keepalive=yes&fexp=23882513&c=WEB&txp=5531432&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=ALrAebAwRQIgTQXeY3h1Oc6RLu6L4ivFcYxgjCRB0MQ0EbsMlnbQyFsCIQDGKU_xnRvpBvcYB2PblmmviDuSBykOyQWlAfT6Kxum6w%3D%3D&sig=m=wUyefxQu3V0V6MGxDRpmpol=w_hujh5C0gDDDdEpfHEDQICcHbYGZssK_HLvHOVl0-AyX0PAHtCmfNsA6krgmSjhmagIQRwpLM&ratebypass=yes'
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\tmpjwbwqymm\build\youtube_dl\YoutubeDL.py", line 1920, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpjwbwqymm\build\youtube_dl\YoutubeDL.py", line 1865, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpjwbwqymm\build\youtube_dl\downloader\common.py", line 366, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpjwbwqymm\build\youtube_dl\downloader\http.py", line 341, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpjwbwqymm\build\youtube_dl\downloader\http.py", line 109, in establish_connection
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpjwbwqymm\build\youtube_dl\YoutubeDL.py", line 2238, 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

Downloading some videos from youtube.com works, downloading some other videos does not work. Here is one example which does not work: https://www.youtube.com/watch?v=GwkGyHw6NqY

Error 403 forbidden.

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

Successfully merging a pull request may close this issue.

2 participants