How to deal with SPAs when downloading websites using the library? #576
-
I'm using the website-scraper library to download websites, and it works great for static websites. However, I am experiencing difficulties when trying to download websites that use Single Page Applications (SPAs). These pages do not download correctly, likely because the content is dynamically loaded via JavaScript after the home page is loaded. I would like to know what would be the best approach to dealing with SPAs when using the website-scraper. Are there any specific settings or plugins that can be used to ensure that all content is downloaded, including dynamic content generated by JavaScript? Any suggestions or experience with this type of problem would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello @jonathanvinicius As it's mentioned in README, you can use website-scraper-puppeteer for dynamic content scraping. |
Beta Was this translation helpful? Give feedback.
Hello @jonathanvinicius
As it's mentioned in README, you can use website-scraper-puppeteer for dynamic content scraping.