From 5e0e8b9cea08f4eb1e2778a6be016a4f7c2e803e Mon Sep 17 00:00:00 2001 From: lededev Date: Thu, 23 Sep 2021 15:43:00 +0800 Subject: [PATCH] WebCrawler site list in default config.ini larger than 60 --- WebCrawler/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebCrawler/__init__.py b/WebCrawler/__init__.py index 0bac971..13a4145 100644 --- a/WebCrawler/__init__.py +++ b/WebCrawler/__init__.py @@ -55,7 +55,7 @@ def get_data_from_json(file_number, conf: config.Config): # 从JSON返回元数 # default fetch order list, from the beginning to the end sources = conf.sources().split(',') - if not len(conf.sources()) > 60: + if not len(conf.sources()) > 80: # if the input file name matches certain rules, # move some web service to the beginning of the list lo_file_number = file_number.lower()