Enhance Async Crawler with Playwright support

- Implemented new async crawler strategy using Playwright.
- Introduced ManagedBrowser for better browser management.
- Added support for persistent browser sessions and improved error handling.
- Updated version from 0.3.73 to 0.3.731.
- Enhanced logic in main.py for conditional mounting of static files.
- Updated requirements to replace playwright_stealth with tf-playwright-stealth.
This commit is contained in:
UncleCode
2024-11-12 12:10:58 +08:00
parent a098483cbb
commit b6d6631b12
5 changed files with 1057 additions and 30 deletions

View File

@@ -8,4 +8,4 @@ playwright>=1.47,<1.48
python-dotenv~=1.0
requests~=2.26
beautifulsoup4~=4.12
playwright_stealth~=1.0
tf-playwright-stealth~=1.0