Scraping dynamically loaded Java script websites

Saintloki

Junior Member
Joined
Nov 17, 2021
Messages
104
Reaction score
33
Does anyone know of any good video tutorials or articles on scrapping dynamically loaded Java script websites?
I've searched on YouTube but every single tutorial on scraping websites is on websites where everything is visible in the html. I have not managed to find one that will help me scrape a website whose data is completely loaded through a Java script or hidden api
 
There are two ways -

1. First would be where you take the XHR request into consideration, and replace it with an HTTP request. Or stimulate it in your code.

2. Would be using a library with a webdriver / headless browser to stimulate the page load and then run your scrape such as Selenium, Playwright or Pyppeteer etc.

Here's a few I found -

(Using XHR)
 
Google puppeteer or selenium the docs and examples should be enough to get you started. Happy to help with any questions you have.
 
Everything @BlogPro and @Smackhead said or just go with a no-code ready made browser automation solution with tons of fingerprints and tricks preloaded in it that will ease your work and save you a LOT of time: Zennoposter (you'll find it here, in the marketplace) or BAS.
 
Back
Top