traduzione server testvideo
This commit is contained in:
+3
-1
@@ -4,8 +4,10 @@
|
||||
# --------------------------------------------------------
|
||||
from core import httptools
|
||||
from core import scrapertools
|
||||
from platformcode import config
|
||||
from platformcode import logger
|
||||
|
||||
|
||||
def test_video_exists(page_url):
|
||||
|
||||
response = httptools.downloadpage(page_url)
|
||||
@@ -14,7 +16,7 @@ def test_video_exists(page_url):
|
||||
"Not Found" in response.data \
|
||||
or "File was deleted" in response.data \
|
||||
or "is no longer available" in response.data:
|
||||
return False, "[mydaddy] El fichero no existe o ha sido borrado"
|
||||
return False, config.get_localized_string(70449) % "mydaddy"
|
||||
return True, ""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user