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

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

java - How to implement an entity bound odata action in olingo v4.3 -