Scraping Empty Pages with JavaScript

The page is empty? It's probably JavaScript. Modern sites load data via AJAX after the HTML loads. `requests.get()` won't work here. Solutions: 1. Reverse engineer the internal API (Best). 2. Use a rendered browser like Playwright (Easiest). Don't give up just because the source code looks empty. What's the hardest site you've tried to scrape? #javascript #react #webdev #scraping

To view or add a comment, sign in

Explore content categories