Fixed Demon Slayer
This commit is contained in:
+2
-1
@@ -18,7 +18,6 @@ showname_replace = {
|
|||||||
"Season": "",
|
"Season": "",
|
||||||
" ": " ",
|
" ": " ",
|
||||||
"Shippuuden": "Shippuden",
|
"Shippuuden": "Shippuden",
|
||||||
":":"",
|
|
||||||
" ": "+",
|
" ": "+",
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -146,6 +145,8 @@ async def animeworld(id,client):
|
|||||||
for key in showname_replace:
|
for key in showname_replace:
|
||||||
if key in showname: # Check if the key is a substring of showname
|
if key in showname: # Check if the key is a substring of showname
|
||||||
showname = showname.replace(key, showname_replace[key])
|
showname = showname.replace(key, showname_replace[key])
|
||||||
|
if "Naruto:" in showname:
|
||||||
|
showname = showname.replace(":", "")
|
||||||
final_urls = await search(showname,date,ismovie,episode,client)
|
final_urls = await search(showname,date,ismovie,episode,client)
|
||||||
return final_urls
|
return final_urls
|
||||||
except:
|
except:
|
||||||
|
|||||||
Reference in New Issue
Block a user