is it possible to write web crawler in javascript?

后端 未结 11 578
深忆病人
深忆病人 2021-02-01 07:48

I want to crawl the page and check for the hyperlinks in that respective page and also follow those hyperlinks and capture data from the page

11条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-01 08:41

    We could crawl the pages using Javascript from server side with help of headless webkit. For crawling, we have few libraries like PhantomJS, CasperJS, also there is a new wrapper on PhantomJS called Nightmare JS which make the works easier.

提交回复
热议问题