Jump to content
Ketarin forum

Unable to download some FileHippo apps


Andarium
 Share

Recommended Posts

FileHippo changed "download link" / "download page" for some apps so instead of

<meta http-equiv="Refresh" content="3; url=/download/file/3a16c7edabbb9238853658b146c49f12f23099c3eebbac257f3c3b59bb1f3a74/"/> 

//That was Opera download link

 

there is new form of link via JavaScript:

function download() {var iClient = new DownloaderClient({ "data": encryptedData.encdata, "key": encryptedData.enckey },
'http://filehippo.com/download_7-zip_64/','http://download.filehippo.com/',456);
iClient.download(error_callback, {'downloadAs' : '7z922-x64_inst.msi'});
}
//That was 7-zip x64 download link
 
I debugged ketarin source code and learned that ketarin can work only with first type of links.
Is there any chance that in new version of ketarin there will be some solution regarding this?
 
Thanks for awesome Ketarin,
Andarium
Link to comment
Share on other sites

Just found out solution for this. I've changed this line in ExternalServices.cs in FileHippoDownloadUrl function:

string downloadUrl = GetFileHippoBaseDownloadUrl(fileId) + string.Format("download/{0}/", overviewPage.Substring(pos, 32));

to

string downloadUrl = GetFileHippoBaseDownloadUrl(fileId) + string.Format("download/{0}/", overviewPage.Substring(pos, 32)) + "?direct";

After compilation everything seems to be working fine. Hope this (or better solution) will be added in the new official Ketarin release.

Link to comment
Share on other sites

Just found out solution for this. I've changed this line in ExternalServices.cs in FileHippoDownloadUrl function:

string downloadUrl = GetFileHippoBaseDownloadUrl(fileId) + string.Format("download/{0}/", overviewPage.Substring(pos, 32));

to

string downloadUrl = GetFileHippoBaseDownloadUrl(fileId) + string.Format("download/{0}/", overviewPage.Substring(pos, 32)) + "?direct";

After compilation everything seems to be working fine. Hope this (or better solution) will be added in the new official Ketarin release.

 

Pls Andarium can you post a download link of your recompiled exe? Thx!

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.