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

Can't use Brightdata proxy #86

Open
LuisRibeiro-nBanks opened this issue Mar 1, 2024 · 3 comments
Open

Can't use Brightdata proxy #86

LuisRibeiro-nBanks opened this issue Mar 1, 2024 · 3 comments

Comments

@LuisRibeiro-nBanks
Copy link

LuisRibeiro-nBanks commented Mar 1, 2024

I'm trying to use some of my Brightdata proxies, but the "useProxy()" seems to not be accepting them, and when it accepts, it results in the use of, what seems to be, a random proxy. Currently, I am using the following code:

const ip = "brd.***********:22225"
plugin.useProxy(`${ip}@${proxy.username}:${proxy.password}`, {
                detectExternalIP: true,
                changeGeolocation: true,
                changeBrowserLanguage: true,
                changeTimezone: true,
                changeWebRTC: true,
            });

The proxy username and password are the values that I normally pass to the Puppeteer function "page.authenticate()". Is there a problem in the way that I am setting the proxy?

@bablosoft
Copy link
Collaborator

Bright data should work, can you describe more, what is random proxy?

Please also send proxy here mail.to.twaego@gmail.com

Have you tried to set proxy type?

Have you tried to use it with BAS?

@LuisRibeiro-nBanks
Copy link
Author

LuisRibeiro-nBanks commented Mar 1, 2024

@bablosoft, thanks for the quick reply, I'm using rotating IP addresses, the proxy URL is "zproxy.lum-superproxy.io". Considering this, what would be the correct nomenclature/format to set the proxy?

Additionally, for more information, when I'm able to run with a "random" proxy, it sets it as being either from Germany or the United States , from companies such as "Vultr Holdings LLC Frankfurt", in the Germany case.

Also, can you explain how I set the proxy type and BAS? I looked for it in the readme and code examples, but I didn't find anything, am I missing something?

@bablosoft
Copy link
Collaborator

thanks for the quick reply, I'm using rotating IP addresses, the proxy URL is "zproxy.lum-superproxy.io". Considering this, what would be the correct nomenclature/format to set the proxy?

If the proxy is being set, what is the issue?

Can you attach actual result and expected result.

Considering this, what would be the correct nomenclature/format to set the proxy?

Here is example of proxy string socks5://login:pass@111.111.111.111:2000

Also, can you explain how I set the proxy type and BAS? I looked for it in the readme and code examples, but I didn't find anything, am I missing something?

You need to download BrowserAutomationStudio and test to set proxy there?

Please also send proxy here mail.to.twaego@gmail.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants