Skip to content

Using a proxy with authorization and seleniumbase #2591

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

Closed
Pidoffka opened this issue Mar 10, 2024 · 3 comments
Closed

Using a proxy with authorization and seleniumbase #2591

Pidoffka opened this issue Mar 10, 2024 · 3 comments
Labels
duplicate The answer/solution already exists somewhere question Someone is looking for answers

Comments

@Pidoffka
Copy link

Pidoffka commented Mar 10, 2024

Hello
I would like to share my problem with working with a proxy with authorization
I pass the proxy parameter to the driver and when I start throwing different profiles, I get an authorization dialog, but sometimes it works fine

I searched the entire Internet, found that you can use the display, but as I understand it, it only works with Ubuntu and there should be no problems with Windows

I also looked that Seleniumbase uses the method of throwing up proxies with authorization through Java script files and read somewhere that they are used as extensions for Chrome and work stably only in headless mode

Can you confirm or refute these theses and suggest how you can work stably with Seleniumbase through a proxy with authorization and whether this is achievable at all, since I cannot somehow process this dialog box, and I have not found a stable working solution on the Internet, it worked stably before via seleniumwire, but it is not secure enough now, how can I solve my problem?

My issue may be similar to #2368
Where do I need to use different proxies with authentication for one profile? I didn’t understand the solution in the post, can you tell me what I need for this?

@mdmintz mdmintz added duplicate The answer/solution already exists somewhere question Someone is looking for answers labels Mar 11, 2024
@mdmintz
Copy link
Member

mdmintz commented Mar 11, 2024

Rotating proxies is a duplicate of #2450 (comment).
Proxies with Chrome extensions is a duplicate of #2397 (comment).

(If you're not using UC Mode, then you don't need the --uc / uc=True part.)

@mdmintz mdmintz closed this as completed Mar 11, 2024
@Pidoffka
Copy link
Author

Ротация прокси — это дубликат #2450 (комментарий) . Прокси с расширениями Chrome — это дубликат #2397 (комментарий) .

(Если вы не используете режим UC, вам не нужна часть --uc/ uc=True.)

Thanks
Using the parameter helped: multi-proxy=True and chromium_agg='--no-server-proxy'
It’s strange that the second command still forwards the proxy server, and does not disable its use, because Google says that it disables the use of proxies, but on the sites, by definition of IP, I had a proxy IP and not my own

@TruongDinhDTri
Copy link

@Pidoffka Hey I'm facing the same problem as you, so all I need is just add 2 more parameter is multi-proxy=True and chromium_agg='--no-server-proxy' right ?

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

3 participants