merge #5187: [skeb] add 'num' and 'count' metadata fields

This commit is contained in:
Mike Fährmann
2024-02-10 19:36:59 +01:00
2 changed files with 46 additions and 29 deletions

View File

@@ -16,6 +16,8 @@ __tests__ = (
"anonymous" : False,
"body" : r"re:はじめまして。私はYouTubeにてVTuberとして活動をしている湊ラ",
"count" : 2,
"num" : range(1, 2),
"client" : {
"avatar_url" : r"re:https://pbs.twimg.com/profile_images/\d+/\w+\.jpg",
"header_url" : r"re:https://pbs.twimg.com/profile_banners/1375007870291300358/\d+/1500x500",
@@ -60,6 +62,9 @@ __tests__ = (
"#class" : skeb.SkebUserExtractor,
"#pattern" : r"https://si\.imgix\.net/\w+/uploads/origins/[\w-]+",
"#range" : "1-5",
"count": int,
"num" : int,
},
{