Closed wrobelda closed 1 year ago
The LD_PRELOAD
method does not work with stock curl
. This is because curl
overrides the settings set by libcurl-impersonate after they are set. This behavior is documented on the README:
Note that the LD_PRELOAD method will NOT WORK for curl itself because the curl tool overrides the TLS settings. Use the wrapper scripts instead.
There is not much to do about it, as we don't have control over the behavior of the upstream curl.
There is not much to do about it, as we don't have control over the behavior of the upstream curl.
Oh well, my bad! Somehow I was under impression that standalone curl worked previously. That having said, the rss-bridge uses libcurl, so it should work there just fine. And things got back to normal yesterday such that I am no longer getting the 403s. I don't know how to explain that, to be honest. I will close this for now and if this happens again, I'll investigate and reopen.
@lwthiker I am getting this issue again and it is a Duplicate of https://github.com/lwthiker/curl-impersonate/issues/147
I noticed that the rss-bridge, which I enabled to use curl-impersonate via LD_PRELOAD hack, no longer impersonates properly.
I confirmed that with your upstream docker image with:
It worked just fine previously, so I am not sure if it regressed due to
some underlying debian image updates(just checked, Alpine is also affected), or the impersonation is somehow flawed in LD_PRELOAD mode, and the tightening on allegro.pl end eventually caught it.EDIT: also checked with
curl-impersonate:0.5-chrome
, same problem.