lint
This commit is contained in:
parent
b7a2201ad6
commit
28baba18d2
1 changed files with 3 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue