mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-05 02:55:25 +00:00
api: Fix error f-string: unmatched in python 3.9
This commit is contained in:
parent
c3a0be0d85
commit
fda1bd6e4e
@ -79,7 +79,7 @@ def title_search(query: str) -> int:
|
|||||||
'url': url,
|
'url': url,
|
||||||
'name': title,
|
'name': title,
|
||||||
'type': tipo,
|
'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:
|
if site_constant.TELEGRAM_BOT:
|
||||||
|
@ -65,7 +65,7 @@ def title_search(query: str) -> int:
|
|||||||
'name': title.replace("streaming guardaserie", ""),
|
'name': title.replace("streaming guardaserie", ""),
|
||||||
'url': link,
|
'url': link,
|
||||||
'type': 'tv',
|
'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)
|
media_search_manager.add_media(serie_info)
|
||||||
|
@ -73,7 +73,7 @@ def title_search(query: str) -> int:
|
|||||||
'name': dict_title.get('name'),
|
'name': dict_title.get('name'),
|
||||||
'type': dict_title.get('type'),
|
'type': dict_title.get('type'),
|
||||||
'date': dict_title.get('last_air_date'),
|
'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:
|
if site_constant.TELEGRAM_BOT:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user