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

Unable to download webpage: HTTP Error 403 #10225

Closed
kidz4545 opened this issue Aug 4, 2016 · 6 comments
Closed

Unable to download webpage: HTTP Error 403 #10225

kidz4545 opened this issue Aug 4, 2016 · 6 comments

Comments

@kidz4545
Copy link

@kidz4545 kidz4545 commented Aug 4, 2016

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)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 4, 2016

This gives the same 403 error in browser. What else do you expect to see?

@dstftw dstftw closed this Aug 4, 2016
@kidz4545
Copy link
Author

@kidz4545 kidz4545 commented Aug 5, 2016

This doesn't give 403 error in my browser. Which region are you accessing from?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Aug 5, 2016

Also got 403 from Taiwan, with Firefox on Linux.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Aug 5, 2016

This doesn't give 403 error in my browser.

By the way, this looks like a m3u8 manifest. AFAIK current browsers does not support playing m3u8 manifests directly. Which browser are you using?

@kidz4545
Copy link
Author

@kidz4545 kidz4545 commented Aug 6, 2016

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.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Aug 6, 2016

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.

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.