Пример #1
0
 def __init__(self, axel, proxy=None, log=None):
     ThreadBase.__init__(self, log=log)
     self.__oldurls = []
     self.__urltsks_q = Queue.Queue()
     self.__axel = axel
     self.__http = HttpUtil()
     self.__progress_bar = ProgressBar()
     if proxy:
         self.__http.set_proxy(proxy)
Пример #2
0
 def __init__(self, axel, proxy=None, log=None):
     ThreadBase.__init__(self, log=log)
     self.__oldurls = []
     self.__urltsks_q = Queue.Queue()
     self.__axel = axel
     self.__http = HttpUtil()
     self.__progress_bar = ProgressBar()
     if proxy:
         self.__http.set_proxy(proxy)
Пример #3
0
 def __init__(self):
     ThreadBase.__init__(self)
     self.redirect = False
     self.cleanup_handlers = []
Пример #4
0
 def __init__(self):
     ThreadBase.__init__(self)
     self.redirect = False
     self.cleanup_handlers = []