BotBrowser icon indicating copy to clipboard operation
BotBrowser copied to clipboard

US datadome on foodlion detects botbrowser either on Playwright or pycdp

Open ghost opened this issue 1 year ago • 1 comments

import asyncio import os from playwright.async_api import async_playwright

async def main(): async with async_playwright() as p: browser = await p.chromium.launch_persistent_context( user_data_dir="./tmp_cache", executable_path="/boats/botbrowser142/chrome", headless=False, ignore_default_args=[ "--disable-crash-reporter", "--disable-crashpad-for-testing", "--disable-gpu-watchdog", ], args=[ "--no-sandbox", "--disable-blink-features=AutomationControlled", "--disable-audio-output", "--bot-profile=/boats/botbrowser_macos_profiles/botbrowser_profile_TheDiplomate_0225ac5921431cc4_macOS_26.0.0_V142_20251103.enc", "--proxy-server=http://127.0.0.1:8888" ], ) page = await browser.new_page()

    await page.add_init_script("""
        delete window.__playwright__binding__;
        delete window.__pwInitScripts;
    """)

    await page.goto("https://foodlion.com/")
    await asyncio.Event().wait()

asyncio.run(main())

ghost avatar Nov 25 '25 16:11 ghost

Image

work for me. please make sure to use clean sticky residential proxy

MSTU0 avatar Nov 25 '25 17:11 MSTU0