我怎样才能从Flash SWF文件有用的信息? [英] How can I get useful information from flash swf files?

查看:136
本文介绍了我怎样才能从Flash SWF文件有用的信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在做与Python一些爬行,并希望能够识别(但不完全)闪光我碰到过 - 它是一个视频,广告,游戏,或任何

I'm doing some crawling with Python, and would like to be able to identify (however imperfectly) the flash I come across - is it a video, an ad, a game, or whatever.

我以为我会反编译的SWF,这似乎是可行的。不过,如果我做了反编译动作脚本什么样的处理,以找出它的目的是什么?

I assume I would have to decompile the swf, which seems doable. But what sort of processing would I do with the decompiled Actionscript to figure out what it's purpose is?

编辑:或者更好的想法将是最欢迎也

or any better ideas would be most welcome also.

推荐答案

我觉得你最好的选择是检查你看到的SWF文件的上下文

I think your best bet would be to check the context where you see the swf file

通常它们嵌入网页内,所以如果该网页有单词游戏的100事件再度发生,那么它可能是一个游戏作为一个例子

usually they're embedded within web pages so if that page has 100 occurences of the word "game", then it might be a game, as an example

要检测的广告可能是棘手,但我认为,检查那里的SWF托管可能会​​做的伎俩,该域名也围绕SWF的HTML标签将是伟大的使用

To detect an ad it might be trickier but i think that checking the domainname where the swf is hosted might do the trick, also html tags around the swf will be of great use

这篇关于我怎样才能从Flash SWF文件有用的信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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