This commit is contained in:
2026-01-31 23:22:30 -08:00
parent ed44d69ef1
commit 753cdfb196
6 changed files with 454 additions and 35 deletions

View File

@@ -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