clipwatching: updated test_video_exists

This commit is contained in:
Intel1
2018-06-06 12:08:04 -05:00
committed by GitHub
parent a876485305
commit 3b6c7e0e0e

View File

@@ -8,7 +8,7 @@ from platformcode import logger
def test_video_exists(page_url):
logger.info("(page_url='%s')" % page_url)
data = httptools.downloadpage(page_url).data
if "File Not Found" in data:
if "File Not Found" in data or "File was deleted" in data:
return False, "[clipwatching] El video ha sido borrado"
return True, ""