[tests] update extractor results

This commit is contained in:
Mike Fährmann
2024-01-20 18:02:36 +01:00
parent acc94ac187
commit 0d367ce1b9
38 changed files with 240 additions and 192 deletions

View File

@@ -72,13 +72,14 @@ __tests__ = (
"#comment" : "extra files in 'art-image-row' elements - native PNG files (#4642)",
"#category": ("", "newgrounds", "image"),
"#class" : newgrounds.NewgroundsImageExtractor,
"#auth" : True,
"#urls" : (
"https://art.ngfiles.com/images/5009000/5009916_14628_zedrinbot_nazrin-tanlines.265f7b6beec5855a349e2646e90cbc01.png?f1695698131",
"https://art.ngfiles.com/images/5009000/5009916_14632_zedrinbot_nazrin-tanlines.40bd62fbf5875806cda6b004b348114a.png?f1695698148",
"https://art.ngfiles.com/images/5009000/5009916_14634_zedrinbot_nazrin-tanlines.40bd62fbf5875806cda6b004b348114a.png?f1695698148",
"https://art.ngfiles.com/images/5009000/5009916_14633_zedrinbot_nazrin-tanlines.40bd62fbf5875806cda6b004b348114a.png?f1695698148",
"https://art.ngfiles.com/images/5009000/5009916_14635_zedrinbot_nazrin-tanlines.6a7aa4fd63e5f8077ad29314568246cc.png?f1695698149",
"https://art.ngfiles.com/images/5009000/5009916_14636_zedrinbot_nazrin-tanlines.6a7aa4fd63e5f8077ad29314568246cc.png?f1695698149",
"https://art.ngfiles.com/images/5009000/5009916_14632_zedrinbot_nazrin-tanlines.40bd62fbf5875806cda6b004b348114a.png?f1695727318",
"https://art.ngfiles.com/images/5009000/5009916_14634_zedrinbot_nazrin-tanlines.40bd62fbf5875806cda6b004b348114a.png?f1695727321",
"https://art.ngfiles.com/images/5009000/5009916_14633_zedrinbot_nazrin-tanlines.40bd62fbf5875806cda6b004b348114a.png?f1695727318",
"https://art.ngfiles.com/images/5009000/5009916_14635_zedrinbot_nazrin-tanlines.6a7aa4fd63e5f8077ad29314568246cc.png?f1695727321",
"https://art.ngfiles.com/images/5009000/5009916_14636_zedrinbot_nazrin-tanlines.6a7aa4fd63e5f8077ad29314568246cc.png?f1695727322",
),
},
@@ -165,7 +166,7 @@ From The ZJ "Late """,
"#comment" : "flash animation (#1257)",
"#category": ("", "newgrounds", "media"),
"#class" : newgrounds.NewgroundsMediaExtractor,
"#pattern" : r"https://uploads\.ungrounded\.net/161000/161181_ddautta_mask__550x281_\.swf\?f1081628129",
"#urls" : "https://uploads.ungrounded.net/161000/161181_ddautta_mask__550x281_.swf",
"type": "movie",
},
@@ -193,8 +194,10 @@ From The ZJ "Late """,
"#comment" : "flash game",
"#category": ("", "newgrounds", "media"),
"#class" : newgrounds.NewgroundsMediaExtractor,
"#pattern" : r"https://uploads\.ungrounded\.net/829000/829032_picovsbeardx\.swf\?f1641968445",
"#range" : "1",
"#urls" : (
"https://uploads.ungrounded.net/829000/829032_picovsbeardx.swf",
"https://uploads.ungrounded.net/tmp/img/521000/iu_521265_5431202.gif",
),
"artist" : [
"dungeonation",
@@ -229,7 +232,7 @@ From The ZJ "Late """,
],
"title" : "PICO VS BEAR DX",
"type" : "game",
"url" : "https://uploads.ungrounded.net/829000/829032_picovsbeardx.swf?f1641968445",
"url" : "https://uploads.ungrounded.net/829000/829032_picovsbeardx.swf",
},
{
@@ -244,8 +247,8 @@ From The ZJ "Late """,
"#url" : "https://tomfulp.newgrounds.com/audio",
"#category": ("", "newgrounds", "audio"),
"#class" : newgrounds.NewgroundsAudioExtractor,
"#pattern" : r"https://audio.ngfiles.com/\d+/\d+_.+\.mp3",
"#count" : ">= 4",
"#pattern" : r"https://(audio\.ngfiles\.com/\d+/\d+_.+\.mp3|uploads\.ungrounded\.net/.+\.png)",
"#count" : ">= 10",
},
{
@@ -261,7 +264,7 @@ From The ZJ "Late """,
"#url" : "https://tomfulp.newgrounds.com/games",
"#category": ("", "newgrounds", "games"),
"#class" : newgrounds.NewgroundsGamesExtractor,
"#pattern" : r"https://uploads.ungrounded.net(/alternate)?/\d+/\d+_.+",
"#pattern" : r"https://uploads.ungrounded.net(/alternate)?/(\d+/\d+_.+|tmp/.+)",
"#range" : "1-10",
"#count" : 10,
},
@@ -270,7 +273,7 @@ From The ZJ "Late """,
"#url" : "https://tomfulp.newgrounds.com",
"#category": ("", "newgrounds", "user"),
"#class" : newgrounds.NewgroundsUserExtractor,
"#pattern" : "https://tomfulp.newgrounds.com/art$",
"#urls" : "https://tomfulp.newgrounds.com/art",
},
{
@@ -278,8 +281,12 @@ From The ZJ "Late """,
"#category": ("", "newgrounds", "user"),
"#class" : newgrounds.NewgroundsUserExtractor,
"#options" : {"include": "all"},
"#pattern" : "https://tomfulp.newgrounds.com/(art|audio|movies)$",
"#count" : 3,
"#urls" : (
"https://tomfulp.newgrounds.com/art",
"https://tomfulp.newgrounds.com/audio",
"https://tomfulp.newgrounds.com/games",
"https://tomfulp.newgrounds.com/movies",
),
},
{