Jump to content
Ketarin forum
Sign in to follow this  
Andarium

Unable to download some FileHippo apps

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

Share this post


Link to post
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.

Share this post


Link to post
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!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • 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.