How does NodeJs crawl dynamic web pages?

I want to climb some e-commerce websites, which have a lot of pictures. Now I"m using cheerio,. I find that it can"t get the images loaded lazily on the page, that is, the images generated by js processing. Is there any way or other library to do this?

Mar.16,2021

it is recommended that puppeteer


can only be obtained by analyzing the js of the web page developed by the Google team, or run a real browser to climb


the url that lazily loads images should be saved in img tags, such as data-src, using chrome's headless mode. Check the properties of those pictures.
if it doesn't work, use phantomjs.


the best way to climb a page is to climb the interface, analyze the calling mode of the interface, input parameters, and cookie.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e34106-648a0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e34106-648a0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?