mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
svtplay: right subtitle url
This commit is contained in:
parent
df70896c84
commit
15af0a5418
@ -79,7 +79,7 @@ class Svtplay(Service):
|
||||
download_http(options, test["url"])
|
||||
if options.subtitle:
|
||||
try:
|
||||
suburl = data["video"]["subtitleReferences"][0]["url"]
|
||||
subtitle = data["video"]["subtitleReferences"][0]["url"]
|
||||
except KeyError:
|
||||
sys.exit(1)
|
||||
if len(suburl) > 0:
|
||||
|
Loading…
Reference in New Issue
Block a user