Fix VUP e miglioria upstream

This commit is contained in:
mac12m99
2021-04-07 18:45:26 +02:00
parent a4a700b9ac
commit b9566f9cb9
2 changed files with 10 additions and 20 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ def test_video_exists(page_url):
logger.debug("(page_url='%s')" % page_url)
global data
data = httptools.downloadpage(page_url).data
if "<h2>WE ARE SORRY</h2>" in data or '<title>404 Not Found</title>' in data:
if "as it expired or has been deleted" in data:
return False, config.get_localized_string(70449) % "UPstream"
return True, ""