IonicaBizau / scrape-it

🔮 A Node.js scraper for humans.

Home Page:http://ionicabizau.net/blog/30-how-to-write-a-web-scraper-in-node-js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to scraping content that is loading dynamically?

juanantoniodamianv opened this issue · comments

I've trying to scraping the content of some sites that is loading his content dynamically, it is possible?
Here is a example of one site:

const scrapeResult = await scrapeIt('https://www.klekt.com', {
   presentations: {
      listItem: 'div .k-col-xs-12 .k-hottest-products-header',
      data: {
         title: 'span .ais-Highlight__nonHighlighted'
      }
   }
});

Please check out #59.