mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-07 00:56:34 +02:00
Overhaul the usage of libcurl-impersonate (#4535)
libcurl-impersonate was not being used properly, as the code was overriding the headers set by it to prevent detection. - update the libcurl-impersonate to an actively managed lexiforest fork - impersonate Chrome 131 - move the defaultHttpHeaders to http.php, where it belongs - only set defaultHttpHeaders if curl-impersonate is not detected - make useragent ini setting optional and disabled by default - add necessary documentation updates
This commit is contained in:
@@ -119,7 +119,9 @@ Default network timeout.
|
||||
|
||||
### useragent
|
||||
|
||||
Default user agent.
|
||||
Overrides the user agent value. Note that the default value, together with a set of other detection-preventing options is set
|
||||
automatically by the [libcurl-impersonate](https://github.com/lexiforest/curl-impersonate), which is used by the default Docker container distributed together with RSS-Bridge. Use only if you know what you're doing, otherwise you may stop libcurl-impersonate
|
||||
from doing its job impersonating real browser.
|
||||
|
||||
## Authentication
|
||||
|
||||
|
Reference in New Issue
Block a user