genetic-orange
genetic-orange•8mo ago

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
exotic-emerald
exotic-emerald•8mo 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:XXXX@proxy.apify.com:8000
MEE6
MEE6•8mo ago
@dnsu just advanced to level 1! Thanks for your contributions! 🎉
exotic-emerald
exotic-emerald•8mo ago
i got it working, I think i need to upgrade the account for the residential proxy to work
harsh-harlequin
harsh-harlequin•8mo ago
Congrats on solving it!😄

Did you find this page helpful?