Repository: ytdl-org/youtube-dl

Issue:
Error 403 Forbidden
youtube-dl "https://www.youtube.com/watch?v=xiV0RN0mPSk"
[youtube] xiV0RN0mPSk: Downloading webpage
[youtube] xiV0RN0mPSk: Downloading video info webpage
[youtube] xiV0RN0mPSk: Extracting video information
[youtube] xiV0RN0mPSk: Downloading DASH manifest
WARNING: [youtube] xiV0RN0mPSk: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden

youtube-dl --version
2015.07.28



Discussion:
youtube-dl --verbose "https://www.youtube.com/watch?v=xiV0RN0mPSk"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'https://www.youtube.com/watch?v=xiV0RN0mPSk']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.07.28
[debug] Python version 2.7.6 - Linux-3.8.11-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 9.18-6, avprobe 9.18-6
[debug] Proxy map: {}
[youtube] xiV0RN0mPSk: Downloading webpage
[youtube] xiV0RN0mPSk: Downloading video info webpage
[youtube] xiV0RN0mPSk: Extracting video information
[youtube] {22} signature length 40.40, html5 player new
[youtube] {43} signature length 40.40, html5 player new
[youtube] {18} signature length 40.40, html5 player new
[youtube] {5} signature length 40.40, html5 player new
[youtube] {36} signature length 40.40, html5 player new
[youtube] {17} signature length 40.40, html5 player new
[youtube] {137} signature length 40.40, html5 player new
[youtube] {136} signature length 40.40, html5 player new
[youtube] {135} signature length 40.40, html5 player new
[youtube] {134} signature length 40.40, html5 player new
[youtube] {133} signature length 40.40, html5 player new
[youtube] {160} signature length 40.40, html5 player new
[youtube] {140} signature length 40.40, html5 player new
[youtube] xiV0RN0mPSk: Downloading DASH manifest
WARNING: [youtube] xiV0RN0mPSk: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
WARNING: Your copy of avconv is outdated and unable to properly mux separate video and audio files, youtube-dl will download single file media. Update avconv to version 10-0 or newer to fix this.
[debug] Invoking downloader on u'https://r1---sn-p5qlsnsl.googlevideo.com/videoplayback?mn=sn-p5qlsnsl&mm=31&key=yt5&ip=72.28.18.47&ms=au&ipbits=0&initcwndbps=368750&mv=m&mt=1438632519&id=o-AC_PkgQqCkUaYOCG-tLgZl-44_Zd-EAEzIsEjgWyVm80&lmt=1427895018699372&upn=WPjSeg8zed4&pl=18&sver=3&source=youtube&ratebypass=yes&itag=22&nh=IgpwcjAxLmlhZDI2KgkxMjcuMC4wLjE&mime=video%2Fmp4&expire=1438654206&requiressl=yes&sparams=dur%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&gcr=us&dur=210.349&fexp=9408710%2C9415365%2C9415485%2C9416126%2C9418153&signature=B201FF79013FCAD80496F806A4129787C0C38C.32FAF1D4778C2637CCA32223A796E35DD13A2'
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "/home/cronkilla/REMEDY_DEV/scripts/youtube-dl/youtube_dl/YoutubeDL.py", line 1436, in process_info
    success = dl(filename, info_dict)
  File "/home/cronkilla/REMEDY_DEV/scripts/youtube-dl/youtube_dl/YoutubeDL.py", line 1378, in dl
    return fd.download(name, info)
  File "/home/cronkilla/REMEDY_DEV/scripts/youtube-dl/youtube_dl/downloader/common.py", line 342, in download
    return self.real_download(filename, info_dict)
  File "/home/cronkilla/REMEDY_DEV/scripts/youtube-dl/youtube_dl/downloader/http.py", line 59, in real_download
    data = self.ydl.urlopen(request)
  File "/home/cronkilla/REMEDY_DEV/scripts/youtube-dl/youtube_dl/YoutubeDL.py", line 1732, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(_args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(_args)
  File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden

I have many more examples, they are likely related if someone can fix the first I will check them and verify. 

[youtube] o-nr1nNC3ds: Downloading webpage
[youtube] o-nr1nNC3ds: Downloading video info webpage
[youtube] o-nr1nNC3ds: Extracting video information
[youtube] o-nr1nNC3ds: Downloading DASH manifest
WARNING: [youtube] o-nr1nNC3ds: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden

[youtube] 4hWNy_gmELI: Downloading webpage
[youtube] 4hWNy_gmELI: Downloading video info webpage
[youtube] 4hWNy_gmELI: Extracting video information
[youtube] 4hWNy_gmELI: Downloading DASH manifest
WARNING: [youtube] 4hWNy_gmELI: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] 3RCJprf45WU: Downloading webpage
[youtube] 3RCJprf45WU: Downloading video info webpage
[youtube] 3RCJprf45WU: Extracting video information
[youtube] 3RCJprf45WU: Downloading DASH manifest
WARNING: [youtube] 3RCJprf45WU: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden

