Update tools.py

This commit is contained in:
yasirarism 2023-01-21 10:07:20 +07:00 committed by GitHub
parent 3497f79f99
commit 922720712f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,9 +95,11 @@ def get_provider(url):
if names[0] == "play":
name = "Google Play Movies"
elif names[0] == "hbogoasia":
name = "HBOGo Asia"
name = "HBO Go Asia"
elif names[0] == "maxstream":
name = "MaxStream"
name = "Max Stream"
elif names[0] == "klikfilm":
name = "Klik Film"
return name.title()
netloc = urlparse(url).netloc
@ -125,4 +127,4 @@ async def search_jw(movie_name: str, locale: str):
if m_t_ != "":
m_t_ = m_t_[:-2].strip()
break
return m_t_
return m_t_