1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-28 06:04:17 +01:00

svtplay: Better error message

This commit is contained in:
Johan Andersson 2014-11-26 16:12:39 +01:00
parent be75c47419
commit b540fb8992

View File

@ -47,7 +47,7 @@ class Svtplay(Service, OpenGraphThumbMixin):
try:
data = json.loads(get_http_data(dataurl))
except HTTPError:
log.error("Can't get api page.")
log.error("Can't get api page. this is a bug.")
return
if "live" in data["video"]:
options.live = data["video"]["live"]