Beautified the name
This commit is contained in:
@@ -74,7 +74,7 @@ async def search(showname,date,client,ismovie,episode,season):
|
|||||||
pattern = r'https://uprot\.net/fxf/[^\s"<>]+'
|
pattern = r'https://uprot\.net/fxf/[^\s"<>]+'
|
||||||
match = re.search(pattern, response.text)
|
match = re.search(pattern, response.text)
|
||||||
if match:
|
if match:
|
||||||
name = a_tag.text
|
name = a_tag.text.replace("\t","").replace("\n","")
|
||||||
flexy_link = match.group()
|
flexy_link = match.group()
|
||||||
return flexy_link,name
|
return flexy_link,name
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user