python - Trying to get download URL for pySmartDL -
i trying make browser in pygtk using webkit. trying use pysmartdl download manager since defualt bit tedious. have sample code:
import os pysmartdl
import smartdl
url = "http://mirror.ufs.ac.za/7zip/9.20/7za920.zip"
dest = "c:\downloads\" # or '~/downloads/' on linux
obj = smartdl(url, dest) obj.start()
path = obj.get_dest()
i want know how download url when "download-requested" signal emitted.
Comments
Post a Comment