Post the output of `--verbose --print-traffic --dump-pages`.

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'--print-traffic', u'--dump-pages', u'https://www.youtube.com/watch?v=eBdlktuDJRQ']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2015.07.28
[debug] Python version 2.7.6 - Linux-3.8.11-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 9.18-6, avprobe 9.18-6
[debug] Proxy map: {}
[youtube] eBdlktuDJRQ: Downloading webpage
send: u'GET /watch?v=eBdlktuDJRQ&gl=US&hl=en&has_verified=1&bpctr=9999999999 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:10.0) Gecko/20150101 Firefox/20.0 (Chrome)\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,_;q=0.7\r\nHost: www.youtube.com\r\nCookie: PREF=f1=50000000&hl=en\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Mon, 03 Aug 2015 20:24:55 GMT
header: Server: gwiseguy/2.0
header: Content-Encoding: gzip
header: Content-Type: text/html; charset=utf-8
header: Cache-Control: no-cache
header: Expires: Tue, 27 Apr 1971 19:44:06 EST
header: X-XSS-Protection: 1; mode=block; report=https://www.google.com/appserve/security-bugs/log/youtube
header: P3P: CP="This is not a P3P policy! See http://support.google.com/accounts/answer/151657?hl=en for more info."
header: X-Content-Type-Options: nosniff
header: X-Frame-Options: SAMEORIGIN
header: Set-Cookie: YSC=7EO422esU7I; path=/; domain=.youtube.com; httponly
header: Set-Cookie: s_gl=1d69aac621b2f9c0a25dade722d6e24bcwIAAABVUw==; path=/; domain=.youtube.com
header: Set-Cookie: VISITOR_INFO1_LIVE=FFCeYKl2O1E; path=/; domain=.youtube.com; expires=Sun, 03-Apr-2016 08:17:55 GMT; httponly
header: Alternate-Protocol: 443:quic,p=1
header: Connection: close
header: Transfer-Encoding: chunked
[youtube] Dumping request to https://www.youtube.com/watch?v=eBdlktuDJRQ&gl=US&hl=en&has_verified=1&bpctr=9999999999
... [[video base64 data]] ... 
[youtube] eBdlktuDJRQ: Extracting video information
[youtube] {22} signature length 40.40, html5 player new
[youtube] {43} signature length 40.40, html5 player new
[youtube] {18} signature length 40.40, html5 player new
[youtube] {5} signature length 40.40, html5 player new
[youtube] {36} signature length 40.40, html5 player new
[youtube] {17} signature length 40.40, html5 player new
[youtube] {136} signature length 40.40, html5 player new
[youtube] {247} signature length 40.40, html5 player new
[youtube] {135} signature length 40.40, html5 player new
[youtube] {244} signature length 40.40, html5 player new
[youtube] {134} signature length 40.40, html5 player new
[youtube] {243} signature length 40.40, html5 player new
[youtube] {133} signature length 40.40, html5 player new
[youtube] {242} signature length 40.40, html5 player new
[youtube] {160} signature length 40.40, html5 player new
[youtube] {278} signature length 40.40, html5 player new
[youtube] {140} signature length 40.40, html5 player new
[youtube] {171} signature length 40.40, html5 player new
[youtube] {249} signature length 40.40, html5 player new
[youtube] {250} signature length 40.40, html5 player new
[youtube] {251} signature length 40.40, html5 player new
[youtube] eBdlktuDJRQ: Downloading DASH manifest
WARNING: [youtube] eBdlktuDJRQ: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
WARNING: Your copy of avconv is outdated and unable to properly mux separate video and audio files, youtube-dl will download single file media. Update avconv to version 10-0 or newer to fix this.
send: u'GET /api/manifest/dash/key/yt5/ip/72.28.18.47/itag/0/id/o-AH1exUPoh_Jz_vOa_YHJIaMUdkQIWkAeWRRghwas83Oc/upn/jrxZGhWXg2M/playback_host/r10---sn-p5qlsn7s.googlevideo.com/sparams/as%2Chfr%2Cid%2Cip%2Cipbits%2Citag%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cplayback_host%2Crequiressl%2Csource%2Cexpire/hfr/1/fexp/910100%2C9407701%2C9407713%2C9407887%2C9407991%2C9408510%2C9408710%2C9415365%2C9415436%2C9415485%2C9416126%2C9416494%2C9416574%2C9416916%2C9417205%2C9417422%2C9418092%2C9418153%2C9418215%2C9418235/signature/2AE0E200A51B963B740919A26DFCBC19DD1A7B.784FA3709C7A7F1A0F42AEC236C61DD3D304D/pl/18/source/youtube/nh/IgpwcjAxLmlhZDI2KgkxMjcuMC4wLjE/requiressl/yes/mn/sn-p5qlsn7s/mm/31/ipbits/0/mv/m/mt/1438633420/ms/au/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm_sd_hd_clear%2Cwebm2_sd_hd_clear/sver/3/expire/1438655095 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:10.0) Gecko/20150101 Firefox/20.0 (Chrome)\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,_;q=0.7\r\nHost: manifest.googlevideo.com\r\n\r\n'
reply: 'HTTP/1.1 403 Forbidden\r\n'
header: Content-Type: text/html; charset=UTF-8
header: Date: Mon, 03 Aug 2015 20:24:56 GMT
header: Pragma: no-cache
header: Expires: Fri, 01 Jan 1990 00:00:00 GMT
header: Cache-Control: no-cache, must-revalidate
header: Server: HTTP server (unknown)
header: Content-Length: 2191
header: X-XSS-Protection: 1; mode=block
header: X-Frame-Options: SAMEORIGIN
header: Alternate-Protocol: 443:quic,p=1
header: Connection: close
[debug] Invoking downloader on u'https://r10---sn-p5qlsn7s.googlevideo.com/videoplayback?key=yt5&ip=72.28.18.47&lmt=1431871592869031&dur=261.015&itag=22&id=o-AH1exUPoh_Jz_vOa_YHJIaMUdkQIWkAeWRRghwas83Oc&mime=video%2Fmp4&upn=jrxZGhWXg2M&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&fexp=910100%2C9407701%2C9407713%2C9407887%2C9407991%2C9408510%2C9408710%2C9415365%2C9415436%2C9415485%2C9416126%2C9416494%2C9416574%2C9416916%2C9417205%2C9417422%2C9418092%2C9418153%2C9418215%2C9418235&initcwndbps=352500&pl=18&source=youtube&ratebypass=yes&nh=IgpwcjAxLmlhZDI2KgkxMjcuMC4wLjE&requiressl=yes&mn=sn-p5qlsn7s&mm=31&ipbits=0&mv=m&mt=1438633420&ms=au&sver=3&expire=1438655095&signature=DCDA59445DD2EC66B8DA4641F2A671BE01B8BE.F4D805DD67B1D1B4CDC134BE2D9358122ECE4'
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "/home/cronkilla/REMEDY_DEV/scripts/youtube-dl/youtube_dl/YoutubeDL.py", line 1436, in process_info
    success = dl(filename, info_dict)
  File "/home/cronkilla/REMEDY_DEV/scripts/youtube-dl/youtube_dl/YoutubeDL.py", line 1378, in dl
    return fd.download(name, info)
  File "/home/cronkilla/REMEDY_DEV/scripts/youtube-dl/youtube_dl/downloader/common.py", line 342, in download
    return self.real_download(filename, info_dict)
  File "/home/cronkilla/REMEDY_DEV/scripts/youtube-dl/youtube_dl/downloader/http.py", line 59, in real_download
    data = self.ydl.urlopen(request)
  File "/home/cronkilla/REMEDY_DEV/scripts/youtube-dl/youtube_dl/YoutubeDL.py", line 1732, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(_args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(_args)
  File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden

send: u'GET /videoplayback?key=yt5&ip=72.28.18.47&lmt=1431871592869031&dur=261.015&itag=22&id=o-AH1exUPoh_Jz_vOa_YHJIaMUdkQIWkAeWRRghwas83Oc&mime=video%2Fmp4&upn=jrxZGhWXg2M&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&fexp=910100%2C9407701%2C9407713%2C9407887%2C9407991%2C9408510%2C9408710%2C9415365%2C9415436%2C9415485%2C9416126%2C9416494%2C9416574%2C9416916%2C9417205%2C9417422%2C9418092%2C9418153%2C9418215%2C9418235&initcwndbps=352500&pl=18&source=youtube&ratebypass=yes&nh=IgpwcjAxLmlhZDI2KgkxMjcuMC4wLjE&requiressl=yes&mn=sn-p5qlsn7s&mm=31&ipbits=0&mv=m&mt=1438633420&ms=au&sver=3&expire=1438655095&signature=DCDA59445DD2EC66B8DA4641F2A671BE01B8BE.F4D805DD67B1D1B4CDC134BE2D9358122ECE4 HTTP/1.1\r\nAccept-Encoding: identity\r\nAccept-Language: en-us,en;q=0.5\r\nHost: r10---sn-p5qlsn7s.googlevideo.com\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:10.0) Gecko/20150101 Firefox/20.0 (Chrome)\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nConnection: close\r\n\r\n'
reply: 'HTTP/1.1 403 Forbidden\r\n'
header: Last-Modified: Wed, 02 May 2007 10:26:10 GMT
header: Content-Type: text/plain
header: Content-Length: 0
header: Connection: close
header: X-Content-Type-Options: nosniff
header: Date: Mon, 03 Aug 2015 20:24:56 GMT
header: Server: gvs 1.0

**Do not** remove the base64 data.

It is too big for posting to github. Shouldn't it be the same if you run it
on another machine, are you not getting the same error?

On Mon, Aug 3, 2015 at 4:31 PM, Sergey M. notifications@github.com wrote:

> _Do not_ remove the base64.
> 
> —
> Reply to this email directly or view it on GitHub
> https://github.com/rg3/youtube-dl/issues/6451#issuecomment-127398944.

If I was getting the same error I wouldn't ask you to post anything.

Okay I uploaded the file it is (available until 08/05/2015), the following
is a short url for it:
http://tinyurl.com/ozbaldw

On Mon, Aug 3, 2015 at 4:38 PM, Sergey M. notifications@github.com wrote:

> If I was getting the same error I wouldn't ask you to post anything.
> 
> —
> Reply to this email directly or view it on GitHub
> https://github.com/rg3/youtube-dl/issues/6451#issuecomment-127400304.

Can you watch it in browser?

Yes, I can watch it without any problem in the browser.

(Firefox for Ubuntu 39.0 canonical - 1.0)

On Mon, Aug 3, 2015 at 5:02 PM, Sergey M. notifications@github.com wrote:

> Can you watch it in browser?
> 
> —
> Reply to this email directly or view it on GitHub
> https://github.com/rg3/youtube-dl/issues/6451#issuecomment-127405687.

I was also experiencing 403 errors with some videos earlier today, they would play in the browser but wouldn't download. Just tried the same videos again and they're working now. Maybe just a glitch in their servers?

Can you download https://www.youtube.com/watch?v=eBdlktuDJRQ via youtube-dl? 

Its still not working today for me, I can still play it in the browser but it still won't download w/ a 403 Forbidden.

I'm getting the same 403 errors now. No new downloads are working.

Adam, yes I am able to download that video.
A lot of videos weren't working for me yesterday, then a few hours later the same ones worked and everything I've tried since has worked.

All these are also failing at the moment (tried as of 08/05/2015 12:08am): 
https://www.youtube.com/watch?v=Ks-yf2-iCzs
https://www.youtube.com/watch?v=X36cTqByZ7c
https://www.youtube.com/watch?v=7lp3pgAiZqo
https://www.youtube.com/watch?v=Lv6MRAIivTU
https://www.youtube.com/watch?v=lPXWt2ESxVY
https://www.youtube.com/watch?v=BXTJ5JHNC1Q
https://www.youtube.com/watch?v=xlcywgEMuGI
https://www.youtube.com/watch?v=_QLI6hlzwxs
https://www.youtube.com/watch?v=Aw90St_8ek0
https://www.youtube.com/watch?v=TOhB-tsByQM
https://www.youtube.com/watch?v=9S0ONyRctyE
https://www.youtube.com/watch?v=Ehr9PCFpyA0
https://www.youtube.com/watch?v=RQ6g4gCczVo
https://www.youtube.com/watch?v=o2ymZ90dDNI
https://www.youtube.com/watch?v=a8Iqskd_Vq8
https://www.youtube.com/watch?v=NCEXEPBRDEA
https://www.youtube.com/watch?v=pySSdwwx204
https://www.youtube.com/watch?v=wiA5QtKM_es
https://www.youtube.com/watch?v=8RZqPq1-1Tw
https://www.youtube.com/watch?v=Gz2GVlQkn4Q
https://www.youtube.com/watch?v=JaI3zg0d8gM
https://www.youtube.com/watch?v=973ibay5504
https://www.youtube.com/watch?v=yMBvf1YkRrU
https://www.youtube.com/watch?v=Ks-yf2-iCzs

[youtube] Ks-yf2-iCzs: Downloading webpage
[youtube] Ks-yf2-iCzs: Downloading video info webpage
[youtube] Ks-yf2-iCzs: Extracting video information
[youtube] Ks-yf2-iCzs: Downloading DASH manifest
WARNING: [youtube] Ks-yf2-iCzs: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] X36cTqByZ7c: Downloading webpage
[youtube] X36cTqByZ7c: Downloading video info webpage
[youtube] X36cTqByZ7c: Extracting video information
[youtube] X36cTqByZ7c: Downloading DASH manifest
WARNING: [youtube] X36cTqByZ7c: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] 7lp3pgAiZqo: Downloading webpage
[youtube] 7lp3pgAiZqo: Downloading video info webpage
[youtube] 7lp3pgAiZqo: Extracting video information
[youtube] 7lp3pgAiZqo: Downloading DASH manifest
WARNING: [youtube] 7lp3pgAiZqo: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] Lv6MRAIivTU: Downloading webpage
[youtube] Lv6MRAIivTU: Downloading video info webpage
[youtube] Lv6MRAIivTU: Extracting video information
[youtube] Lv6MRAIivTU: Downloading DASH manifest
WARNING: [youtube] Lv6MRAIivTU: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] lPXWt2ESxVY: Downloading webpage
[youtube] lPXWt2ESxVY: Downloading video info webpage
[youtube] lPXWt2ESxVY: Extracting video information
[youtube] lPXWt2ESxVY: Downloading DASH manifest
WARNING: [youtube] lPXWt2ESxVY: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] BXTJ5JHNC1Q: Downloading webpage
[youtube] BXTJ5JHNC1Q: Downloading video info webpage
[youtube] BXTJ5JHNC1Q: Extracting video information
[youtube] BXTJ5JHNC1Q: Downloading DASH manifest
WARNING: [youtube] BXTJ5JHNC1Q: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] xlcywgEMuGI: Downloading webpage
[youtube] xlcywgEMuGI: Downloading video info webpage
[youtube] xlcywgEMuGI: Extracting video information
[youtube] xlcywgEMuGI: Downloading DASH manifest
WARNING: [youtube] xlcywgEMuGI: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] _QLI6hlzwxs: Downloading webpage
[youtube] _QLI6hlzwxs: Downloading video info webpage
[youtube] _QLI6hlzwxs: Extracting video information
[youtube] _QLI6hlzwxs: Downloading DASH manifest
WARNING: [youtube] _QLI6hlzwxs: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] Aw90St_8ek0: Downloading webpage
[youtube] Aw90St_8ek0: Downloading video info webpage
[youtube] Aw90St_8ek0: Extracting video information
[youtube] Aw90St_8ek0: Downloading DASH manifest
WARNING: [youtube] Aw90St_8ek0: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] TOhB-tsByQM: Downloading webpage
[youtube] TOhB-tsByQM: Downloading video info webpage
[youtube] TOhB-tsByQM: Extracting video information
[youtube] TOhB-tsByQM: Downloading DASH manifest
WARNING: [youtube] TOhB-tsByQM: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] 9S0ONyRctyE: Downloading webpage
[youtube] 9S0ONyRctyE: Downloading video info webpage
[youtube] 9S0ONyRctyE: Extracting video information
[youtube] 9S0ONyRctyE: Downloading DASH manifest
WARNING: [youtube] 9S0ONyRctyE: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] Ehr9PCFpyA0: Downloading webpage
[youtube] Ehr9PCFpyA0: Downloading video info webpage
[youtube] Ehr9PCFpyA0: Extracting video information
[youtube] Ehr9PCFpyA0: Downloading DASH manifest
WARNING: [youtube] Ehr9PCFpyA0: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] RQ6g4gCczVo: Downloading webpage
[youtube] RQ6g4gCczVo: Downloading video info webpage
[youtube] RQ6g4gCczVo: Extracting video information
[youtube] RQ6g4gCczVo: Downloading DASH manifest
WARNING: [youtube] RQ6g4gCczVo: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] o2ymZ90dDNI: Downloading webpage
[youtube] o2ymZ90dDNI: Downloading video info webpage
[youtube] o2ymZ90dDNI: Extracting video information
[youtube] o2ymZ90dDNI: Downloading DASH manifest
WARNING: [youtube] o2ymZ90dDNI: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] a8Iqskd_Vq8: Downloading webpage
[youtube] a8Iqskd_Vq8: Downloading video info webpage
[youtube] a8Iqskd_Vq8: Extracting video information
[youtube] a8Iqskd_Vq8: Downloading DASH manifest
WARNING: [youtube] a8Iqskd_Vq8: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] NCEXEPBRDEA: Downloading webpage
[youtube] NCEXEPBRDEA: Downloading video info webpage
[youtube] NCEXEPBRDEA: Extracting video information
[youtube] NCEXEPBRDEA: Downloading DASH manifest
WARNING: [youtube] NCEXEPBRDEA: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] pySSdwwx204: Downloading webpage
[youtube] pySSdwwx204: Downloading video info webpage
[youtube] pySSdwwx204: Extracting video information
[youtube] pySSdwwx204: Downloading DASH manifest
WARNING: [youtube] pySSdwwx204: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] wiA5QtKM_es: Downloading webpage
[youtube] wiA5QtKM_es: Downloading video info webpage
[youtube] wiA5QtKM_es: Extracting video information
[youtube] wiA5QtKM_es: Downloading DASH manifest
WARNING: [youtube] wiA5QtKM_es: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] 8RZqPq1-1Tw: Downloading webpage
[youtube] 8RZqPq1-1Tw: Downloading video info webpage
[youtube] 8RZqPq1-1Tw: Extracting video information
[youtube] 8RZqPq1-1Tw: Downloading DASH manifest
WARNING: [youtube] 8RZqPq1-1Tw: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] Gz2GVlQkn4Q: Downloading webpage
[youtube] Gz2GVlQkn4Q: Downloading video info webpage
[youtube] Gz2GVlQkn4Q: Extracting video information
[youtube] Gz2GVlQkn4Q: Downloading DASH manifest
WARNING: [youtube] Gz2GVlQkn4Q: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] JaI3zg0d8gM: Downloading webpage
[youtube] JaI3zg0d8gM: Downloading video info webpage
[youtube] JaI3zg0d8gM: Extracting video information
[youtube] JaI3zg0d8gM: Downloading DASH manifest
WARNING: [youtube] JaI3zg0d8gM: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] 973ibay5504: Downloading webpage
[youtube] 973ibay5504: Downloading video info webpage
[youtube] 973ibay5504: Extracting video information
[youtube] 973ibay5504: Downloading DASH manifest
WARNING: [youtube] 973ibay5504: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] yMBvf1YkRrU: Downloading webpage
[youtube] yMBvf1YkRrU: Downloading video info webpage
[youtube] yMBvf1YkRrU: Extracting video information
[youtube] yMBvf1YkRrU: Downloading DASH manifest
WARNING: [youtube] yMBvf1YkRrU: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden
[youtube] Ks-yf2-iCzs: Downloading webpage
[youtube] Ks-yf2-iCzs: Downloading video info webpage
[youtube] Ks-yf2-iCzs: Extracting video information
[youtube] Ks-yf2-iCzs: Downloading DASH manifest
WARNING: [youtube] Ks-yf2-iCzs: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden

