我可以刮闪光? [英] Can I scrape flash?
问题描述
反编译Flash源将让你看到的ActionScript部分Flash文件,我发现它经常包含链接等信息。
一个免费的反编译器是 Flare 。它只是命令行,工作正常。它不会解码一些新的Flash格式的信息(> CS3我认为)。它将所有AS转储到一个文件中。
硕思SWF反编译器是一个更复杂的商业程序。它可以正常使用我试过的任何Flash文件,结果是相当彻底和组织良好。它是基于GUI的,我不知道它是否容易自动化。
使用Flare,因为它是一个命令行工具,所以可以轻松编写一个脚本来获取SWF ,反编译它,grep为'http://',并记录结果。
I'd like to scrape a website to programmatically collect any external links within any flash elements on the page. I'd also like to collect any other text, if possible, but the links are the important part. Is this possible? A freeware library/service to accomplish this task would be preferable, but if none is, how can I accomplish the task on my own? Is it possible to get the source code and pull from that?
Decompiling the Flash source would let you see the ActionScript part of the Flash file, which I've found to often contain info like links.
A free decompiler is Flare. It's command line only, and works fine. It won't decode some of the info in newer Flash formats (>CS3 I think). It dumps all the AS into one file.
Sothink SWF Decompiler is a more sophisticated commercial program. It will work fine with any Flash file I've tried and the results are quite thorough and well organized. it's GUI based and I don't know if it is easily automated.
With Flare, since it's a command line tool, one could easily write a script to obtain the SWF, decompile it, grep for 'http://', and log the results.
这篇关于我可以刮闪光?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!