1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

change the order on download_http

This commit is contained in:
Johan Andersson 2013-01-12 15:59:51 +01:00
parent 5a6e69fffb
commit 242274df0f

View File

@ -571,7 +571,7 @@ class Justin2():
xml = ET.XML(data)
url = xml.find("archive").find("video_file_url").text
download_http(url, options.output)
download_http(options, url)
class Hbo():
def get(self, url):
@ -602,8 +602,7 @@ class Sr():
data = get_http_data(url)
xml = ET.XML(data)
url = xml.find("entry").find("ref").attrib["href"]
download_http(url, options.output)
download_http(options, url)
class Urplay():
def get(self, options, url):