Just wanted to say I'm having the same problem, I'm eager to solve it so let me know if I can provide more info. Using youtube-dl from the official Arch Linux package, if it matters.

`brick@treef ~ % youtube-dl --verbose --print-traffic --dump-pages "https://www.youtube.com/watch?v=rQG8IeClBkw" &> error.log`

http://paste.ubuntu.com/12010402/

EDIT: Just wanted to add I can wget the html of the page fine (if that matters at all.) I also tried specifying a firefox user agent as a workaround and the same error happened.

I discovered that running the same dump as above worked for one user on my Debian box but failed for another. Here is the output from those.

Error: http://paste.ubuntu.com/12010602/
No Error: http://paste.ubuntu.com/12010608/

I was also able to run it without errors on OS X Yosemite.

Thanks @oddmouse, your comment inspired me to sudo the command which resulted in a successful download!

http://paste.ubuntu.com/12010740/

(you can see at the beginning where I got my sudo password wrong... :) )

I tried again with my normal user and once again received 403 forbidden. Not sure what that means...

@AStrangeEnigma Ah, cool. I hope there is something to that. The user that failed for me is not in the sudo group. However, I did run the successful test without the sudo command.

I noticed no difference for me trying the above failed videos with sudo.

The 403 Forbidden is from the webserver.

