supervideo: migliore identificazione file non esistente (richiesta registrazione fasulla)
This commit is contained in:
@@ -15,7 +15,7 @@ def test_video_exists(page_url):
|
|||||||
if 'Video embed restricted for this domain' in data:
|
if 'Video embed restricted for this domain' in data:
|
||||||
headers = {'Referer': ''}
|
headers = {'Referer': ''}
|
||||||
data = httptools.downloadpage(page_url, headers=headers, cookies=False).data
|
data = httptools.downloadpage(page_url, headers=headers, cookies=False).data
|
||||||
if 'File is no longer available as it expired or has been deleted' in data:
|
if 'File is no longer available as it expired or has been deleted' in data or 'fake-' in data:
|
||||||
return False, config.get_localized_string(70449) % "SuperVideo"
|
return False, config.get_localized_string(70449) % "SuperVideo"
|
||||||
|
|
||||||
return True, ""
|
return True, ""
|
||||||
|
|||||||
Reference in New Issue
Block a user