Sunday 26 May 2019

Requesting infinite scrolling website

I have to scrap a website with infinite scrolling. I used 'request' and 'cheerio' to return the html of site, as expected it did not return the complete html.So, how do I get the complete html ? Is it even possible with cheerio ?request('https://www.website.com', (error, response, html) => { if (!error && response.statusCode == 200) { console.log(html); } });

Submitted May 26, 2019 at 08:17PM by wrongtake

No comments:

Post a Comment