diff --git a/app/lists/bc2.py b/app/lists/bc2.py index e8125f3..118c695 100644 --- a/app/lists/bc2.py +++ b/app/lists/bc2.py @@ -31,11 +31,13 @@ class BypassCensorship2(BaseModel): class Config: title = "Bypass Censorship Version 2" + def mirror_sites(): return { "version": "2.0", "sites": [{ - "main_domain": x.description[len("proxy:"):].replace("www.", "") if x.description.startswith("proxy:") else x.domain_name.replace("www.", ""), + "main_domain": x.description[len("proxy:"):].replace("www.", "") if x.description.startswith( + "proxy:") else x.domain_name.replace("www.", ""), "available_alternatives": [ { "proto": "tor" if ".onion" in a.url else "https",