Skip to content

Commit

Permalink
预约成功后无限循环问题 (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcvvvc committed Dec 29, 2020
1 parent 3971b56 commit 26c4969
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jd_spider_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ def _reserve(self):
while True:
try:
self.make_reserve()
break
except Exception as e:
logger.info('预约发生异常!', e)
wait_some_time()
Expand Down

0 comments on commit 26c4969

Please sign in to comment.