added localized strings
This commit is contained in:
@@ -16,7 +16,7 @@ def test_video_exists(page_url):
|
||||
if 'We’re Sorry!' in data:
|
||||
data = httptools.downloadpage(page_url.replace("/embed/", "/f/"), headers=header, cookies=False).data
|
||||
if 'We’re Sorry!' in data:
|
||||
return False, "[Openload] El archivo no existe o ha sido borrado"
|
||||
return False, config.get_localized_string(70449) % "Openload"
|
||||
|
||||
return True, ""
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ def test_video_exists(page_url):
|
||||
data = httptools.downloadpage(page_url).data
|
||||
|
||||
if "File was deleted" in data:
|
||||
return False, "[speedvideo] El archivo no existe o ha sido borrado"
|
||||
return False, config.get_localized_string(70449) % "Speedvideo"
|
||||
|
||||
return True, ""
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ def test_video_exists(page_url):
|
||||
|
||||
data = httptools.downloadpage(page_url).data
|
||||
if "We are unable to find the video" in data:
|
||||
return False, "[streamango] El archivo no existe o ha sido borrado"
|
||||
return False, config.get_localized_string(70449) % "Streamango"
|
||||
|
||||
return True, ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user