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.
Unable to download webpage: HTTP Error 403 #10225
Comments
|
This gives the same 403 error in browser. What else do you expect to see? |
|
This doesn't give 403 error in my browser. Which region are you accessing from? |
|
Also got 403 from Taiwan, with Firefox on Linux. |
By the way, this looks like a m3u8 manifest. AFAIK current browsers does not support playing m3u8 manifests directly. Which browser are you using? |
|
I am now getting 403 as well. I was able to download couple of videos successfully last week. It is not working for some reason now. I am able to go to http://www.einthusan.com/movies/watch.php?hindimoviesonline=Baaghi+%282016%29&lang=hindi&id=2981 and play the video on the browser though. |
|
An m3u8 URL can be loaded in the web page does not indicate that it can be downloaded. For this case, it's a copyrighted movie so youtube-dl won't support it. |
I get the following error message while trying to download:
youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' 'http://184.173.146.34/einthusancom/cold/B2147.mp4.m3u8?st=ZuDbzye8kB64zsRdYdsLmw&e=1469384005' -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-f', u'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best', u'http://184.173.146.34/einthusancom/cold/B2147.mp4.m3u8?st=ZuDbzye8kB64zsRdYdsLmw&e=1469384005', u'-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.01
[debug] Python version 2.7.10 - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.1.1, ffprobe 3.1.1
[debug] Proxy map: {}
[generic] B2147.mp4: Requesting header
WARNING: Could not send HEAD request to http://184.173.146.34/einthusancom/cold/B2147.mp4.m3u8?st=ZuDbzye8kB64zsRdYdsLmw&e=1469384005: HTTP Error 403: Forbidden
[generic] B2147.mp4: Downloading webpage
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 youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 394, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1985, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error
return self._call_chain(_args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(_args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)