On Wed, Aug 5, 2015 at 8:43 PM, Lindy Roquemore notifications@github.com
wrote:

> @AStrangeEnigma https://github.com/AStrangeEnigma Ah, cool. I hope
> there is something to that. The user that failed for me is not in the sudo
> group. However, I did run the successful test without the sudo command.
> 
> —
> Reply to this email directly or view it on GitHub
> https://github.com/rg3/youtube-dl/issues/6451#issuecomment-128195512.

Yeah, now the video is succeeding on my normal user, so there's definitely a chance the sudo success was just a coincidence... Not sure.

I was able to get the failing user to work after deleting the ~/.cache directory. 

I have been able to successfully download all the above listed videos that
were giving errors by using the current version of youtube-dl on a
different system. I setup on Windows 8 with Ubuntu 14.10 in VirtualBox and
all is working well there.

So I'm not sure what the real problem is, but it's probably a subtle issue.
The system that has the errors above is Ubuntu Trusty via Crouton running
on top of ChromeOS, and I have noticed some anomalous behavior in that
system lately. The youtube videos after starting to play make a little
crackle sound after they start. Also, the internet connection is getting
hung up after a while, causing me to need to bounce the interface (e.g.
sudo ifconfig wlan0 down; sudo ifconfig wlan0 up).

I'm not sure if its something nefarious specific to me or a new design
"feature" rolled out by Google that perhaps is causing some issues. But if
you want me to run some tests on my system I'd be glad to help you debug
whatever it is.

On Wed, Aug 5, 2015 at 11:51 PM, Lindy Roquemore notifications@github.com
wrote:

> I was able to get the failing user to work after deleting the ~/.cache
> directory.
> 
> —
> Reply to this email directly or view it on GitHub
> https://github.com/rg3/youtube-dl/issues/6451#issuecomment-128227495.

For what it's worth, I got the 403 errors using WIndows 7, so it's not exclusive to Linux users.

Does anyone who experiencing this tried `--no-cache-dir`?

Following @oddmouse suggestion I removed the cached signature directory and tried to download `CDhfIgS4aAo` again, now it worked. To verify this wasn't chance I recovered the old signature directory and was unable to download the video. Here is a diff with the differences between the bad and good versions of the directory:

``` diff
diff -x .git -x .svn -x CVS -u -p -r bad.youtube-dl/youtube-sigfuncs/js_new_41.41.json good.youtube-dl/youtube-sigfuncs/js_new_41.41.json
--- bad.youtube-dl/youtube-sigfuncs/js_new_41.41.json   2015-07-08 17:04:29.000000000 +0200
+++ good.youtube-dl/youtube-sigfuncs/js_new_41.41.json  2015-08-06 16:39:09.000000000 +0200
@@ -1 +1 @@
-[62, 78, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 79, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3]
\ No newline at end of file
+[79, 78, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 82, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1]
\ No newline at end of file
diff -x .git -x .svn -x CVS -u -p -r bad.youtube-dl/youtube-sigfuncs/js_new_41.43.json good.youtube-dl/youtube-sigfuncs/js_new_41.43.json
--- bad.youtube-dl/youtube-sigfuncs/js_new_41.43.json   2015-07-29 22:36:51.000000000 +0200
+++ good.youtube-dl/youtube-sigfuncs/js_new_41.43.json  2015-08-06 16:39:08.000000000 +0200
@@ -1 +1 @@
-[26, 83, 82, 81, 80, 79, 78, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 28, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 0, 27, 16, 25, 24, 23, 22, 21, 20, 19, 18, 17, 84, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 44]
\ No newline at end of file
+[81, 80, 79, 78, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 84, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1]
\ No newline at end of file
```

