mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
kanal5: add a notice about drm hls files
This commit is contained in:
parent
65cafa3107
commit
483babbefc
@ -29,6 +29,9 @@ class Kanal5():
|
|||||||
if options.hls:
|
if options.hls:
|
||||||
url = data["streams"][0]["source"]
|
url = data["streams"][0]["source"]
|
||||||
baseurl = url[0:url.rfind("/")]
|
baseurl = url[0:url.rfind("/")]
|
||||||
|
if data["streams"][0]["drmProtected"]:
|
||||||
|
log.error("We cant download drm files for this site.")
|
||||||
|
sys.exit(2)
|
||||||
download_hls(options, url, baseurl)
|
download_hls(options, url, baseurl)
|
||||||
else:
|
else:
|
||||||
steambaseurl = data["streamBaseUrl"]
|
steambaseurl = data["streamBaseUrl"]
|
||||||
|
Loading…
Reference in New Issue
Block a user