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.
gallery-dl/test/results/booruvar.py

41 lines
1.2 KiB

# -*- 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 danbooru
__tests__ = (
{
"#url" : "https://booru.borvar.art/posts?tags=chibi&z=1",
"#category": ("Danbooru", "booruvar", "tag"),
"#class" : danbooru.DanbooruTagExtractor,
"#pattern" : r"https://booru\.borvar\.art/data/original/[0-9a-f]{2}/[0-9a-f]{2}/[0-9a-f]{32}\.\w+",
"#count" : ">= 3",
},
{
"#url" : "https://booru.borvar.art/pools/2",
"#category": ("Danbooru", "booruvar", "pool"),
"#class" : danbooru.DanbooruPoolExtractor,
"#count" : 4,
"#sha1_url": "77fa3559a3fc919f72611f4e3dd0f919d19d3e0d",
},
{
"#url" : "https://booru.borvar.art/posts/1487",
"#category": ("Danbooru", "booruvar", "post"),
"#class" : danbooru.DanbooruPostExtractor,
"#sha1_content": "91273ac1ea413a12be468841e2b5804656a50bff",
},
{
"#url" : "https://booru.borvar.art/explore/posts/popular",
"#category": ("Danbooru", "booruvar", "popular"),
"#class" : danbooru.DanbooruPopularExtractor,
},
)