erickutcher / httpdownloader

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

Suggest providing input boxes for user agent and referer #247

Closed StrollStars closed 9 months ago

StrollStars commented 9 months ago

Although I can manually fill in the user agent and referer in the headers, doing so can easily lead to download failures. I hope to provide input boxes to directly enter the content.

erickutcher commented 9 months ago

The browser extensions can automatically fill out that information for you.

I know that a lot of sites require the user agent and referer to initiate a download, but sometimes they want other header values and it would be impossible to cater to them all. That's why I have a generic header input box.

StrollStars commented 9 months ago

@erickutcher However, I have a bit of an issue here. Whether it's by clicking the download button or using the right-click menu for download, the following prompt always appears: image Is it related to run the program in portable mode?

erickutcher commented 9 months ago

That message usually comes up if the Server isn't enabled in the program's Options. Open HTTP Downloader and then go into the Options window. Find the Server section on the left and then put a check in "Enable server". The default server address and port should be the same as what's set in the extensions, but if not, you'll want them to match.

StrollStars commented 9 months ago

@erickutcher Thank you very much, you've resolved my issue.