Python 从 iFrame 中抓取财务数据
Python Scrape Financial Data From iFrame
我正在尝试抓取 iFrame 中的数据。
我在 Chrome 和 PhantomJS 中尝试过 webdriver,但没有成功。 iframe 中包含源链接,我假设它的数据是从中提取的,但是,当使用这些链接时,会生成错误 "You can't render widget content without a correct InstanceId parameter."
是否可以使用 python (PhantomJS) 访问此数据?
转到浏览器中的网络工具,调查哪些数据进入服务器并通过简单的请求进行抓取。
我正在尝试抓取 iFrame 中的数据。
我在 Chrome 和 PhantomJS 中尝试过 webdriver,但没有成功。 iframe 中包含源链接,我假设它的数据是从中提取的,但是,当使用这些链接时,会生成错误 "You can't render widget content without a correct InstanceId parameter."
是否可以使用 python (PhantomJS) 访问此数据?
转到浏览器中的网络工具,调查哪些数据进入服务器并通过简单的请求进行抓取。