mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-16 03:15:40 +00:00
New config options added
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import os
|
||||
import os.path as path
|
||||
import json
|
||||
from typing import List
|
||||
|
||||
SETTINGS_FILES_PATHS = [
|
||||
path.join(path.dirname(path.realpath(__file__)), "resources/settings.json"),
|
||||
@@ -12,6 +13,17 @@ SETTINGS_FILES_PATHS = [
|
||||
class Settings:
|
||||
# main maigret setting
|
||||
retries_count: int
|
||||
sites_db_path: str
|
||||
timeout: int
|
||||
max_connections: int
|
||||
recursive_search: bool
|
||||
info_extracting: bool
|
||||
cookie_jar_file: str
|
||||
ignore_ids_list: List
|
||||
reports_path: str
|
||||
proxy_url: str
|
||||
tor_proxy_url: str
|
||||
i2p_proxy_url: str
|
||||
|
||||
# submit mode settings
|
||||
presence_strings: list
|
||||
|
||||
Reference in New Issue
Block a user