Scraping websites with Javascript enabled?

前端 未结 6 593
北海茫月
北海茫月 2020-12-08 05:28

I\'m trying to scrape and submit information to websites that heavily rely on Javascript to do most of its actions. The website won\'t even work when i disable Javascript in

6条回答
  •  心在旅途
    2020-12-08 06:04

    I would actually suggest using Selenium. Its mainly designed for testing Web-Applications from a "user perspective however it is basically a "FireFox" driver. I've actually used it for this purpose ... although I was scapping an dynamic AJAX webpage. As long as the Javascript form has a recognizable "Anchor Text" that Selenium can "click" everything should sort itself out.

    Hope that helps

提交回复
热议问题