mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-05 08:07:33 +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:
@@ -3,7 +3,7 @@
|
||||
## Test a site before building a bridge
|
||||
|
||||
Some sites make use of anti-bot mechanisms (e.g.: by using JavaScript) in which case they work fine in regular browsers,
|
||||
but not in the PHP environment.
|
||||
but not in the PHP environment. RSS-Bridge Docker container by default resorts to using libcurl-impersonate, which helps mitigating anti-bot mechanisms.
|
||||
|
||||
To check if a site works with RSS-Bridge, create a new bridge using the
|
||||
[template](../05_Bridge_API/02_BridgeAbstract.md#template)
|
||||
|
Reference in New Issue
Block a user