[weibo] download 'm3u8' manifests with ytdl (#8339)

This commit is contained in:
Mike Fährmann
2025-10-03 11:02:01 +02:00
parent 9cdd94e71f
commit 008a871ccb
2 changed files with 26 additions and 5 deletions

View File

@@ -262,7 +262,7 @@ __tests__ = (
"#comment" : "missing 'playback_list' (#2792)",
"#category": ("", "weibo", "status"),
"#class" : weibo.WeiboStatusExtractor,
"#count" : 10,
"#count" : 9,
},
{
@@ -308,4 +308,20 @@ __tests__ = (
"#class" : weibo.WeiboStatusExtractor,
},
{
"#url" : "https://weibo.com/7117031969/5208376084532264",
"#comment" : "'.m3u8' manifest (live replay #8339)",
"#class" : weibo.WeiboStatusExtractor,
"#pattern" : r"ytdl:https://live.video.weibocdn.com/0f9e059c-3438-49ab-a84c-671a04d37b92_index.m3u8\?media_id=5208391172685924&.+&KID=unistore,video",
"#count" : 1,
},
{
"#url" : "https://weibo.com/2683260651/3774796733364550",
"#comment" : "'.m3u8' manifest (from 2014)",
"#class" : weibo.WeiboStatusExtractor,
"#pattern" : r"ytdl:https://us.sinaimg.cn/001xN98Njx06NszB2n15010d0100008H0k01.m3u8\?ori=0&.+&KID=unistore,video",
"#count" : 1,
},
)