I have created a scraper but am having issues posting it to the store. I opened my account 2 days ago and would like to start earning money on my scraper
const crawler = new AdaptivePlaywrightCrawler({
renderingTypeDetectionRatio: 0.1,
maxRequestsPerCrawl: 50,
async requestHandler({ request, enqueueLinks, parseWithCheerio, querySelector, log, urls }) {
console.log(request.url, request.uniqueKey);
await enqueueLinks();
}
});
crawler.run(['https://crawlee.dev']);
~ λ curl --proxy http://proxy.apify.com:8000 -U 'groups-RESIDENTIAL,country-US:apify_proxy_redacted' -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" https://httpbin.org/ip curl: (56) CONNECT tunnel failed, response 403
const launchPlaywright = async () => { const browser = await playwright["chromium"].launch({ headless: true, args: ["--disable-blink-features=AutomationControlled"], }); const context = await browser.newContext({ viewport: { width: 1280, height: 720 }, userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3", geolocation: { longitude: 7.8421, latitude: 47.9978 }, permissions: ["geolocation"], locale: "en-US", storageState: "playwright/auth/user.json", }); return await context.newPage(); };
apify create
and installing a template, got the following error:Error: connect ETIMEDOUT 20.205.243.166:443