Interact with Flash using Python Mechanize

妖精的绣舞 提交于 2020-01-13 19:17:08

问题


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?


回答1:


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




回答2:


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



来源:https://stackoverflow.com/questions/3215062/interact-with-flash-using-python-mechanize

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!