mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
commit
a94cb4474e
@ -22,9 +22,7 @@ class RTMP(VideoRetriever):
|
|||||||
if self.options.resume:
|
if self.options.resume:
|
||||||
args.append("-e")
|
args.append("-e")
|
||||||
|
|
||||||
file_d = output(self.options, self.options.output, "flv", False)
|
output(self.options, self.options.output, "flv", False)
|
||||||
if hasattr(file_d, "read") is False:
|
|
||||||
return
|
|
||||||
args += ["-o", self.options.output]
|
args += ["-o", self.options.output]
|
||||||
if self.options.silent or self.options.output == "-":
|
if self.options.silent or self.options.output == "-":
|
||||||
args.append("-q")
|
args.append("-q")
|
||||||
|
@ -56,7 +56,7 @@ class Aftonbladet(Service):
|
|||||||
plist = "http://%s/%s/%s" % (address, path, hls["filename"])
|
plist = "http://%s/%s/%s" % (address, path, hls["filename"])
|
||||||
if playlist:
|
if playlist:
|
||||||
streams = hlsparse(plist)
|
streams = hlsparse(plist)
|
||||||
print streams
|
log.info("streams %r", streams)
|
||||||
for n in list(streams.keys()):
|
for n in list(streams.keys()):
|
||||||
yield HLS(copy.copy(options), streams[n], n)
|
yield HLS(copy.copy(options), streams[n], n)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user