1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +01:00

Forgot to change a variable..

This commit is contained in:
Johan Andersson 2011-09-19 17:11:02 +02:00
parent 82eb9bdfdd
commit 2a646ceaea

View File

@ -133,6 +133,7 @@ class Svtplay(Common):
self.live = live
def get(self, url):
other = ""
data = self.getdata(url)
match = re.search('dynamicStreams=(.*)\&amp\;background', data)
if match:
@ -161,7 +162,7 @@ class Svtplay(Common):
self.output = os.path.basename(filename)
print "Outfile: ", self.output
if stream[0:4] == "rtmp":
if filename[0:4] == "rtmp":
self.getrtmp(filename, self.output, self.live, other)
else:
self.gethttp(filename, self.output)