如何通过任何爬虫php获得悬停数据(ajax) [英] How to get hover data(ajax) by any crawler php

查看:205
本文介绍了如何通过任何爬虫php获得悬停数据(ajax)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在抓取一个网站的数据。我可以在一个页面上完整的内容。但是页面上的一些数据在将鼠标悬停在某些图标上后显示为工具提示。所以我也需要这些数据。是否有可能与任何爬虫。

I am crawling one website's data. I am able to whole content on a page. But some data on page comes after hover on some icons and shown as tooltips. So I require that data also. Is it possible with any crawler.

我使用PHP和 simplehtmldom 解析/抓取页面。

I am using PHP and simplehtmldom for parsing/ crawling page.

推荐答案

任何抓取工具都无法获取悬停数据。

抓取工具抓取网页并获取整个数据(HTML页面源)。一旦我们点击URL,我们就可以查看这个视图。悬停需要在页面上通过鼠标移动HTML属性,即手动操作。目前没有抓取工具按照我的知识来做悬停和获取数据的操作。因此,抓取工具无法获得悬停数据。

Crawlers crawl the web page and gets whole data ( HTML page source ). It's view which we can view as soon as we hit URL. Hover need mouse moving action over HTML attribute on page i.e manual action. And currently no crawlers do actions for hovering and getting that data as per my knowledge. So this is not possible to get hover data by crawlers.

这篇关于如何通过任何爬虫php获得悬停数据(ajax)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