1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-23 03:02:50 +01:00
gallery-dl/test/results/jpgfish.py
Mike Fährmann 2911ed1240
[chevereto] add generic extractors (#4664)
- support jpgfish
- support pixl.li / pixl.is (#3179, #4357)
2023-10-16 14:15:39 +02:00

156 lines
4.2 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 chevereto
__tests__ = (
{
"#url" : "https://jpg2.su/img/funnymeme.LecXGS",
"#category": ("chevereto", "jpgfish", "image"),
"#class" : chevereto.CheveretoImageExtractor,
"#urls" : "https://simp3.jpg.church/images/funnymeme.jpg",
"#sha1_content": "098e5e9b17ad634358426e0ffd1c93871474d13c",
"album" : "",
"extension": "jpg",
"filename" : "funnymeme",
"id" : "LecXGS",
"url" : "https://simp3.jpg.church/images/funnymeme.jpg",
"user" : "exearco",
},
{
"#url" : "https://jpg.church/img/auCruA",
"#category": ("chevereto", "jpgfish", "image"),
"#class" : chevereto.CheveretoImageExtractor,
"#pattern" : r"https://simp2\.jpg\.church/hannahowo_00457\.jpg",
"album": "401-500",
},
{
"#url" : "https://jpg1.su/img/funnymeme.LecXGS",
"#category": ("chevereto", "jpgfish", "image"),
"#class" : chevereto.CheveretoImageExtractor,
},
{
"#url" : "https://jpeg.pet/img/funnymeme.LecXGS",
"#category": ("chevereto", "jpgfish", "image"),
"#class" : chevereto.CheveretoImageExtractor,
},
{
"#url" : "https://jpg.pet/img/funnymeme.LecXGS",
"#category": ("chevereto", "jpgfish", "image"),
"#class" : chevereto.CheveretoImageExtractor,
},
{
"#url" : "https://jpg.fishing/img/funnymeme.LecXGS",
"#category": ("chevereto", "jpgfish", "image"),
"#class" : chevereto.CheveretoImageExtractor,
},
{
"#url" : "https://jpg.fish/img/funnymeme.LecXGS",
"#category": ("chevereto", "jpgfish", "image"),
"#class" : chevereto.CheveretoImageExtractor,
},
{
"#url" : "https://jpg.church/img/funnymeme.LecXGS",
"#category": ("chevereto", "jpgfish", "image"),
"#class" : chevereto.CheveretoImageExtractor,
},
{
"#url" : "https://jpg1.su/album/CDilP/?sort=date_desc&page=1",
"#category": ("chevereto", "jpgfish", "album"),
"#class" : chevereto.CheveretoAlbumExtractor,
"#count" : 2,
},
{
"#url" : "https://jpg.fishing/a/gunggingnsk.N9OOI",
"#category": ("chevereto", "jpgfish", "album"),
"#class" : chevereto.CheveretoAlbumExtractor,
"#count" : 114,
},
{
"#url" : "https://jpg.fish/a/101-200.aNJ6A/",
"#category": ("chevereto", "jpgfish", "album"),
"#class" : chevereto.CheveretoAlbumExtractor,
"#count" : 100,
},
{
"#url" : "https://jpg.church/a/hannahowo.aNTdH/sub",
"#category": ("chevereto", "jpgfish", "album"),
"#class" : chevereto.CheveretoAlbumExtractor,
"#count" : 606,
},
{
"#url" : "https://jpeg.pet/album/CDilP/?sort=date_desc&page=1",
"#category": ("chevereto", "jpgfish", "album"),
"#class" : chevereto.CheveretoAlbumExtractor,
},
{
"#url" : "https://jpg.pet/album/CDilP/?sort=date_desc&page=1",
"#category": ("chevereto", "jpgfish", "album"),
"#class" : chevereto.CheveretoAlbumExtractor,
},
{
"#url" : "https://jpg1.su/exearco",
"#category": ("chevereto", "jpgfish", "user"),
"#class" : chevereto.CheveretoUserExtractor,
"#count" : 3,
},
{
"#url" : "https://jpg.church/exearco/albums",
"#category": ("chevereto", "jpgfish", "user"),
"#class" : chevereto.CheveretoUserExtractor,
"#count" : 1,
},
{
"#url" : "https://jpeg.pet/exearco",
"#category": ("chevereto", "jpgfish", "user"),
"#class" : chevereto.CheveretoUserExtractor,
},
{
"#url" : "https://jpg.pet/exearco",
"#category": ("chevereto", "jpgfish", "user"),
"#class" : chevereto.CheveretoUserExtractor,
},
{
"#url" : "https://jpg.fishing/exearco",
"#category": ("chevereto", "jpgfish", "user"),
"#class" : chevereto.CheveretoUserExtractor,
},
{
"#url" : "https://jpg.fish/exearco",
"#category": ("chevereto", "jpgfish", "user"),
"#class" : chevereto.CheveretoUserExtractor,
},
{
"#url" : "https://jpg.church/exearco",
"#category": ("chevereto", "jpgfish", "user"),
"#class" : chevereto.CheveretoUserExtractor,
},
)