mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-30 23:24:16 +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"]
|
suburl = data["video"]["subtitleReferences"][0]["url"]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
if subtitle and len(subtitle) > 0:
|
if suburl and len(suburl) > 0:
|
||||||
yield subtitle(copy.copy(options), "wrst", suburl)
|
yield subtitle(copy.copy(options), "wrst", suburl)
|
||||||
|
|
||||||
if options.output_auto:
|
if options.output_auto:
|
||||||
|
Loading…
Reference in New Issue
Block a user