From 54e48ff08de4454f8a8b10c4dafee0a8916cb1e4 Mon Sep 17 00:00:00 2001 From: WenShuang Lu Date: Tue, 14 Sep 2021 00:20:04 +0800 Subject: [PATCH] fix file name error if file_type is .html --- geek_crawler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geek_crawler.py b/geek_crawler.py index 8941dc1..299be40 100644 --- a/geek_crawler.py +++ b/geek_crawler.py @@ -544,7 +544,7 @@ def run(cellphone=None, passwd=None, exclude=None, file_type=None, get_comments= try: FINISH_ARTICLES = _load_finish_article() - run(cellphone, pwd, exclude=exclude, get_comments=get_comments) + run(cellphone, pwd, exclude=exclude, file_type=file_type, get_comments=get_comments) except Exception: import traceback log.error(f"请求过程中出错了,出错信息为:{traceback.format_exc()}")