自动实时更新的页面怎么抓取数据呢求路过的大神指点

WBOY
Release: 2016-06-13 12:05:55
Original
1578 people have browsed it

自动实时更新的页面如何抓取数据呢求路过的大神指点
有这样一个页面,这个是地址:http://weixin2.baidao.com/assets/app.html


改页面是实时刷新的,现在想获取里面广东贵金属里面的数据,该怎么获取...
------解决方案--------------------
安装个炒股软件不就可以导出数据里吗?
他那个是用 js 产生数据的,除非你找到他的数据来源,否则基本没戏
------解决方案--------------------
curl定时抓取保存或更新数据
------解决方案--------------------

<br />    $url = 'http://jry.XXXXX';<br />	$content = file_get_contents($url);<br />	echo json_encode($content);<br />	exit;<br />
Copy after login

js获取json,定时执行以下,正则匹配

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!