puppeteer-with-fingerprints icon indicating copy to clipboard operation
puppeteer-with-fingerprints copied to clipboard

Can't use Brightdata proxy

Open LuisRibeiro-nBanks opened this issue 11 months ago • 3 comments

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?

LuisRibeiro-nBanks avatar Mar 01 '24 10:03 LuisRibeiro-nBanks

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

Please also send proxy here [email protected]

Have you tried to set proxy type?

Have you tried to use it with BAS?

bablosoft avatar Mar 01 '24 11:03 bablosoft

@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?

LuisRibeiro-nBanks avatar Mar 01 '24 11:03 LuisRibeiro-nBanks

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:[email protected]: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 [email protected]

bablosoft avatar Mar 01 '24 11:03 bablosoft