Skip to content

Commit

Permalink
WebCrawler site list in default config.ini larger than 60
Browse files Browse the repository at this point in the history
  • Loading branch information
lededev committed Sep 23, 2021
1 parent 54ed626 commit 5e0e8b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebCrawler/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 5e0e8b9

Please sign in to comment.