It works! I need to also use the -f best option together w/ --no-cache-dir,
and I can download videos that I could not before. I'm still testing, but
so far all are working.

The working command line is:
youtube-dl -f best --no-cache-dir "https://www.youtube.com/watch?v=md6rxp8Uph8"

On Thu, Aug 6, 2015 at 10:40 AM, Sergey M. notifications@github.com wrote:

> Does anyone who experiencing this tried --no-cache-dir?
> 
> —
> Reply to this email directly or view it on GitHub
> https://github.com/rg3/youtube-dl/issues/6451#issuecomment-128397059.

@AdamDanischewski should work without `-f best` either.

@Sergei Interesting the first attempt failed but now subsequent attempts are going through: 
@Oddmouse Good investigating, it looks like the cache was the culprit. 

youtube-dl --no-cache-dir "https://www.youtube.com/watch?v=ucm5ICwehsg"
[youtube] ucm5ICwehsg: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno -2] Name or service not known> (caused by URLError(gaierror(-2, 'Name or service not known'),))

youtube-dl --no-cache-dir "https://www.youtube.com/watch?v=ucm5ICwehsg"
[youtube] ucm5ICwehsg: Downloading webpage
[youtube] ucm5ICwehsg: Downloading video info webpage
[youtube] ucm5ICwehsg: Extracting video information
[youtube] ucm5ICwehsg: Downloading js player new
[youtube] ucm5ICwehsg: Downloading DASH manifest
WARNING: Your copy of avconv is outdated and unable to properly mux separate video and audio files, youtube-dl will download single file media. Update avconv to version 10-0 or newer to fix this.
[download] Destination: James Morrison - You make it real (live@ Itunes Festival 30-07-2011)-ucm5ICwehsg.mp4
[download]  10.3% of 12.42MiB at 105.09KiB/s ETA 01:48^C

