- How To Download Embedded Openload Videos On Youtube
- How To Download Openload Movies
- How To Download Openload Video
- Download Embedded Flash
Embed Streaming Videos. If any issue let us know Live Chat. Embed source openload. Embed source openload (download links from Openload and if video showing not found check after few mins).
openload.js
// Usage: phantomjs openload.js <video_url> |
// if that doesn't work try: phantomjs --ssl-protocol=any openload.js <video_url> |
var separator =' | '; |
var page =require('webpage').create(), |
system =require('system'), |
id, match; |
if(system.args.length<2) { |
console.error('No URL provided'); |
phantom.exit(1); |
} |
match =system.args[1].match( |
/https?://(?:openload.(?:co|io)|oload.tv)/(?:f|embed)/([w-]+)/); |
if(match null) { |
console.error('Could not find video ID in provided URL'); |
phantom.exit(2); |
} |
id = match[1]; |
// thanks @Mello-Yello :) |
page.onInitialized=function() { |
page.evaluate(function() { |
deletewindow._phantom; |
deletewindow.callPhantom; |
}); |
}; |
page.settings.userAgent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36'; |
page.open('https://openload.co/embed/'+ id +'/', function(status) { |
var info =page.evaluate(function() { |
return { |
decoded_id:document.getElementById('streamuri').innerHTML, |
title:document.querySelector('meta[name='og:title'],' |
+'meta[name=description]').content |
}; |
}); |
var url ='https://openload.co/stream/'+info.decoded_id+'?mime=true'; |
console.log(url + separator +info.title); |
phantom.exit(); |
}); |
commented Apr 9, 2017 • edited
edited
Requires PhantomJS. The code is being used by Openload extractor for youtube-dl . |
commented May 23, 2017 • edited by Tithen-Firion
edited by Tithen-Firion
I had to call phantomjs with --ssl-protocol=any otherwise page.open would fail. |
commented May 25, 2017
Thanks, I forgot to add it here. It's already added in this PR. :D |
commented Sep 11, 2017 • edited by Tithen-Firion
edited by Tithen-Firion
Does this have method restricted by API downloads? I plan to use this to mount Openload streams into JWPlayer. |
commented Sep 11, 2017
It's the same URL as when you watch something on Openload in your browser. That means it won't work for different IP. It will probably expire too but don't know after how long. I was downloading something for 2-3h and it worked fine. |
commented Nov 5, 2017
Just a little question, when a client goes to my website and does 'phantomjs openload.js <video_url>' via exec(), the ip shown on openload url is my machine's IP, not my visitor/client IP. How can I fix this? Do you have any idea? Cheers. |
commented Nov 5, 2017
You've got two options:
|
commented Nov 15, 2017
Hi, Thanks for this. I will like to ask a few questions, I added this line to my edited version of the code page.settings.resourceTimeout = 3000; hoping that should in case the page takes time to load it should timeout.I use a Python subprocess to execute the JS. it works as expected but in some cases when I call the communicate() function the application just freezes and have to start all over.Is there a better approach you will advise to handle this? Thanks a lot. |
commented Nov 15, 2017
This snippet works fine for me: Both in Python 2 and 3. |
commented Jan 6, 2018 • edited by Tithen-Firion
edited by Tithen-Firion
This is not working again. You must change streamuri with streamurj . |
commented Jan 6, 2018
See, when I update it they will change it again. So I'm not gonna bother. |
commented Jan 17, 2018 • edited
edited
It seems like it does not work anymore even after running sed -e '32 s/getElementById.streamur./querySelector('*[id^=streamur]/' on this openload.js file. I'm of course getting a similar link to 'https://openload.co/stream/miEoI5oT8JE~1516281189~184.73.0.0~ImWW-Wbq?mime=true | bunny HTTP/1.1' but GETting this link only gets me a 'HTTP/1.1 400 Bad Request' type response. Is this only me or they somehow changed something else somewhere. |
commented Jan 17, 2018
@gonubana just tested and curl -L -k -o <filename> <generated URL> works perfectly fine. |
commented Jan 26, 2018
Just read 4 comments above before saying 'it doesn't work'. |
commented Apr 7, 2018
I don't think it is working anymore ` TypeError: null is not an object (evaluating 'document.getElementById('streamuri').innerHTML') undefined:3 :7 ` |
commented Apr 10, 2018
Not work anymore :( |
commented May 5, 2018
#streamuri and #streamurl have been empty for a couple of weeks now. |
commented May 11, 2018
Did anyone find a solution for this? |
commented May 18, 2018
This is the current magic: console.log('https://openload.co/stream/' + page.content.match(/w+ |
commented Jul 17, 2018
it should be console.log('https://oload.stream/stream/' + page.content.match(/w+~d+~d+.d+.d+.d+~w+/)[0] + '?mime=true'); for more clear |
commented Jul 17, 2018
![How to download embedded openload videos on facebook How to download embedded openload videos on facebook](/uploads/1/2/6/8/126897763/146274550.jpg)
Since there is a domain oload.download, regex should be /https?://(?:openload.(?:co|io)|oload.tv|oload.download)/(?:f|embed)/([w-]+)/) And, i was looking into the deobfuscated jsnice code of the source and i saw this line if ('toString' in sin && sin.toString().indexOf('[native code') != -1 && document.getElementById.toString().indexOf('[native code') -1 || window.callPhantom || /Phantom/.test(navigator.userAgent) || window.__phantomas || next() || window.domAutomation || window.webdriver || document.documentElement.getAttribute('webdriver')) I guess there is some anti-measure phantomjs in the site, but aparently its not working, because @gonubana comment does captures the download URL.. |
commented Jul 18, 2018
reduce regex complexity console.log('https://oload.stream/stream/' + page.content.match(/w+~d+~[d.]+~w+/)[0] + '?mime=true'); |
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
![Openload tv series Openload tv series](/uploads/1/2/6/8/126897763/183169449.png)
I plan to make an Android mobile video streaming application. The videos are mostly hosted by Openload.co, so that the videos can open in a player on the mobile one must succeed in recovering the direct link of the video Openload. I need to code this in PHP. I tried to retrieve that in the source code of the page with a file_get_contents or a Curl, but nothing does. The file_get_contents and Curl do not load the page and its scripts before retrieving the source code. Except that the link of the video is a unique link. It changes every time the page is refreshed. The link is generated by javascript code.
An example, here is the embed link of the video: https://openload.co/embed/z_wuuTTJSCg/
In the source code via inspect the item (or developer console I don't know, on your browser), you can see the line:
In this line is the id, date , IP and a token. (Example: z_wuuTTJSCg~1496728099~149.91.0.0~rIj0zw9c)
What is in this line is added to this link: https://openload.co/stream/ (example: openload.co/z_wuuTTJSCg~1496728099~149.91.0.0~rIj0zw9c)
Download 'UNCHARTED 4' PC Game fully compressed torrents kickass download.!! UNCHARTED 4 PS4 PS3 blackbox repack RGmechanics.ISO download. Jan 26, 2018 - Download Uncharted 3| RG Mechanics Games| free. download full Version PC game Torrent RG Mechanics| free. download full pc. Mar 25, 2018 - Download Uncharted: Drake's Fortune| RG Mechanics Games| free. download full Version PC game Torrent RG Mechanics| Free. Download uncharted 3 pc game torrent. Mar 31, 2017 - Uncharted: Drake's Fortune is a 2007 action-adventure platform video game developed by Naughty Dog, and published by Sony Computer Entertainment FULL GAME. HOME PC GAMES DLCS PC GAMES UPDATES TOP GAMES. TORRENT LINKS. Download Password: skidrowfull.com.
How To Download Embedded Openload Videos On Youtube
and it's work like that.
If you look at the source code of this page directly with 'view-source:' you will see that in the line designate there will be marked 'HERE IS THE LINK'.
WaranoWarano
2 Answers
This is a function that runs after the OpenLoad page has gotten all the variables sorted out for you so you can just hotlink the video
How To Download Openload Movies
If your application does not run the web page and only retrieves it (like cURL) the script that creates the valid token is on line 163 of the source code, right after script element
<script src='/assets/js/video-js/video.js.ol8.js'></script>
.However it will require a large amount of time to understand how it is created and be able to replicate it.CadibooCadiboo
How To Download Openload Video
Most easiest way to get openload link, just use youtube-dl cause you can't done that with PHP & JS
John DoeJohn Doe
Download Embedded Flash
protected by Community♦Oct 16 '17 at 23:56
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Would you like to answer one of these unanswered questions instead?