Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] I want to know where the user agent was generated from. I used Playwright asynchronously to access the browserscan website, and he informed me that the browser version set by your browser does not match your actual browser version. It seems that the newly generated UA cannot be overwritten #126

Open
xxxyo opened this issue Aug 9, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed question Further information is requested

Comments

@xxxyo
Copy link

xxxyo commented Aug 9, 2024

async def run_browser(port):
headers = HeaderGenerator()
headers.generate()
botright_client = await botright.Botright(use_undetected_playwright=True)
lock = asyncio.Lock()

try:
    async with lock:
        browser = await botright_client.new_browser()
    page = await browser.new_page()
    await page.goto(f"https://www.browserscan.net/")
    await page.wait_for_load_state('networkidle')
    await asyncio.sleep(30) 
@xxxyo xxxyo added documentation Improvements or additions to documentation help wanted Extra attention is needed question Further information is requested labels Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant