Saves the selected language to a persistent JSON file.
(language)
| 161 | "key": "corrupted_files", "name": "Corrupted Files Project", "repo": "dedsec1121fk/Corrupted-Files-Project", |
| 162 | "url": "https://github.com/dedsec1121fk/Corrupted-Files-Project.git", |
| 163 | "local_names": ["Corrupted-Files-Project", "Corrupted-Files-Project-main", "Corrupted Files Project"], |
| 164 | "aliases": ["corrupted files", "historical archive", "case archive"], |
| 165 | }, |
| 166 | { |
| 167 | "key": "website_source", "name": "DedSec Website Source", "repo": "dedsec1121fk/dedsec1121fk.github.io", |
| 168 | "url": "https://github.com/dedsec1121fk/dedsec1121fk.github.io.git", |
| 169 | "local_names": ["dedsec1121fk.github.io", "dedsec1121fk.github.io-main", "DedSec-Website"], |
| 170 | "aliases": ["website", "ded-sec.space", "site source"], |
| 171 | }, |
| 172 | ] |
| 173 | |
| 174 | # --- VPN / Tor Utilities (taken from Free Internet.py and adapted for Settings.py) --- |
| 175 | NETWORK_CONFIG_PATH = os.path.join(HOME_DIR, ".dedsec_network_utilities.json") |
| 176 | NETWORK_DATA_DIR = os.path.join(HOME_DIR, ".dedsec_network_utilities") |
| 177 | NETWORK_PROXY_CACHE_FILE = os.path.join(NETWORK_DATA_DIR, "proxy_cache.json") |
| 178 | NETWORK_PROXY_STATE_FILE = os.path.join(NETWORK_DATA_DIR, "proxy_state.json") |
| 179 | NETWORK_TOR_LOG_PATH = os.path.join(NETWORK_DATA_DIR, "tor.log") |
| 180 | NETWORK_TOR_DATA_DIR = os.path.join(NETWORK_DATA_DIR, "tor_data") |
| 181 | NETWORK_PROXY_API = "https://api.proxyscrape.com/v3/free-proxy-list/get" |
| 182 | NETWORK_PROXY_CACHE_TTL = 240 |