mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
Cosmetics
This commit is contained in:
parent
2c96664f43
commit
f9a8508180
@ -35,7 +35,7 @@ class Common(object):
|
||||
|
||||
def getrtmp(self, url, output, live, other):
|
||||
""" Get the stream from RTMP """
|
||||
encrypted =""
|
||||
encrypted = ""
|
||||
if url[4:5] == "e":
|
||||
# For encrypted streams
|
||||
encrypted = "-l 2"
|
||||
@ -81,7 +81,6 @@ class Expressen(Common):
|
||||
streams = {}
|
||||
|
||||
for i in sa:
|
||||
stream = {}
|
||||
streams[i.attrib["bitrate"]] = i.text
|
||||
|
||||
sort = []
|
||||
@ -190,6 +189,7 @@ class Tv4play(Common):
|
||||
if not self.output:
|
||||
self.output = os.path.basename(streams[str(self.quality)]["path"])
|
||||
print "Outfile: ", self.output
|
||||
|
||||
self.getrtmp(streams[str(self.quality)]["uri"], self.output, self.live, other)
|
||||
|
||||
class Svtplay(Common):
|
||||
|
Loading…
Reference in New Issue
Block a user