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, ""
|
||||
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"ignore_urls": [],
|
||||
"patterns": [
|
||||
{
|
||||
"pattern": "(?:\\w+\\.)?my?stream\\.(?:to|fun)/(?:watch/)?([a-zA-Z0-9]+)",
|
||||
"pattern": "my?stream\\.(?:\\w+\\.)?(?:la|to|cloud|xyz|club)/(?:external|watch/)?([0-9a-zA-Z_]+)",
|
||||
"url": "https://embed.mystream.to/\\1"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user