Skip to content

Commit fda1bd6

Browse files
committed
api: Fix error f-string: unmatched in python 3.9
1 parent c3a0be0 commit fda1bd6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

StreamingCommunity/Api/Site/altadefinizione/site.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def title_search(query: str) -> int:
7979
'url': url,
8080
'name': title,
8181
'type': tipo,
82-
'image': f"{site_constant.FULL_URL}{movie_div.find("img", class_="layer-image").get("data-src")}"
82+
'image': f"{site_constant.FULL_URL}{movie_div.find('img', class_='layer-image').get('data-src')}"
8383
})
8484

8585
if site_constant.TELEGRAM_BOT:

StreamingCommunity/Api/Site/guardaserie/site.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def title_search(query: str) -> int:
6565
'name': title.replace("streaming guardaserie", ""),
6666
'url': link,
6767
'type': 'tv',
68-
'image': f"{site_constant.FULL_URL}/{serie_div.find('img').get("src")}",
68+
'image': f"{site_constant.FULL_URL}/{serie_div.find('img').get('src')}",
6969
}
7070

7171
media_search_manager.add_media(serie_info)

StreamingCommunity/Api/Site/streamingcommunity/site.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def title_search(query: str) -> int:
7373
'name': dict_title.get('name'),
7474
'type': dict_title.get('type'),
7575
'date': dict_title.get('last_air_date'),
76-
'image': f"{site_constant.FULL_URL.replace("stream", "cdn.stream")}/images/{dict_title.get('images')[0].get('filename')}"
76+
'image': f"{site_constant.FULL_URL.replace('stream', 'cdn.stream')}/images/{dict_title.get('images')[0].get('filename')}"
7777
})
7878

7979
if site_constant.TELEGRAM_BOT:

0 commit comments

Comments
 (0)