Using web-scraping techniques to extract one piece of information from google maps

醉酒当歌 提交于 2020-01-07 05:37:18

问题


This is in reference to my earlier question here. Someone suggested to use rvest to extract the red circled piece of information imaged below. However, it seems that the page, when downloaded, is in Javascript format. As seen in the earlier question, this piece of information is not available in the API for unknown reasons. Even the rep I spoke to wasn't sure why it wasn't exposed to the endpoint.What would be the best way to write this to preference script speed? Any help is greatly appreciated

EDIT: I've tried PhantomJS to strip out the Javascript and just get the HTML. However, this did not work.

来源:https://stackoverflow.com/questions/44330693/using-web-scraping-techniques-to-extract-one-piece-of-information-from-google-ma

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!