mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-12-02 16:14:15 +01:00
flake8 over-indented for visual indent
This commit is contained in:
parent
8f126c3d49
commit
5339bdc265
@ -47,9 +47,9 @@ class Mtvnn(Service, OpenGraphThumbMixin):
|
|||||||
hls_asset = self.http.request("get", hls_url)
|
hls_asset = self.http.request("get", hls_url)
|
||||||
xml = ET.XML(hls_asset.text)
|
xml = ET.XML(hls_asset.text)
|
||||||
|
|
||||||
if xml.find("./video") is not None and xml.find("./video").find("item") is not None and \
|
if xml.find("./video") is not None and xml.find("./video").find("item") is not None \
|
||||||
xml.find("./video").find("item").find("rendition") is not None and \
|
and xml.find("./video").find("item").find("rendition") is not None \
|
||||||
xml.find("./video").find("item").find("rendition").find("src") is not None:
|
and xml.find("./video").find("item").find("rendition").find("src") is not None:
|
||||||
|
|
||||||
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.options, self.http.request("get", hls_url), hls_url)
|
stream = hlsparse(self.options, self.http.request("get", hls_url), hls_url)
|
||||||
|
Loading…
Reference in New Issue
Block a user