|
|
|
@ -9,14 +9,20 @@ from gallery_dl.extractor import shimmie2
|
|
|
|
|
|
|
|
|
|
__tests__ = (
|
|
|
|
|
{
|
|
|
|
|
"#url" : "https://giantessbooru.com/index.php?q=/post/list/drawing/1",
|
|
|
|
|
"#url" : "https://sizechangebooru.com/index.php?q=/post/list/drawing/1",
|
|
|
|
|
"#category": ("shimmie2", "giantessbooru", "tag"),
|
|
|
|
|
"#class" : shimmie2.Shimmie2TagExtractor,
|
|
|
|
|
"#pattern" : r"https://giantessbooru\.com/index\.php\?q=/image/\d+\.jpg",
|
|
|
|
|
"#pattern" : r"https://sizechangebooru\.com/index\.php\?q=/image/\d+\.jpg",
|
|
|
|
|
"#range" : "1-100",
|
|
|
|
|
"#count" : 100,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"#url" : "https://giantessbooru.com/index.php?q=/post/list/drawing/1",
|
|
|
|
|
"#category": ("shimmie2", "giantessbooru", "tag"),
|
|
|
|
|
"#class" : shimmie2.Shimmie2TagExtractor,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"#url" : "https://giantessbooru.com/post/list/drawing/1",
|
|
|
|
|
"#category": ("shimmie2", "giantessbooru", "tag"),
|
|
|
|
@ -24,14 +30,14 @@ __tests__ = (
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"#url" : "https://giantessbooru.com/index.php?q=/post/view/41",
|
|
|
|
|
"#url" : "https://sizechangebooru.com/index.php?q=/post/view/41",
|
|
|
|
|
"#category": ("shimmie2", "giantessbooru", "post"),
|
|
|
|
|
"#class" : shimmie2.Shimmie2PostExtractor,
|
|
|
|
|
"#pattern" : r"https://giantessbooru\.com/index\.php\?q=/image/41\.jpg",
|
|
|
|
|
"#urls" : "https://sizechangebooru.com/index.php?q=/image/41.jpg",
|
|
|
|
|
"#sha1_content": "79115ed309d1f4e82e7bead6948760e889139c91",
|
|
|
|
|
|
|
|
|
|
"extension": "jpg",
|
|
|
|
|
"file_url" : "https://giantessbooru.com/index.php?q=/image/41.jpg",
|
|
|
|
|
"file_url" : "https://sizechangebooru.com/index.php?q=/image/41.jpg",
|
|
|
|
|
"filename" : "41",
|
|
|
|
|
"height" : 0,
|
|
|
|
|
"id" : 41,
|
|
|
|
@ -41,6 +47,12 @@ __tests__ = (
|
|
|
|
|
"width" : 1387,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"#url" : "https://giantessbooru.com/index.php?q=/post/view/41",
|
|
|
|
|
"#category": ("shimmie2", "giantessbooru", "post"),
|
|
|
|
|
"#class" : shimmie2.Shimmie2PostExtractor,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"#url" : "https://giantessbooru.com/post/view/41",
|
|
|
|
|
"#category": ("shimmie2", "giantessbooru", "post"),
|
|
|
|
|