html2rss icon indicating copy to clipboard operation
html2rss copied to clipboard

Set appropriate User-Agent header when requesting sites by default

Open gildesmarais opened this issue 1 year ago • 2 comments

The User-Agent should be configurable.

i.e. for version 1.0:

  • [ ] html2rss/1.0

gildesmarais avatar Aug 21 '24 15:08 gildesmarais

Aha I think I am running into this. So setting User-Agent as a header has no effect?

hlascelles avatar Oct 25 '24 08:10 hlascelles

Aha, I figured to have oversighted the setting of custom headers when using auto_source in html2rss-web. https://github.com/html2rss/html2rss-web/pull/691 fixes it.

This issue asks for this gem enable configurable headers via Config. :)

gildesmarais avatar Oct 25 '24 14:10 gildesmarais