Cloudflare cycling on some sites when http proxy is used #2055
-
Using SeleniumBase (the driver manager method), I've noticed that when utilizing a http/https proxy, Cloudflare will just cycle. I'll get the turnstiles, solve them manually, then it will immediately "refresh" and ask me to validate again. It will not tell me my solution is wrong, it'll just cycle. Running SeleniumBase without the http/https proxy will not generate this behavior. Does SeleniumBase handle http/https proxies differently which is why they are being "detected"? Is this because I am utilizing the driver manager method documented here: https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/syntax_formats.md#sb_sf_23 as opposed to BaseClass? I understand more than likely the http/https proxy itself is the issue, would it be fair to assume if I get the manual Cloudflare prompt, the IP has been blacklisted by Cloudflare? Is there a way to validate this? Any insight would be very appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Are you setting your proxy with There's also the pytest command-line option way: pytest --proxy=server:port
pytest --proxy=user:pass@server:port That's the official SeleniumBase way of making it work. |
Beta Was this translation helpful? Give feedback.
-
Im setting it via: proxy=“server:port” when declaring the DriverOn Sep 2, 2023, at 11:40 AM, Michael Mintz ***@***.***> wrote:
Are you setting your proxy with proxy="server:port" or ***@***.***:port"?
There's also the pytest command-line option way:
pytest --proxy=server:port
pytest ***@***.***:port
That's the official SeleniumBase way of making it work.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Are you setting your proxy with
proxy="server:port"
orproxy="user:pass@server:port"
?There's also the pytest command-line option way:
That's the official SeleniumBase way of making it work.