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

Can't download music videos from YouTube (Error 403) #24806

Closed
dmitriykalmykov opened this issue Apr 16, 2020 · 0 comments
Closed

Can't download music videos from YouTube (Error 403) #24806

dmitriykalmykov opened this issue Apr 16, 2020 · 0 comments

Comments

@dmitriykalmykov
Copy link

@dmitriykalmykov dmitriykalmykov commented Apr 16, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.03.24
  • 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

youtube-dl.exe --verbose "https://www.youtube.com/watch?v=xpP7fjW8t_s"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=xpP7fjW8t_s']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2020.03.08
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] xpP7fjW8t_s: Downloading webpage
[youtube] {18} signature length 106, html5 player vflset
[youtube] {137} signature length 106, html5 player vflset
[youtube] {248} signature length 106, html5 player vflset
[youtube] {136} signature length 106, html5 player vflset
[youtube] {247} signature length 102, html5 player vflset
[youtube] {135} signature length 106, html5 player vflset
[youtube] {244} signature length 106, html5 player vflset
[youtube] {134} signature length 106, html5 player vflset
[youtube] {243} signature length 102, html5 player vflset
[youtube] {133} signature length 106, html5 player vflset
[youtube] {242} signature length 106, html5 player vflset
[youtube] {160} signature length 106, html5 player vflset
[youtube] {278} signature length 102, html5 player vflset
[youtube] {140} signature length 102, html5 player vflset
[youtube] {249} signature length 106, html5 player vflset
[youtube] {250} signature length 106, html5 player vflset
[youtube] {251} signature length 102, html5 player vflset
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://r1---sn-pm2hxnigvvh-v1ie.googlevideo.com/videoplayback?expire=1587035947&ei=y-qXXtOFMdCCv_IP9ZWZ8AU&ip=5.105.220.157&id=o-AAsaB2WDALVTs3Xa_X8O7sxp9sHMvN1MzBvp8Y50zIlZ&itag=18&source=youtube&requiressl=yes&mh=pk&mm=31%2C29&mn=sn-pm2hxnigvvh-v1ie%2Csn-3c27sn7k&ms=au%2Crdu&mv=m&mvi=0&pl=22&nh=%2CIgpwcjAyLmticDAyKgkxMjcuMC4wLjE&initcwndbps=1350000&vprv=1&mime=video%2Fmp4&gir=yes&clen=15809659&ratebypass=yes&dur=219.219&lmt=1586726964247902&mt=1587014252&fvip=14&c=WEB&txp=5431432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cratebypass%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cnh%2Cinitcwndbps&lsig=ALrAebAwRQIhAO4MIj-mc_oirbBM4etuS37y5pVKWI05KkWcBX1rBneJAiBcbGlQ8oypRYdfV5-j1fnjBWqkSVsFyF46McAnFkfHjg%3D%3D&sig=rezKpAs7arYS2evh9Ogdhui8nyBrPoALpu028bxn1AEiAUbNly9M2qn9ffJdBHFBLGIXkVbK-RZmVLOR6-dUHVLYAhIgRwsAlPp'
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\tmp378onz6j\build\youtube_dl\YoutubeDL.py", line 1926, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\build\youtube_dl\YoutubeDL.py", line 1865, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\build\youtube_dl\downloader\common.py", line 366, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\build\youtube_dl\downloader\http.py", line 341, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\build\youtube_dl\downloader\http.py", line 109, in establish_connection
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp378onz6j\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

Regular videos (non-music) are OK. But all music videos that I tried to download return HTTP Error 403: Forbidden. All these videos are playable in browser. I also tried to use VPN, but this doesn't change anything.

@dstftw dstftw closed this Apr 16, 2020
@ytdl-org ytdl-org locked and limited conversation to collaborators Apr 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.