mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2026-10-04 06:11:07 +01:00
bring tab to front
This commit is contained in:
@@ -33,6 +33,7 @@ async def read_item(request: LinkRequest):
|
||||
start_time = int(time.time() * 1000)
|
||||
browser = await new_browser()
|
||||
page = await browser.get(request.url)
|
||||
await page.bring_to_front()
|
||||
|
||||
challenged = await asyncio.wait_for(
|
||||
bypass_cloudflare(page), timeout=request.maxTimeout
|
||||
|
||||
Reference in New Issue
Block a user