mcrapet / plowshare-modules-legacy

Plowshare legacy & unmaintained modules
GNU General Public License v3.0
122 stars 78 forks source link

OpenLOAD #141

Closed normanfeltz closed 7 years ago

normanfeltz commented 7 years ago

Hello,

I have a error on downloading on OpenLOAD normanfeltz@srv:~$ plowdown https://openload.co/embed/F31CzCPMb0c/ Output directory: /home/Plex/_Downloads Starting download (openload): https://openload.co/embed/F31CzCPMb0c/ parse failed (sed): "/fid=/ s/^.*"\(.*\)".*$/\1/p" (skip 0) Failed inside openload_download(), line 84, openload.sh Failed inside openload_download() [1]

Cordialy

kidburglar commented 7 years ago

My PR must make it work but the API have many limitation from what I see. When I have time I will try to see if there is a possibility to use browser download when the API not work.

Edit: After a little look I think I have some informations. It look that the browser URL have 4 part File_ID~timestamp_unix~ipv6_form_ip~XXX We only need the XXX part...

Edit2: @mcrapet It look that the JS is obfuscate with aadecode and something other. I think that the best way is to use something like phantomjs if it's installed on the user computer. What do you think ?