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:
parent
82eb9bdfdd
commit
2a646ceaea
@ -133,6 +133,7 @@ class Svtplay(Common):
|
||||
self.live = live
|
||||
|
||||
def get(self, url):
|
||||
other = ""
|
||||
data = self.getdata(url)
|
||||
match = re.search('dynamicStreams=(.*)\&\;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)
|
||||
|
Loading…
Reference in New Issue
Block a user