Open CharellKing opened 2 weeks ago
when i run this script on windows system, the browser is always blink:
import { connect } from 'puppeteer-real-browser' const rank = () => { const url = 'https://nopecha.com/demo/cloudflare' connect({ headless: 'auto', fingerprint: true, turnstile: true, }) .then(async (response) => { console.log(response); const { page, browser } = response setInterval(async () => { await page.screenshot({ path: "./page.jpg" }); }, 500); page.goto(url, { waitUntil: 'domcontentloaded' }); }) .catch((error) => { console.log(error.message); }); } rank();
This is my record gif.
https://github.com/zfcsoftware/cf-clearance-scraper I suggest you try this library. I'm updating the library now.
when i run this script on windows system, the browser is always blink: