traduzione server testvideo

This commit is contained in:
marco
2020-03-30 13:30:14 +02:00
parent 5ade7ee4db
commit d488409742
114 changed files with 255 additions and 211 deletions
+2 -3
View File
@@ -2,10 +2,9 @@
# -*- Server Uppom -*-
# -*- Created for Alfa-addon -*-
# -*- By the Alfa Develop Group -*-
import re
from core import httptools
from core import scrapertools
from platformcode import config
from platformcode import logger
@@ -14,7 +13,7 @@ def test_video_exists(page_url):
data = get_source(page_url)
if "File was deleted" in data or "File Not Found" in data:
return False, "[Uppom] El video ha sido borrado"
return False, config.get_localized_string(70449) % "Uppom"
return True, ""