erickutcher / httpdownloader

HTTP(S) download manager that uses input/output completion ports (IOCP).
https://erickutcher.github.io/#HTTP_Downloader
558 stars 62 forks source link

It download html file, instead original exe file #170

Closed shahwaliullah closed 3 years ago

shahwaliullah commented 3 years ago

Please check: https://www.videohelp.com/software/ShanaEncoder https://www.videohelp.com/download/ShanaEncoder5.2.1.5.exe

Some others download managers download original file: ShanaEncoder5.2.1.5.exe But HTTP Downloader download html file

HTTP Download Error

IDM

smaragdus commented 3 years ago

@shahwaliullah

I downloaded this file successfully, screen:

HTTP Downloader 1 0 4 3 - 2021-06-16 - 002

I am using HTTP Downloader version 1.0.4.3.

shahwaliullah commented 3 years ago

I am also using version 1.0.4.3, 32bit in Windows 7 32 bit.

Still getting html file.

HTTP Downloader

erickutcher commented 3 years ago

The site requires the Referer header to download the file.

When you add the link to the Add URL(s) window, click on the "Advanced options" checkbox. Click on the "Headers" tab and paste the following into the headers textbox: Referer: https://www.videohelp.com/software/ShanaEncoder

That should solve it.

If you use any of the browser extensions to download the link, then it'll automatically supply the Referer header. It's sometimes the case that manually adding links will fail. Normally it's because some header value is missing.

shahwaliullah commented 3 years ago

Thank you very much, Issue resolved by Referer.