Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Hey, I tried do download a udemy tutorial. Which failed.
I tried several things and workarounds but always got the same error behaviour.
/usr/local/bin/youtube-dl --version == 2020.06.16.1
OS: deb 9
As requested the verbose output below:
/usr/local/bin/youtube-dl --print-traffic --verbose --user-agent 'Mozilla/5.0 (Windows NT x.y; Win64; x64; rv:10.0) Gecko/20100101 Firefox/10.0' -u XXXXXX@XX.XXX -p XXXXXXXX -o './%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/course/go-the-complete-developers-guide [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'--print-traffic', u'--verbose', u'--user-agent', u'Mozilla/5.0 (Windows NT x.y; Win64; x64; rv:10.0) Gecko/20100101 Firefox/10.0', u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'-o', u'./%(playlist)s/%(chapter _number)s - %(chapter)s/%(title)s.%(ext)s', u'https://www.udemy.com/course/go-the-complete-developers-guide'] WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this. [debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out ANSI_X3.4-1968, pref ANSI_X3.4-1968 [debug] youtube-dl version 2020.06.16.1 [debug] Python version 2.7.13 (CPython) - Linux-4.12.14-lp151.27-default-x86_64-with-debian-9.12 [debug] exe versions: ffmpeg 3.2.14-1, ffprobe 3.2.14-1, rtmpdump 2.4 [debug] Proxy map: {} [udemy:course] Downloading login popup send: u'GET /join/login-popup/?displayType=ajax&showSkipButton=1 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nHost: www.udemy.com\r\n\r\n' reply: 'HTTP/1.1 403 Forbidden\r\n' header: Date: Fri, 19 Jun 2020 07:17:56 GMT header: Content-Type: text/html; charset=UTF-8 header: Transfer-Encoding: chunked header: Connection: close header: CF-Chl-Bypass: 1 header: Set-Cookie: __cfduid=d2eb271664081a711e0f83d4dd2ed15211592551076; expires=Sun, 19-Jul-20 07:17:56 GMT; path=/; domain=.udemy.com; HttpOnly; SameSite=Lax header: Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0 header: Expires: Thu, 01 Jan 1970 00:00:01 GMT header: X-Frame-Options: SAMEORIGIN header: cf-request-id: 036d0a08ae0000061494900200000001 header: Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" header: Vary: Accept-Encoding header: X-Content-Type-Options: nosniff header: Server: cloudflare header: CF-RAY: 5a5b792118940614-FRA header: Content-Encoding: gzip ERROR: Unable to download webpage: 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 yo utube-dl with the --verbose flag and include its complete output. File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 627, in _request_webpage return self._downloader.urlopen(url_or_request) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2238, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/usr/lib/python2.7/urllib2.py", line 435, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 548, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 473, in error return self._call_chain(*args) File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)