You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
2.2 KiB
79 lines
2.2 KiB
1 year ago
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
# This program is free software; you can redistribute it and/or modify
|
||
|
# it under the terms of the GNU General Public License version 2 as
|
||
|
# published by the Free Software Foundation.
|
||
|
|
||
|
from gallery_dl.extractor import moebooru
|
||
|
|
||
|
|
||
|
__tests__ = (
|
||
|
{
|
||
|
"#url" : "https://yande.re/post/show/51824",
|
||
|
"#category": ("moebooru", "yandere", "post"),
|
||
|
"#class" : moebooru.MoebooruPostExtractor,
|
||
|
"#options" : {"tags": True},
|
||
|
"#sha1_content": "59201811c728096b2d95ce6896fd0009235fe683",
|
||
|
|
||
|
"tags_artist" : "sasaki_tamaru",
|
||
|
"tags_circle" : "softhouse_chara",
|
||
|
"tags_copyright": "ouzoku",
|
||
|
"tags_general" : str,
|
||
|
},
|
||
|
|
||
|
{
|
||
|
"#url" : "https://yande.re/post/show/993156",
|
||
|
"#category": ("moebooru", "yandere", "post"),
|
||
|
"#class" : moebooru.MoebooruPostExtractor,
|
||
|
"#options" : {"notes": True},
|
||
|
"#sha1_content": "fed722bd90f48de41ec163692befc701056e2b1e",
|
||
|
|
||
|
"notes": [
|
||
|
{
|
||
|
"id" : 7096,
|
||
|
"x" : 90,
|
||
|
"y" : 626,
|
||
|
"width" : 283,
|
||
|
"height": 529,
|
||
|
"body" : "Please keep this as a secret for me!!",
|
||
|
},
|
||
|
{
|
||
|
"id" : 7095,
|
||
|
"x" : 900,
|
||
|
"y" : 438,
|
||
|
"width" : 314,
|
||
|
"height": 588,
|
||
|
"body" : "The facts that I love playing games",
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
|
||
|
{
|
||
|
"#url" : "https://yande.re/post?tags=ouzoku+armor",
|
||
|
"#category": ("moebooru", "yandere", "tag"),
|
||
|
"#class" : moebooru.MoebooruTagExtractor,
|
||
|
"#sha1_content": "59201811c728096b2d95ce6896fd0009235fe683",
|
||
|
},
|
||
|
|
||
|
{
|
||
|
"#url" : "https://yande.re/pool/show/318",
|
||
|
"#category": ("moebooru", "yandere", "pool"),
|
||
|
"#class" : moebooru.MoebooruPoolExtractor,
|
||
|
"#sha1_content": "2a35b9d6edecce11cc2918c6dce4de2198342b68",
|
||
|
},
|
||
|
|
||
|
{
|
||
|
"#url" : "https://yande.re/post/popular_by_month?month=6&year=2014",
|
||
|
"#category": ("moebooru", "yandere", "popular"),
|
||
|
"#class" : moebooru.MoebooruPopularExtractor,
|
||
|
"#count" : 40,
|
||
|
},
|
||
|
|
||
|
{
|
||
|
"#url" : "https://yande.re/post/popular_recent",
|
||
|
"#category": ("moebooru", "yandere", "popular"),
|
||
|
"#class" : moebooru.MoebooruPopularExtractor,
|
||
|
},
|
||
|
|
||
|
)
|