mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 12:15:40 +01:00
svtplay: Better error message
This commit is contained in:
parent
be75c47419
commit
b540fb8992
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user