Fix Go Unlimited e UPstream
This commit is contained in:
+2
-2
@@ -13,13 +13,13 @@ def test_video_exists(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:
|
||||
return False, config.get_localized_string(70449) % "UP Stream"
|
||||
return False, config.get_localized_string(70449) % "UPstream"
|
||||
return True, ""
|
||||
|
||||
|
||||
def get_video_url(page_url, premium=False, user="", password="", video_password=""):
|
||||
video_urls = []
|
||||
media_url = scrapertools.find_single_match(data, r'file:"([^"]+)"')
|
||||
video_urls.append(["%s [UP Stream]" % media_url.split('.'[-1]), media_url])
|
||||
video_urls.append(["%s [UPstream]" % media_url.split('.')[-1], media_url])
|
||||
|
||||
return video_urls
|
||||
|
||||
Reference in New Issue
Block a user