PDA

View Full Version : Movie download option inside of plugins.


nate12o6
2008-12-09, 21:54
I read somewhere that it is possible to do threaded downloading in a python script. Can someone point me in the right direction on how to do this? Thanks.

Also. Is it possible to update the download dialog with the speed of transfer?

althekiller
2008-12-09, 22:39
http://python.org see the docs for the modules "threading", "urllib" and "urllib2". IIRC urllib2 has the ability to provide a supervisor callback with which you could calculate the dl speed.