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

Openload - 403 Error #15406

Closed
tb3d opened this issue Jan 24, 2018 · 10 comments
Closed

Openload - 403 Error #15406

tb3d opened this issue Jan 24, 2018 · 10 comments

Comments

@tb3d
Copy link

@tb3d tb3d commented Jan 24, 2018

Hello, since today I am getting openload error. Yesterday was working right.

Output:
[Openload] dXCcIbhPfyM: Downloading embed webpage
[Openload] dXCcIbhPfyM: Executing JS on webpage
ERROR: unable to download video data: HTTP Error 403: Forbidden

Debug output:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-o', u'/home/storage/videos/53a768e98351d4edbf5f88a575680b49/53a768e98351d4edbf5f88a575680b49.mp4', u'https://openload.co/embed/dXCcIbhPfyM/', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.01.21
[debug] Python version 2.7.13 (CPython) - Linux-4.9.0-4-amd64-x86_64-with-debian-9.3
[debug] exe versions: ffmpeg 3.2.9-1, ffprobe 3.2.9-1, phantomjs 2.1.1
[debug] Proxy map: {}
[Openload] dXCcIbhPfyM: Downloading embed webpage
[Openload] dXCcIbhPfyM: Executing JS on webpage
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'https://openload.co/stream/dXCcIbhPfyM~1516880343~2a01:4f8::~vne6939P?mime=true'
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/YoutubeDL.py", line 1895, in process_info
success = dl(filename, info_dict)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1834, in dl
return fd.download(name, info)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line 361, in download
return self.real_download(filename, info_dict)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/http.py", line 286, in real_download
establish_connection()
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/http.py", line 74, in establish_connection
ctx.data = self.ydl.urlopen(request)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 2198, 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 467, in error
result = 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 654, in http_error_302
return self.parent.open(new, timeout=req.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)
HTTPError: HTTP Error 403: Forbidden

How to solve it? Thanks!

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jan 25, 2018

Just tried it and it works for me:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://openload.co/embed/dXCcIbhPfyM/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.01.14
[debug] Git HEAD: 1d1d60f6d
[debug] Python version 2.7.14 (CPython) - Linux-4.14.12-x86_64-linode92-x86_64-with-glibc2.2.5
[debug] exe versions: phantomjs 2.1.1
[debug] Proxy map: {}
[Openload] dXCcIbhPfyM: Downloading embed webpage
[Openload] dXCcIbhPfyM: Executing JS on webpage
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on u'https://openload.co/stream/dXCcIbhPfyM~1516972351~2400:8902::~ZYoL5G7w?mime=true'
[download] Destination: bull.2016.213.hdtv-lol.mkv.mp4-dXCcIbhPfyM.mp4
[download]   1.4% of 186.93MiB at 243.49KiB/s ETA 12:54^C
ERROR: Interrupted by user

Could you run with --write-pages and upload all *.dump files for debugging?

@tb3d
Copy link
Author

@tb3d tb3d commented Jan 25, 2018

This cmd used:

youtube-dl -o '/home/storage/videos/2d11ed663384851260514ce86a854b11/2d11ed663384851260514ce86a854b11.mp4' https://openload.co/embed/vtW0HMT2ny0/ --write-pages --verbose

Here it is:
vtW0HMT2ny0_https_-openload.co_embed_vtW0HMT2ny0.txt

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jan 25, 2018

Thanks. Could you check whether the URL shown in this line

[debug] Invoking downloader on u'https://openload.co/stream/dXCcIbhPfyM~1516880343~2a01:4f8::~vne6939P?mime=true'

Plays in browsers or not?

(IIRC those URLs have time limits. You may want to regenerate the link for testing)

@tb3d
Copy link
Author

@tb3d tb3d commented Jan 25, 2018

I have regenerated new link. I have opened direct url for video in browser:

Output:
{"status":403,"msg":"wrong IP"}

But after 5 min. I have tried it again. Youtube-dl works right..and URL works too. I do not understand. Sometimes it works, sometimes not.. Has openload some limits for it?

@tb3d
Copy link
Author

@tb3d tb3d commented Jan 25, 2018

I downloaded 4 videos for test and now it's not working.. But downloaded videos are still working.

@Hrxn
Copy link

@Hrxn Hrxn commented Jan 25, 2018

Alternatively, try it with https://openload.com/f/<your-id>

@tb3d
Copy link
Author

@tb3d tb3d commented Jan 25, 2018

Same error. It looks like openload limits..

@ghost
Copy link

@ghost ghost commented Mar 29, 2018

It's work with last version of phantomjs, installed with npm on ubuntu 14.04, downloading and i getting the url, but how i can stream on my site, because i get :

{"msg":"download ISP is different to request ISP. request: AS50937 download: AS8708","status":403}

I think i must set outgoing ip in youtube-dl (ip from client), or exist another way?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 29, 2018

The error speaks for itself. It's technically impossible to simply set outgoing IP.

@KrisKnez
Copy link

@KrisKnez KrisKnez commented Jan 16, 2019

Same issues here, apparently it is a firewall problem when you are doing it from a server. I am still unsure how to fix 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
5 participants
You can’t perform that action at this time.