h
This commit is contained in:
@@ -401,7 +401,9 @@ def normalize_urls(value: Any) -> List[str]:
|
||||
"tidal:",
|
||||
"data:",
|
||||
"ftp:",
|
||||
"sftp:"))
|
||||
"sftp:",
|
||||
"alldebrid:",
|
||||
"alldebrid🧲"))
|
||||
is_struct_url = ("." in token and "/" in token
|
||||
and not token.startswith((".",
|
||||
"/")))
|
||||
@@ -444,7 +446,8 @@ def normalize_urls(value: Any) -> List[str]:
|
||||
low = u.lower()
|
||||
has_scheme = low.startswith((
|
||||
"http://", "https://", "magnet:", "torrent:", "tidal:",
|
||||
"hydrus:", "ytdl:", "soulseek:", "matrix:", "file:"
|
||||
"hydrus:", "ytdl:", "soulseek:", "matrix:", "file:",
|
||||
"alldebrid:", "alldebrid🧲"
|
||||
))
|
||||
if not (has_scheme or "://" in low):
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user