mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
dashparse: use the correct subtype.
This commit is contained in:
parent
94ed271397
commit
197985b540
@ -278,7 +278,7 @@ def _dashparse(config, text, url, output, cookies, **kwargs):
|
||||
if sub["codecs"] == "stpp":
|
||||
yield subtitle(copy.copy(config), "stpp", url, sub["lang"], output=copy.copy(loutput), files=sub["files"], **kwargs)
|
||||
if sub["mimetype"] == "text/vtt":
|
||||
yield subtitle(copy.copy(config), "webvtt", url, sub["lang"], output=copy.copy(loutput), files=sub["files"], **kwargs)
|
||||
yield subtitle(copy.copy(config), "wrst", url, sub["lang"], output=copy.copy(loutput), files=sub["files"], **kwargs)
|
||||
|
||||
|
||||
def parse_duration(duration):
|
||||
|
Loading…
Reference in New Issue
Block a user