$ youtube-dl -U
youtube-dl is up-to-date (2015.08.06.1)
$ youtube-dl --verbose https://www.youtube.com/watch?v=13GD78Bmo8s
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'https://www.youtube.com/watch?v=13GD78Bmo8s']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.08.06.1
[debug] Python version 2.7.6 - Linux-3.16.0-45-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 9.18-6, avprobe 9.18-6, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] 13GD78Bmo8s: Downloading webpage
[youtube] 13GD78Bmo8s: Downloading video info webpage
[youtube] 13GD78Bmo8s: Extracting video information
[youtube] {43} signature length 40.43, html5 player new
[youtube] {18} signature length 40.43, html5 player new
[youtube] {5} signature length 40.43, html5 player new
[youtube] {36} signature length 40.43, html5 player new
[youtube] {17} signature length 40.43, html5 player new
[youtube] {135} signature length 40.43, html5 player new
[youtube] {244} signature length 40.43, html5 player new
[youtube] {134} signature length 40.43, html5 player new
[youtube] {243} signature length 40.43, html5 player new
[youtube] {133} signature length 40.43, html5 player new
[youtube] {242} signature length 40.43, html5 player new
[youtube] {160} signature length 40.43, html5 player new
[youtube] {140} signature length 40.43, html5 player new
[youtube] {171} signature length 40.43, html5 player new
[youtube] 13GD78Bmo8s: Downloading DASH manifest
WARNING: [youtube] 13GD78Bmo8s: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
WARNING: Your copy of avconv is outdated and unable to properly mux separate video and audio files, youtube-dl will download single file media. Update avconv to version 10-0 or newer to fix this.
[debug] Invoking downloader on u'https://r1---sn-fvf-qufe.googlevideo.com/videoplayback?initcwndbps=1797500&source=youtube&requiressl=yes&gcr=us&lmt=1417215850448535&sparams=dur%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&ipbits=0&fexp=9408241%2C9408710%2C9415365%2C9415485%2C9416023%2C9416126%2C9418153&sver=3&ratebypass=yes&dur=237.331&mime=video%2Fmp4&key=yt5&mv=m&upn=pfmjFjiWKKo&mt=1438964000&ms=au&pcm2cms=yes&itag=18&id=o-ANQtuZXMtO7ERhi6PRd0ktemrTN7gdtRIDXBXxebL86Y&mn=sn-fvf-qufe&ip=XXX.XXX.XXX.XXX&mm=31&expire=1438985629&pl=22&signature=52855DABB37F1801933BB4E811A02DD38F402F3.E14451FA854884D092E76FBBFD37C177C3DCD7942'
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1585, in process_info
    success = dl(filename, info_dict)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1527, in dl
    return fd.download(name, info)
  File "/usr/bin/youtube-dl/youtube_dl/downloader/common.py", line 342, in download
    return self.real_download(filename, info_dict)
  File "/usr/bin/youtube-dl/youtube_dl/downloader/http.py", line 60, in real_download
    data = self.ydl.urlopen(request)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1860, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(_args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(_args)
  File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden

Have you tried the --no-cache-dir option?

youtube-dl "https://www.youtube.com/watch?v=13GD78Bmo8s"
[youtube] 13GD78Bmo8s: Downloading webpage
[youtube] 13GD78Bmo8s: Downloading video info webpage
[youtube] 13GD78Bmo8s: Extracting video information
[youtube] 13GD78Bmo8s: Downloading DASH manifest
WARNING: [youtube] 13GD78Bmo8s: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (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.',)
ERROR: unable to download video data: HTTP Error 403: Forbidden

youtube-dl --no-cache-dir "https://www.youtube.com/watch?v=13GD78Bmo8s"
[youtube] 13GD78Bmo8s: Downloading webpage
[youtube] 13GD78Bmo8s: Downloading video info webpage
[youtube] 13GD78Bmo8s: Extracting video information
[youtube] 13GD78Bmo8s: Downloading js player new
[youtube] 13GD78Bmo8s: Downloading DASH manifest
[download] Destination: Your Song - Elton John-13GD78Bmo8s.mp4
[download] 100% of 8.56MiB in 02:20

Had the same problem. `rm -rf ~/.cache/youtube-dl` solved it.

Clearing the cache solved the problem for me as well on Mac OSX.

`--no-cache-dir` works like a charm, thanks for the tip

I had the same problem; clearing the cache worked, thanks.

It seems to be throwing the 403 error only for music videos and things of the sort. John Oliver, Bond trailers etc download just fine. However, I just cleared cache and now it seems to be working. Will update if I have further issues after this. 
I used youtube-dl --rm-cache-dir to clear the cache

Just a thought....
Should --no-cache-dir be the default?

...or would that cause other issues?

Should work. That's what I've tried in my code!
On Aug 14, 2015 11:53 PM, "RingoTheDog" notifications@github.com wrote:

> Just a thought....
> Should --no-cache-dir be the default?
> 
> ...or would that cause other issues?
> 
> —
> Reply to this email directly or view it on GitHub
> https://github.com/rg3/youtube-dl/issues/6451#issuecomment-131200955.

`--rm-cache-dir` would be a better option for persistent problems. If you're not at that moment doing a rip, run that command so it clears your cache directory out.

I also experienced this error, and `--no-cache-dir` helped. Here's another output from a non-functioning video, just to provide a data point:
youtube-dl --verbose https://www.youtube.com/watch?v=z_b_Mw8ksu0
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'https://www.youtube.com/watch?v=z_b_Mw8ksu0']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.08.09
[debug] Python version 2.7.10 - Linux-4.0.0-2-amd64-x86_64-with-debian-stretch-sid
[debug] exe versions: avconv 11.4-6, avprobe 11.4-6, ffmpeg 2.7.2-1, ffprobe 2.7.2-1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] z_b_Mw8ksu0: Downloading webpage
[youtube] z_b_Mw8ksu0: Downloading video info webpage
[youtube] z_b_Mw8ksu0: Extracting video information
[youtube] {43} signature length 40.42, html5 player new
[youtube] {18} signature length 40.42, html5 player new
[youtube] {5} signature length 40.42, html5 player new
[youtube] {36} signature length 40.42, html5 player new
[youtube] {17} signature length 40.42, html5 player new
[youtube] {135} signature length 40.42, html5 player new
[youtube] {244} signature length 40.42, html5 player new
[youtube] {134} signature length 40.42, html5 player new
[youtube] {243} signature length 40.42, html5 player new
[youtube] {133} signature length 40.42, html5 player new
[youtube] {242} signature length 40.42, html5 player new
[youtube] {160} signature length 40.42, html5 player new
[youtube] {278} signature length 40.42, html5 player new
[youtube] {140} signature length 40.42, html5 player new
[youtube] {171} signature length 40.42, html5 player new
[youtube] z_b_Mw8ksu0: Downloading DASH manifest
WARNING: [youtube] z_b_Mw8ksu0: Skipping DASH manifest: ExtractorError(u'Could not download DASH manifest: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.',)
[debug] Invoking downloader on u'https://r4---sn-xap5-ixas.googlevideo.com/videoplayback?key=yt5&lmt=1386555506480060&dur=257.840&source=youtube&sparams=clen%2Cdur%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cupn%2Cexpire&sver=3&id=o-AI6PONOK2paQ_uS37JzmgXp_aCL3UEHLYcjEq7wnINfD&fexp=9407015%2C9408710%2C9409069%2C9410705%2C9412756%2C9414930%2C9415052%2C9415365%2C9415436%2C9415485%2C9415943%2C9416023%2C9416126%2C9417707%2C9418153%2C9418503%2C9418801%2C9418823%2C9419445&gir=yes&requiressl=yes&ip=85.76.13.96&ipbits=0&upn=-hcZvCvXyEI&itag=135&ms=au&initcwndbps=937500&mv=m&mt=1439633543&mn=sn-xap5-ixas&mm=31&keepalive=yes&clen=15560812&expire=1439655189&pl=14&mime=video%2Fmp4&signature=7DBFF13775A35C1B2B48499252C08DD077CD590C.4AE76ADC29638BC1398BC27C71381C028E9F248C&ratebypass=yes'
[download] Resuming download at byte 5294323
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl-2015.8.9-py2.7.egg/youtube_dl/YoutubeDL.py", line 1579, in process_info
    partial_success = dl(fname, new_info)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl-2015.8.9-py2.7.egg/youtube_dl/YoutubeDL.py", line 1527, in dl
    return fd.download(name, info)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl-2015.8.9-py2.7.egg/youtube_dl/downloader/common.py", line 342, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl-2015.8.9-py2.7.egg/youtube_dl/downloader/http.py", line 60, in real_download
    data = self.ydl.urlopen(request)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl-2015.8.9-py2.7.egg/youtube_dl/YoutubeDL.py", line 1860, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 475, in error
    return self._call_chain(_args)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(_args)
  File "/usr/lib/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden

