Fix for tanti

This commit is contained in:
UrloMythus
2024-07-17 12:52:12 +02:00 Unverified
parent 0ca8f3bca6
commit aa7e91b870
3 changed files with 19 additions and 11 deletions
+9 -3
View File
@@ -244,10 +244,16 @@ def tantifilm(imdb):
protect_link = get_protect_link(tid,url)
if not isinstance(protect_link, str):
urls = protect_link
return urls
if urls:
return urls
else:
print("Tantifilm Error")
url = true_url(protect_link)
return url
except Exception as e:
if urls or url == None:
print("Tantifilm Error")
try:
urls
url
except Exception as e:
print("Tantifilm Error")