traduzione server testvideo
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
from core import httptools
|
||||
from core import scrapertools
|
||||
from platformcode import config, logger
|
||||
@@ -9,7 +10,7 @@ def test_video_exists(page_url):
|
||||
logger.info("(page_url='%s')" % page_url)
|
||||
data = httptools.downloadpage(page_url).data
|
||||
if '"title":"Video Not Found"' in data:
|
||||
return False, "[Vimple] El archivo no existe o ha sido borrado"
|
||||
return False, config.get_localized_string(70449) % "Vimple"
|
||||
|
||||
return True, ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user