From efdc770d3b0e06023fd26983c96ddbac5fa54b3d Mon Sep 17 00:00:00 2001 From: Intel1 <25161862+Intel11@users.noreply.github.com> Date: Thu, 25 Jan 2018 17:42:55 -0500 Subject: [PATCH] clipwatching: updated test_video_exists --- plugin.video.alfa/servers/clipwatching.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugin.video.alfa/servers/clipwatching.py b/plugin.video.alfa/servers/clipwatching.py index 7a8139e8..a954f252 100644 --- a/plugin.video.alfa/servers/clipwatching.py +++ b/plugin.video.alfa/servers/clipwatching.py @@ -8,10 +8,8 @@ from platformcode import logger def test_video_exists(page_url): logger.info("(page_url='%s')" % page_url) data = httptools.downloadpage(page_url).data - if "no longer exists" in data or "to copyright issues" in data: + if "File Not Found" in data: return False, "[clipwatching] El video ha sido borrado" - if "please+try+again+later." in data: - return False, "[clipwatching] Error de clipwatching, no se puede generar el enlace al video" return True, ""