使用HtmlUnit或其他Java工具刮擦Flash [英] Scraping flash using HtmlUnit or other java tool

查看:89
本文介绍了使用HtmlUnit或其他Java工具刮擦Flash的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用HtmlUnit从站点中抓取日期,但是登录后,所有数据都使用Adobe Flash Player作为swf对象显示,我不知道有什么方法可以从此类页面中抓取数据.

I am using HtmlUnit to scrap date from a site but after login all the data is displayed using adobe flash player as swf object, I don't know any way to scrap data from such page.

有什么方法可以从Flash页面提取数据,如果可以,请使用HtmlUnit或任何其他Java工具帮助我.

Is there any way to extract data from flash page, If yes please help me out, either using HtmlUnit or any other java tool.

谢谢.

推荐答案

无法使用HtmlUnit与Flash applet进行交互.您可以尝试使用;我从未使用过它,但是看起来好像有一些启用Flash通信的插件,例如 Flash硒

There is no way that you can interact with Flash applet using HtmlUnit. You can try with selenium; I never used it, but it looks like there are plugins that enable flash communication like flash selenium

就个人而言,我认为测试用户界面的唯一方法是在他们遇到这种陷阱时,雇用一名测试人员(一个好人),并教他们每次更改gui时,都要对开发人员进行深入测试.

Personally, I think the only way to test user interfaces, when they have such pitfalls, is to hire a tester human being (a good one), and teach the developers to deeply test the gui every time they alter it.

这篇关于使用HtmlUnit或其他Java工具刮擦Flash的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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