1
0
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:
Johan Andersson 2021-05-20 14:33:18 +02:00
parent 94ed271397
commit 197985b540

View File

@ -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):