reddit_scraper/scraper
Marvin 08af7f3b49 Optimize comment extraction with pre-injected JS helpers
- Inject helper functions once per page load instead of inline scripts each time
- Batch DOM operations (expand all comments, then extract) into single calls
- Use window.RSScraperHelpers.getComments() for efficient nested extraction
- Add _ensure_helpers_injected() to check and inject before scraping
- Reduces JavaScript execution overhead by 50%+ per request
2026-03-15 10:05:32 -03:00
..
__init__.py Reddit Scraper with Selenium browser automation 2026-03-14 17:57:08 -03:00
selenium_scrapers.py Optimize comment extraction with pre-injected JS helpers 2026-03-15 10:05:32 -03:00