Skip to content
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

Proxy and wire #2819

Closed
kitsune0n opened this issue Jun 1, 2024 · 4 comments
Closed

Proxy and wire #2819

kitsune0n opened this issue Jun 1, 2024 · 4 comments
Labels
duplicate The answer/solution already exists somewhere question Someone is looking for answers

Comments

@kitsune0n
Copy link

By this manual when trying add flag user_wire=True in my python code and sb.set_wire_proxy(proxy_string) ip don't changed.
And as alternative trying use proxy= . tha's works and ip changed but after few minutes have popup with auth required for proxy

@mdmintz mdmintz added the question Someone is looking for answers label Jun 1, 2024
@mdmintz
Copy link
Member

mdmintz commented Jun 1, 2024

These are the docs you're looking for: #2145

For changing the proxy in Wire Mode (wire=True / --wire):

driver.set_wire_proxy(string)

Where the proxy string formats are: host:port or user:pass@host:port.

You can also change the proxy without Wire Mode by using proxy="string" / --proxy="string".

Also, duplicate of #1807 (comment)

@mdmintz mdmintz closed this as completed Jun 1, 2024
@mdmintz mdmintz added the duplicate The answer/solution already exists somewhere label Jun 1, 2024
@kitsune0n
Copy link
Author

can i use UC mode with wire proxy ?
or selenium-stealth with wire proxy ?
when i try use uc and proxy= . tha's works and ip changed but after few minutes have popup with auth required for proxy

These are the docs you're looking for: #2145

For changing the proxy in Wire Mode (wire=True / --wire):

driver.set_wire_proxy(string)

Where the proxy string formats are: host:port or user:pass@host:port.

You can also change the proxy without Wire Mode by using proxy="string" / --proxy="string".

Also, duplicate of #1807 (comment)

@kitsune0n
Copy link
Author

kitsune0n commented Jun 1, 2024

@mdmintz when using uc=True, proxy=proxy_string
proxy in format username:password@ip:port
have this popup
Screenshot 2024-06-02 021258
butt if i check proxy in this session by google, it works

@mdmintz
Copy link
Member

mdmintz commented Jun 2, 2024

You can't combine Wire Mode with UC Mode: #2145 (comment).

As for UC Mode and Proxy Mode, it works for me. Not sure what you're doing. Maybe you gave it a bad proxy or the username/password was invalid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate The answer/solution already exists somewhere question Someone is looking for answers
Projects
None yet
Development

No branches or pull requests

2 participants