Does Scrapling v0.3 fix the async multi-tab freezing issue from Camoufox? #75
-
I am excited about the release of Scrapling v0.3. In Camoufox itself, there is an async multi-tab freezing issue (Issue #279), which is why I had been avoiding using Camoufox. import asyncio
from scrapling.fetchers import AsyncStealthySession
async def main():
async with AsyncStealthySession(
geoip=True,
os_randomize=True,
solve_cloudflare=True,
timeout=60000,
max_pages=3,
) as session:
pages = await asyncio.gather(
session.fetch("https://example.com"),
session.fetch("https://example.net"),
session.fetch("https://example.org"),
)
print(pages)
asyncio.run(main()) Does this custom implementation in Scrapling reliably resolve the async multi-tab freezing issue from Camoufox? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey mate, I didn't face that issue during my testing and stress testing. The browser is running multiple times in the unittests automatically with every push to GitHub (GitHub actions) and has still not encountered any issues. Please feel free to test it as you see fit to confirm, but I want you to know that I haven't encountered this issue. Scrapling is using a new class called |
Beta Was this translation helpful? Give feedback.
Hey mate, I didn't face that issue during my testing and stress testing. The browser is running multiple times in the unittests automatically with every push to GitHub (GitHub actions) and has still not encountered any issues.
Please feel free to test it as you see fit to confirm, but I want you to know that I haven't encountered this issue. Scrapling is using a new class called
PagesPool
to handle all the tabs management instead of Camoufox, so that might be the reason.