Mejora en función test_video_exists

This commit is contained in:
danielr460
2018-01-21 14:59:37 -05:00
parent 453b71bc7a
commit b42aae2eb9

View File

@@ -16,6 +16,8 @@ def test_video_exists(page_url):
data = httptools.downloadpage(page_url, cookies=False).data
if 'file was deleted' in data:
return False, "[FlashX] El archivo no existe o ha sido borrado"
elif 'File Not Found' in data:
return False, "[FlashX] El archivo no existe"
elif 'Video is processing now' in data:
return False, "[FlashX] El archivo se está procesando"