예제 #1
0
 def __init(self,download_record,folder_path,logger,retries=1):
     BaseDownloader.__init__(self, download_record,folder_path,logger,retries)
예제 #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