Vinyzu / Vinyzu/Botright

[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

Open
#126 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation help wanted question
Dominant language
Python
Stars
1k
Forks
85
PR merge metrics
No merged PRs in 30d

Description

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) 

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is identified in the issue. Start by tracing user-agent generation during botright_client.new_browser() and reproduce the reported mismatch at browserscan.net; done means identifying the generation source and confirming whether the resulting UA can be overridden.

Written by the indexing model from the issue text.

Assessment

Tech stack
playwright, python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.