-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dockerfile: Use libcurl-impersonate in place of libcurl #2941
Conversation
Actually, it seems that the x64 has some issues, in fact. I'll get back on that. |
2aeabfd
to
8374e56
Compare
As far as I can tell, this change does not set any useful http headers to mimic browsers? It modifies the tls behavior only? |
The |
Tested and seems to work fine. But getting this error on
The base image |
8374e56
to
2a532be
Compare
2a532be
to
01a0b67
Compare
I just updated rss-bridge and some of my more demanding bridged (#2942) stopped working with 429 error. I had to override What I suggest is, if this gets merged, to detect curl-impersonate and ignore the Also, what's the blocker for this to be merged? Is it bullseye vs buster issue? If so, then I suggested that the upstream moves to bullseye: lwthiker/curl-impersonate#118 |
I am blocking this because I don't understand how it works. Also as I wrote earlier I got a TLS CIPHER error which must be related to this. And I don't like complexity. Maybe you can write a few sentences on how it works. |
Can you explain what specifically do you find complex? Is it the |
I think it's the docker multi-stage that irks me. I don't understand it. I don't want to maintain that. Also I fear we will experience lots of TLS-CIPHER errors just like the one I described. |
All it does is literally copying that single Given that the viability of the project is limited by the ability to operate in stealth mode, I'd argue that it's at least worth taking it for a spin? Maybe create another As to |
Actually, I just realized that since |
ping @dvikan |
I tested it again for a few bridges and it seems good. How about we merge this as it is now and then you help me fix related issues if they occur? |
Happy to! |
Note that this is a similar fix to the one proposed in #2925, except it does so by using Docker multi-staging build.
Also note that this doesn't currently work for ARM, due to lwthiker/curl-impersonate#92, but that seems like an easy fix.
Also requires
user_agent
not to be set, otherwise curl_impersonate will honor it (lwthiker/curl-impersonate#96) and, as a result, ignore its own defaults.Fixes #2547
EDIT:
also requires lwthiker/curl-impersonate#93 to be fixed upstreamnow done.