删除多线程

master
pan 4 years ago
parent 2f44e2d422
commit a64425575f
  1. 4
      main.py

@ -381,7 +381,5 @@ def run(max=10, last_page=100, page_size=20):
break break
else: else:
writeError('error code={code}'.format(code=res.status_code)) writeError('error code={code}'.format(code=res.status_code))
writeInfo('采集任务已完成,论文入库中') writeInfo('采集任务已完成')
executor.shutdown(wait=True)
writeInfo('论文已入库')
split_word() split_word()

Loading…
Cancel
Save