fix hdpass

This commit is contained in:
marco
2020-02-15 18:40:33 +01:00
parent 3272766ef0
commit ec0aaf7c91
5 changed files with 40 additions and 31 deletions
+2 -2
View File
@@ -2,14 +2,14 @@
from core import httptools
from core import scrapertools
from platformcode import logger
from platformcode import logger, config
def test_video_exists(page_url):
logger.info("(page_url='%s')" % page_url)
data = httptools.downloadpage(page_url).data
if "Not Found" in data or "File Does not Exist" in data:
return False, "[Vidto.me] El fichero no existe o ha sido borrado"
return False, config.get_localized_string(70292) % 'vidto.me'
return True, ""