Scraping Javascript generated data

I'm working on a project with the World Bank analyzing their procurement processes. The WB maintains websites for each of their projects, containing links and data for the associated contracts issued ([example](http://www.worldbank.org/projects/P090644/community-social-development-project?lang=en)). Contract-related data is available under the procurement tab. I'd like to be able to pull a project's contract information from this site, but the links and associated data are generated using embedded Javascript, and the URLs of the pages displaying contract awards and other data don't seem to follow a discernable schema ([example](http://search.worldbank.org/wcontractawards/procdetails/OP00005718)). Is there any way I can scrape the browser rendered data in the first example through R?
Sorry, I'm a bit confused. How do you get from the first link shared to the second link? And, I assume that it is the data at the second link you want to scrape, right? I'm not clear on the actual question you are trying to ask here.

以上就是Scraping Javascript generated data的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