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

Cosmetics

This commit is contained in:
Johan Andersson 2011-09-21 00:35:30 +02:00
parent 2c96664f43
commit f9a8508180

View File

@ -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):