mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-28 06:04:17 +01:00
svtplay: Check suburl instead of subtitle
This commit is contained in:
parent
b540fb8992
commit
06467d5bab
@ -59,7 +59,7 @@ class Svtplay(Service, OpenGraphThumbMixin):
|
||||
suburl = data["video"]["subtitleReferences"][0]["url"]
|
||||
except KeyError:
|
||||
pass
|
||||
if subtitle and len(subtitle) > 0:
|
||||
if suburl and len(suburl) > 0:
|
||||
yield subtitle(copy.copy(options), "wrst", suburl)
|
||||
|
||||
if options.output_auto:
|
||||
|
Loading…
Reference in New Issue
Block a user