diff --git a/StreamingCommunity/Api/Site/altadefinizione/site.py b/StreamingCommunity/Api/Site/altadefinizione/site.py index 0ae7a05..130e8e4 100644 --- a/StreamingCommunity/Api/Site/altadefinizione/site.py +++ b/StreamingCommunity/Api/Site/altadefinizione/site.py @@ -79,7 +79,7 @@ def title_search(query: str) -> int: 'url': url, 'name': title, 'type': tipo, - 'image': f"{site_constant.FULL_URL}{movie_div.find("img", class_="layer-image").get("data-src")}" + 'image': f"{site_constant.FULL_URL}{movie_div.find('img', class_='layer-image').get('data-src')}" }) if site_constant.TELEGRAM_BOT: diff --git a/StreamingCommunity/Api/Site/guardaserie/site.py b/StreamingCommunity/Api/Site/guardaserie/site.py index 9703a37..633e9af 100644 --- a/StreamingCommunity/Api/Site/guardaserie/site.py +++ b/StreamingCommunity/Api/Site/guardaserie/site.py @@ -65,7 +65,7 @@ def title_search(query: str) -> int: 'name': title.replace("streaming guardaserie", ""), 'url': link, 'type': 'tv', - 'image': f"{site_constant.FULL_URL}/{serie_div.find('img').get("src")}", + 'image': f"{site_constant.FULL_URL}/{serie_div.find('img').get('src')}", } media_search_manager.add_media(serie_info) diff --git a/StreamingCommunity/Api/Site/streamingcommunity/site.py b/StreamingCommunity/Api/Site/streamingcommunity/site.py index 1ec4e46..adf7a9f 100644 --- a/StreamingCommunity/Api/Site/streamingcommunity/site.py +++ b/StreamingCommunity/Api/Site/streamingcommunity/site.py @@ -73,7 +73,7 @@ def title_search(query: str) -> int: 'name': dict_title.get('name'), 'type': dict_title.get('type'), 'date': dict_title.get('last_air_date'), - 'image': f"{site_constant.FULL_URL.replace("stream", "cdn.stream")}/images/{dict_title.get('images')[0].get('filename')}" + 'image': f"{site_constant.FULL_URL.replace('stream', 'cdn.stream')}/images/{dict_title.get('images')[0].get('filename')}" }) if site_constant.TELEGRAM_BOT: