1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

kanal5: add a notice about drm hls files

This commit is contained in:
Johan Andersson 2013-03-10 14:10:54 +01:00 committed by Olof Johansson
parent 65cafa3107
commit 483babbefc

View File

@ -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"]