Downloading file using IE from python

后端 未结 8 915
无人及你
无人及你 2021-02-04 15:38

I\'m trying to download file with Python using IE:

from win32com.client import DispatchWithEvents

class EventHandler(object):
    def OnDownloadBegin(self):
            


        
8条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-04 16:22

    I have something like that (an awful 3rd part application with lots of weird dotnet 'ajax' controls), and I use iMacros plugin for Firefox to do some automation. But I'm doing batch inserts, not downloads.

    You can try record, edit and replay the inputs sent thru a VNC session. Look at something like http://code.google.com/p/python-vnc-viewer/ for inspiration.

提交回复
热议问题