MCPcopy Create free account
hub / github.com/Jack-Cherish/python-spider / refresh

Method refresh

downloader.py:23–30  ·  view source on GitHub ↗
(self, count = 1, status = None)

Source from the content-addressed store, hash-verified

21 return _info
22
23 def refresh(self, count = 1, status = None):
24 self.count += count
25 self.status = status or self.status
26 end_str = "\r"
27 if self.count >= self.total:
28 end_str = '\n'
29 self.status = status or self.fin_status
30 print(self.__get_info(), end=end_str, )
31
32
33if __name__ == '__main__':

Callers 1

downloader.pyFile · 0.80

Calls 1

__get_infoMethod · 0.95

Tested by

no test coverage detected