Commit 7a0df438 authored by hujun's avatar hujun

1

parent 2c991d27
...@@ -195,7 +195,7 @@ class DownFile: ...@@ -195,7 +195,7 @@ class DownFile:
url = self.url + "&" + self.page_string + "=" + str( url = self.url + "&" + self.page_string + "=" + str(
page_no) + "&" + self.call_date_string + "=" + str(yesterday) page_no) + "&" + self.call_date_string + "=" + str(yesterday)
data = self.get_data(url) data = self.get_data(url)
self.log('download_page', "page_no=" + str(page_no) + "&day=" + str(yesterday)) self.log('download_page_th', "page_no=" + str(page_no) + "&day=" + str(yesterday))
if len(data): if len(data):
t = threading.Thread(target=self.download_aliyun, args=(data,)) t = threading.Thread(target=self.download_aliyun, args=(data,))
...@@ -208,7 +208,7 @@ class DownFile: ...@@ -208,7 +208,7 @@ class DownFile:
for tt in thread: for tt in thread:
tt.join() tt.join()
self.log('download_successful', self.call_date_string + "=" + str(yesterday)) self.log('download_successful_th', self.call_date_string + "=" + str(yesterday))
# 重置页码 # 重置页码
page_no = 1 page_no = 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment