We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7575a6 commit 38820e3Copy full SHA for 38820e3
飞鱼脚本/new_spider.py
@@ -253,6 +253,7 @@ def main():
253
crawl_count = 1
254
while 1:
255
if crawl_count == 1:
256
+ global end_date
257
print("第1次爬取")
258
# 测试
259
phone_data = get_new_phone(start_date, end_date)
@@ -263,6 +264,7 @@ def main():
263
264
print("第{}次爬取".format(crawl_count))
265
times = int(time.time())
266
phone_data = get_new_phone(end_date, times)
267
+ end_date = times
268
register(phone_data)
269
crawl_count += 1
270
飞鱼脚本/phone_number.xls
45.5 KB
0 commit comments