mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
Cosmetic changes from flake8
This commit is contained in:
parent
dcbf6a8a0e
commit
525d33a516
@ -141,7 +141,7 @@ class MtvMusic(Service, OpenGraphThumbMixin):
|
|||||||
|
|
||||||
hls_url = xml.find("./video").find("item").find("rendition").find("src").text
|
hls_url = xml.find("./video").find("item").find("rendition").find("src").text
|
||||||
stream = hlsparse(self.config, self.http.request("get", hls_url), hls_url, output=self.output)
|
stream = hlsparse(self.config, self.http.request("get", hls_url), hls_url, output=self.output)
|
||||||
if stream:
|
|
||||||
|
|
||||||
|
if stream:
|
||||||
for key in list(stream.keys()):
|
for key in list(stream.keys()):
|
||||||
yield stream[key]
|
yield stream[key]
|
||||||
|
Loading…
Reference in New Issue
Block a user