what do you mena by variable control?
what do you mena by variable control? the page load correctly both in normal chrome and headless puppeteer running locally. however, in Apify Actor without proxy, i get the bot dected message, and in Apify Actor with proxy, i get the Error Tunnel Failed. This is the page in question: https://a836-acris.nyc.gov/CP/LookUp/Index
4 Replies
quickest-silver•4mo ago
so, your right. the proxy is not working. what's the correct way to launch puppeteer within an actor?
const browser = await launchPuppeteer({
useChrome: true,
proxyUrl: "http://groups-RESIDENTIAL:***@proxy.apify.com:8000",
userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36',
});
the proxy url looks like http://groups-RESIDENTIAL:[email protected]:8000
@dnsu just advanced to level 1! Thanks for your contributions! 🎉
quickest-silver•4mo ago
i got it working, I think i need to upgrade the account for the residential proxy to work
deep-jade•4mo ago
Congrats on solving it!😄