开发者

Interact with Flash using Python Mechanize

开发者 https://www.devze.com 2023-01-06 03:27 出处:网络
I am trying to create an automated program in Python that deals with Flash. Right now I a开发者_如何学编程m using Python Mechanize, which is great for filling forms, but when it comes to flash I don\'

I am trying to create an automated program in Python that deals with Flash. Right now I a开发者_如何学编程m 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?


Nice question but seems unfortunately mechanize can't be used for flash objects


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.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消