feat(lists): adds redirector data format

This commit is contained in:
Iain Learmonth 2022-12-21 19:27:46 +00:00
parent c16a80dc16
commit 60255afe3f
8 changed files with 117 additions and 4 deletions

View file

@ -25,6 +25,7 @@ class Group(AbstractConfiguration):
class Pool(AbstractConfiguration):
pool_name = db.Column(db.String(80), unique=True, nullable=False)
api_key = db.Column(db.String(80), nullable=False)
@classmethod
def csv_header(cls) -> List[str]:
@ -65,7 +66,8 @@ class MirrorList(AbstractConfiguration):
"bc2": "Bypass Censorship v2",
"bc3": "Bypass Censorship v3",
"bca": "Bypass Censorship Analytics",
"bridgelines": "Tor Bridge Lines"
"bridgelines": "Tor Bridge Lines",
"rdr": "Redirector Data"
}
encodings_supported = {