Aggiunto canale streamingITA, streamingcommunity nuovo URL

This commit is contained in:
marco
2021-11-16 18:46:00 +01:00
parent b7ba220e18
commit 338526f107
6 changed files with 108 additions and 21 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ from platformcode import logger, config
def test_video_exists(page_url):
logger.info("(page_url='%s')" % page_url)
response = httptools.downloadpage(page_url)
if not response.sucess or "Not Found" in response.data or "File was deleted" in response.data \
if not response.success or "Not Found" in response.data or "File was deleted" in response.data \
or "is no longer available" in response.data:
return False, config.get_localized_string(70449) % "Streamlare"
return True, ""