userscloud: actualido test_video_exists
This commit is contained in:
@@ -11,7 +11,7 @@ def test_video_exists(page_url):
|
|||||||
|
|
||||||
response = httptools.downloadpage(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.sucess or "Not Found" in response.data or "File was deleted" in response.data or "is no longer available" in response.data:
|
||||||
return False, "[Userscloud] El fichero no existe o ha sido borrado"
|
return False, "[Userscloud] El fichero no existe o ha sido borrado"
|
||||||
|
|
||||||
return True, ""
|
return True, ""
|
||||||
|
|||||||
Reference in New Issue
Block a user