1
0
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:
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:
url = data["streams"][0]["source"]
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)
else:
steambaseurl = data["streamBaseUrl"]