mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Change API and add justwatch
This commit is contained in:
parent
edd83ce59a
commit
7a68bbebde
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ async def search_jw(movie_name: str, locale: str):
|
|||
soup = json.loads(response.text)
|
||||
items = soup["items"]
|
||||
for item in items:
|
||||
if movie_name.lower() == item.get("title", "").lower():
|
||||
if movie_name == item.get("title", ""):
|
||||
offers = item.get("offers", [])
|
||||
t_m_ = []
|
||||
for offer in offers:
|
||||
|
|
|
|||
Loading…
Reference in a new issue