-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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.co extractor not working #10408
Comments
they've changed the video link obfuscation to a very simple method, lol openload video link extraction script |
A nice hit! @yokrysty Did you write this script? If so could you declare this script as Public Domain or UNLICENSE so that it can be used in youtube-dl? |
yes i wrote it now in 5 min :), yes you can use it |
before decrypting the data make sure you replace all the html entities |
i don't mind :) |
OK Anyway thanks for the code :) |
Thank you, too. |
Before a new version is released, you can download https://github.com/rg3/youtube-dl/archive/master.zip and unzip it. |
Amazing! Thank you very much ;) |
we're getting pigeons again |
Confirmed. |
@yan12125 the change is not major: at the last char code in the array add 2 then convert it to char |
Many thanks again! Updated. |
They updated their site again. Add 1 instead of 2. Maybe this gets changed throughout the day? |
Or, they are watching this repo today. It's working two hours ago. |
then do it like this :) |
Just tried it. The latest commit is still working. Doesn't it work for you? @yokrysty |
This is not working because the number added to last char code is variable. |
I've changed 2 to 1 in 98908bc, and it's still working. Feel free to leave a comment if its algorithm is changed again. |
@yan12125 use my method from above where I read the number that needs to be added from the javascript |
I see. Will integrate it the next time |
seems that they're now migrating to the canvas method, but on a different host. |
Its a 3 now. |
I have already see this issue for your JavaScript interpreter but long time, I haven't see update for it, and this one not working for me, too much work to do on it, but I'm not sure I m using the last version. And use PhantomJs or JS2py with kodi is realy heavy too. For the moment I need to try Ducktape with a wrapper. |
@TmpName Pairing method is used by Exodus addon for Kodi. You can pair using your phone. Or you could set up a server (in the same network) that uses whatever works to get video url and return it back to Kodi. That way you could use PhantomJS or even better, Selenium WebDriver (Python version). |
I just want to point out that there is another option. You can simply use the openload api (https://openload.co/api, not the hidden stream api which needs pairing) If you are the owner of the videos, their api always work. But if you are not, their api won't work during the peak hours. You need to crack a captcha to get the download link. But I think it is not hard using computer vision or existing captcha solving services, e.g. deathbycaptcha. |
I've tried that API. It seems it's "peak hours" all the time. |
As mentioned in my previous comment, if you are not the owner of the video, the api does not work for you during the peak hours. But if you are the owner, it works 24/7. |
FYI: Doesn't work:
Not tested:
Things that work and can be merged to master:
Things that work and can't be merged to master:
|
Interesting. I didn't implement the jsdom solution. It's just the first thing came to my mind to simulate a browser. It seems that jsdom has an open issue that might be related to your toString failure: jsdom/jsdom#1756 If you just want to build a website and use openload videos, and you don't need fine-grained control over the video (e.g. implementing danmu), the easiest way is to embed with |
Openload stream url not extracting again. Please assist |
Please try #12754. |
i just made a c# implementation if you would like to port this over to python, but I don't know how long till they change their algorithm again. |
I've tried to download from openload today but It just download useless video instead!
|
Pigeons? |
@Hrxn I think downloaded file is a text because it is only 36Bytes and probably it contains "403 Forbidden" message or something like that. For now I couldnt check it with my laptop but it seems that decoding code fails, according to @mohd20 reports, to decode the encrypted digits to find the exact url of video. |
Did you try this as well: |
@Hrxn isn't that's the one already used now? I tried again today with another link and got
|
Nope, it's just a pull request. Openload module in master branch is still broken. Edit: I meant this: #12754. The other link is just simple example of how to use PhantomJS to get download URL from Openload. |
What about https://github.com/GoogleChrome/puppeteer? Can this be used to extract it? |
@revolter I think that (In my opinion) puppeteer needs too much dependency so that it will be useless. Also recoding is required for puppeteer. It will be just waste of time. |
This is fixed in #14225, which will be included in the next version. Thanks to @Tithen-Firion! |
As a reference: one of major PhantomJS developer states that the project is now abandoned and suggests puppeteer: ariya/phantomjs#15105 (comment) |
Currently working regexp way if you need; |
@partyconfetti thanks for your code. |
@makgun02 thanks 🎉 |
EDIT : I am idiot, haven't seen the commit made yesterday :( Hello,
Hope they didn't change again :( EDIT : After verbose mode 👍
|
youtube-dl --get-url --verbose https://openload.co/embed/kUEfGclsU9o/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--get-url', u'--verbose', u'https://openload.co/embed/kUEfGclsU9o/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.22
[debug] Python version 2.6.6 - Linux-2.6.32-642.1.1.el6.x86_64-x86_64-with-centos-6.8-Final
[debug] exe versions: ffmpeg 0.6.5, ffprobe 0.6.5
[debug] Proxy map: {}
ERROR: Unable to extract link image; 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.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 691, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 347, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/openload.py", line 62, in _real_extract
r'<img[^>]+id="linkimg"[^>]+src="([^"]+)"', webpage, 'link image')
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 650, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract link image; 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.
The text was updated successfully, but these errors were encountered: