From 39d346e978b753807fd6838e7b83c5bd7eb4756a Mon Sep 17 00:00:00 2001 From: oscarz Date: Wed, 18 Jun 2025 16:59:23 +0800 Subject: [PATCH] modify scripts --- u9a9/src/fetch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/u9a9/src/fetch.py b/u9a9/src/fetch.py index 87f3ae5..5eb369c 100644 --- a/u9a9/src/fetch.py +++ b/u9a9/src/fetch.py @@ -42,10 +42,11 @@ def fetch_list(start_p=1): url = None else: p += 1 + time.sleep(1) else: logging.warning(f"fetch_list failed. url: {url} ") url = None - + else: logging.warning(f'fetch_page error. url: {url}, status_code: {status_code}')