Ejemplo n.º 1
0
 def __init(self,download_record,folder_path,logger,retries=1):
     BaseDownloader.__init__(self, download_record,folder_path,logger,retries)
Ejemplo n.º 2
0
 def __init(self,download_record,folder_path,logger,retries=1):
     BaseDownloader.__init__(self, download_record,folder_path,logger,retries)
     self._old_urlretrieve=urllib.urlretrieve
     opener=CustomUrlOpener()
     urllib.urlretrieve=opener.retrieve