Ticket #903 (closed enhancement: fixed)

Opened 3 years ago

Last modified 18 months ago

add hotfile.com support

Reported by: michele.mascolo@… Owned by:
Priority: normal Milestone: Firmware 2.3.7.0
Component: fon-plugin-rapidshare Version: N/A
Severity: unknown
Cc: Hardware: both

Description

is possible add the hotfile.com system to rapidshare/megaupload system?

thanks Michele Mascolo

Attachments

Change History

  Changed 3 years ago by matthijs

  • hardware changed from 2.0n (FON2300) to both
  • status changed from new to confirmed
  • version changed from 2.3.6.1 (Gari jr.) to N/A
  • milestone set to Firmware 2.3

At first glance, it looks like they have a normal login procedure.

You could try adding the following to the /etc/config/luci_dlmanager file on your Fonera. You'll have to have a DEV firmware for that, see reportbugs for more info on how to access files on your Fonera using a DEV firmware. Feel free to ask for help here if you can't figure it out.

config 'dlprovider' 'hotfile'
        option 'name' 'Hotfile'
        option 'loginuri' 'http://www.hotfile.com/login.php'
        option 'postdata' 'user=%username%&pass=%password%'

Furthermore, you'll have to run the following command (it should be a single line):

root@Fonera:~# wget -O /usr/lib/lua/luci/model/cbi/dlmanager/auth.lua http://www.stdout.nl/static/tmp/auth.lua-nofollow

This command will make a small change to the downloader code, needed so that it will not let itself redirected after logging in.

I've tested these instructions and they allow me to log in, but I have no premium account to actuall test the direct download stuff. One thing that might go wrong, is that instead of downloading the actual file, it will download an HTML page containing a link to the actual file. If so, you might need to actually enable some "direct link" or "hotlink" thingy in hotfile, just like in rapidshare.

follow-up: ↓ 6   Changed 3 years ago by michele.mascolo@…

tested with premium account, it works perfectly

thanks

Michele Mascolo

  Changed 3 years ago by matthijs

(In [1768]) luci-downloadmanager: Don't follow redirects on login.

By default, the httpclient library follows any redirects when doing a request and then only returns the cookie data for the final request. For login requests done by the downloadmanager, only the cookies from the first request are relevant, so don't follow redirects.

This is needed to support hotfile.com.

References: #903

  Changed 3 years ago by matthijs

  • status changed from confirmed to closed
  • resolution set to fixed

(In [1769]) luci-downloadmanager: Add support for hotfile.com.

Closes: #903

follow-up: ↓ 7   Changed 3 years ago by matthijs

  • milestone changed from Firmware 2.3 to Firmware 2.3.7.0

in reply to: ↑ 2   Changed 2 years ago by anonymous

Ciao, mi sai dire come sei riuscito a far funzionare l'account premium hotfile? Io ho seguito il track ( http://trac.fonosfera.org/fon-ng/ticket/903) ma non mi funziona. Spero tu possa aiutarmi... Grazie

Replying to michele.mascolo@…:

tested with premium account, it works perfectly thanks Michele Mascolo

in reply to: ↑ 5   Changed 2 years ago by anonymous

Replying to Anonymous:

io ho seguito per filo e per segno quello che è scritto nel trac, hai provato a riavviare la fonera?

Add/Change #903 (add hotfile.com support)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
 
Note: See TracTickets for help on using tickets.