使用Python Mechanize与Flash进行交互 [英] Interact with Flash using Python Mechanize

查看:171
本文介绍了使用Python Mechanize与Flash进行交互的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Python中创建一个自动化程序来处理Flash。现在我正在使用Python Mechanize,这非常适合填写表单,但是当涉及到Flash时,我不知道该怎么做。有谁知道我可以用闪光灯表单交互(set和get变量,点击按钮等)通过Python机械化或其他一些Python库?

I am trying to create an automated program in Python that deals with Flash. Right now I am using Python Mechanize, which is great for filling forms, but when it comes to flash I don't know what to do. Does anyone know how I can interact with flash forms (set and get variables, click buttons, etc.) via Python mechanize or some other python library?

推荐答案

您可能想要搜索的是如何通过python控制页面中的JavaScript,该页面可以控制专为接受外部javascript调用而设计的flash。

What you probably want to search for is how to control javascript in a page via python, which can control flash that was specifically designed to accept external javascript calls.

指的python-SpiderMonkey的用于起动器: mechanize(python)点击一个javascript类型链接

Refers to python-spidermonkey for starters: mechanize (python) click on a javascript type link

这篇关于使用Python Mechanize与Flash进行交互的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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