diff --git a/src/fanqie_batch.py b/src/fanqie_batch.py index 7f237fb..aa0f490 100644 --- a/src/fanqie_batch.py +++ b/src/fanqie_batch.py @@ -142,7 +142,7 @@ def download_novels(url, encoding, user_agent, path_choice, folder_path, data_fo # 遍历每个章节链接 for chapter in chapters: - time.sleep(2) + time.sleep(1) # 获取章节标题 chapter_title = chapter.find("a").get_text() diff --git a/src/fanqie_chapter.py b/src/fanqie_chapter.py index 07db2b1..cd5ecff 100644 --- a/src/fanqie_chapter.py +++ b/src/fanqie_chapter.py @@ -96,7 +96,7 @@ def fanqie_c(url, encoding, user_agent, path_choice, start_chapter_id): # 遍历每个章节链接 for chapter in chapters[start_index:]: - time.sleep(0.5) + time.sleep(0.25) # 获取章节标题 chapter_title = chapter.find("a").get_text() diff --git a/src/fanqie_debug.py b/src/fanqie_debug.py index d89ae7b..b5a5383 100644 --- a/src/fanqie_debug.py +++ b/src/fanqie_debug.py @@ -143,7 +143,7 @@ def fanqie_d(url, encoding, user_agent, path_choice, data_folder, start_chapter_ # 遍历每个章节链接 for chapter in chapters[start_index:]: - time.sleep(0.5) + time.sleep(0.25) # 获取章节标题 chapter_title = chapter.find("a").get_text() print(f"[DEBUG]正在获取章节:{chapter_title}") diff --git a/src/fanqie_normal.py b/src/fanqie_normal.py index 05b0ae1..1fe2dc0 100644 --- a/src/fanqie_normal.py +++ b/src/fanqie_normal.py @@ -123,7 +123,7 @@ def fanqie_n(url, encoding, user_agent, path_choice, data_folder, start_chapter_ try: # 遍历每个章节链接 for chapter in chapters[start_index:]: - time.sleep(0.5) + time.sleep(0.25) # 获取章节标题 chapter_title = chapter.find("a").get_text()