1 year ago
Sat Oct 14, 2023 8:31pm PST
Next.js v13 websites are a heaven for scraping
Just a random thought while analyzing some Next.js v13 website HTML markup.

Due to the way that RSC hydrates elements during client-side rendering, Next.js has to provide all their property data using JSON (see this issue https://github.com/vercel/next.js/discussions/42170)

As a result, any website that uses Next.js with RSC is extremely easy to extract data from since you can tap into JSON of every element.

Just an interesting observation without implying whether it is good or bad for the ecosystem.

comments:
add comment
loading comments...