mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-04 19:24:51 +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)
|
soup = json.loads(response.text)
|
||||||
items = soup["items"]
|
items = soup["items"]
|
||||||
for item in items:
|
for item in items:
|
||||||
if movie_name.lower() == item.get("title", "").lower():
|
if movie_name == item.get("title", ""):
|
||||||
offers = item.get("offers", [])
|
offers = item.get("offers", [])
|
||||||
t_m_ = []
|
t_m_ = []
|
||||||
for offer in offers:
|
for offer in offers:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue