fix tantifilm e server correlati, migliorato unshortenit
This commit is contained in:
+2
-2
@@ -12,8 +12,8 @@ def test_video_exists(page_url):
|
||||
page_url = page_url.replace("/f/","/v/")
|
||||
page_url = page_url.replace("/v/","/api/source/")
|
||||
data = httptools.downloadpage(page_url, post={}).data
|
||||
if "Video not found or" in data:
|
||||
return False, "[fembed] El fichero ha sido borrado"
|
||||
if "Video not found or" in data or "We are encoding this video" in data:
|
||||
return False, config.get_localized_string(70449) % "fembed"
|
||||
return True, ""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user