1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-25 12:12:34 +01:00
gallery-dl/test/results/ponybooru.py
2023-09-10 14:45:01 +02:00

40 lines
1.1 KiB
Python

# -*- 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 philomena
__tests__ = (
{
"#url" : "https://ponybooru.org/images/1",
"#category": ("philomena", "ponybooru", "post"),
"#class" : philomena.PhilomenaPostExtractor,
"#sha1_content": "bca26f58fafd791fe07adcd2a28efd7751824605",
},
{
"#url" : "https://www.ponybooru.org/images/1",
"#category": ("philomena", "ponybooru", "post"),
"#class" : philomena.PhilomenaPostExtractor,
},
{
"#url" : "https://ponybooru.org/search?q=cute",
"#category": ("philomena", "ponybooru", "search"),
"#class" : philomena.PhilomenaSearchExtractor,
"#range" : "40-60",
"#count" : 21,
},
{
"#url" : "https://ponybooru.org/galleries/27",
"#category": ("philomena", "ponybooru", "gallery"),
"#class" : philomena.PhilomenaGalleryExtractor,
"#count" : ">= 24",
},
)