I was having same trouble with https://youtu.be/LHQqqM5sr7g and https://youtu.be/TgOhRwMJRWU but --no-cache-dir made it work. Thanks!

You should use `--rm-cache` just once instead of `--no-cache` every
time because that fixes the problem permanently and you don't need to run
it every time.

On Sun, Aug 16, 2015 at 5:45 PM, Steven Shaw notifications@github.com
wrote:

> I was having same trouble with https://youtu.be/LHQqqM5sr7g and
> https://youtu.be/TgOhRwMJRWU but --no-cache-dir made it work. Thanks!
> 
> —
> Reply to this email directly or view it on GitHub
> https://github.com/rg3/youtube-dl/issues/6451#issuecomment-131630143.

I used to have the same problem with version 2015.08.16.1 on OS X Yosemite.

I followed the advise of manually removing the cache folder and it works now:

```
rm -rf ~/.cache/youtube-dl/
```

Was having the same problem, it was fixed by removing `~/.cache/youtube-dl/`.

@gregf Thanks, that seems to have fixed this issue for me so far. Wonder why the cache is causing the error...


Resolving patch:
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -660,7 +660,7 @@ def _signature_cache_id(self, example_sig):
 
     def _extract_signature_function(self, video_id, player_url, example_sig):
         id_m = re.match(
-            r'.*?-(?P<id>[a-zA-Z0-9_-]+)(?:/watch_as3|/html5player)?\.(?P<ext>[a-z]+)$',
+            r'.*?-(?P<id>[a-zA-Z0-9_-]+)(?:/watch_as3|/html5player(?:-new)?)?\.(?P<ext>[a-z]+)$',
             player_url)
         if not id_m:
             raise ExtractorError('Cannot identify player %r' % player_url)
@@ -1289,7 +1289,7 @@ def _map_to_format_list(urlmap):
                                 player_desc = 'flash player %s' % player_version
                             else:
                                 player_version = self._search_regex(
-                                    r'html5player-([^/]+?)(?:/html5player)?\.js',
+                                    r'html5player-([^/]+?)(?:/html5player(?:-new)?)?\.js',
                                     player_url,
                                     'html5 player', fatal=False)
                                 player_desc = 'html5 player %s' % player_version


Test patch: