mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2026-11-21 22:46:31 +00:00
bring tab to front
This commit is contained in:
1 parent
b9a433905e
commit
0178eeec68
1 file changed
+1
@@ -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