mirror of
https://github.com/public-apis/public-apis.git
synced 2025-06-02 19:01:57 +02:00
Reorganize constants
This commit is contained in:
parent
f1cbf0144a
commit
bff7f5e009
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,6 @@ from typing import List, Tuple, Dict
|
||||||
|
|
||||||
|
|
||||||
anchor = '###'
|
anchor = '###'
|
||||||
min_entries_per_section = 3
|
|
||||||
auth_keys = ['apiKey', 'OAuth', 'X-Mashape-Key', 'User-Agent', 'No']
|
auth_keys = ['apiKey', 'OAuth', 'X-Mashape-Key', 'User-Agent', 'No']
|
||||||
punctuation = ['.', '?', '!']
|
punctuation = ['.', '?', '!']
|
||||||
https_keys = ['Yes', 'No']
|
https_keys = ['Yes', 'No']
|
||||||
|
@ -17,7 +16,9 @@ index_auth = 2
|
||||||
index_https = 3
|
index_https = 3
|
||||||
index_cors = 4
|
index_cors = 4
|
||||||
index_link = 5
|
index_link = 5
|
||||||
|
|
||||||
num_segments = 5
|
num_segments = 5
|
||||||
|
min_entries_per_section = 3
|
||||||
|
|
||||||
anchor_re = re.compile(anchor + '\s(.+)')
|
anchor_re = re.compile(anchor + '\s(.+)')
|
||||||
category_title_in_index_re = re.compile('\*\s\[(.*)\]')
|
category_title_in_index_re = re.compile('\*\s\[(.*)\]')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue