[dl:ytdl] implement explicit HLS/DASH handling

add '_ytdl_manifest' to specify a manifest type to process
This commit is contained in:
Mike Fährmann
2024-10-15 21:54:05 +02:00
parent 67547a659f
commit 1824267447
5 changed files with 51 additions and 3 deletions

View File

@@ -56,6 +56,7 @@ class PatreonExtractor(Extractor):
text.nameext_from_url(name, post)
if text.ext_from_url(url) == "m3u8":
url = "ytdl:" + url
post["_ytdl_manifest"] = "hls"
post["extension"] = "mp4"
yield Message.Url, url, post
else: