1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-25 20:22:36 +01:00
gallery-dl/test/results/endchan.py

39 lines
1.1 KiB
Python
Raw Normal View History

2023-09-10 14:45:01 +02:00
# -*- 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 lynxchan
__tests__ = (
{
2024-01-20 18:02:36 +01:00
"#url" : "https://endchan.org/yuri/res/33621.html",
2023-09-10 14:45:01 +02:00
"#category": ("lynxchan", "endchan", "thread"),
"#class" : lynxchan.LynxchanThreadExtractor,
2024-01-20 18:02:36 +01:00
"#urls" : "https://endchan.org/.media/358c089df4be990e9f7b636e1ce83d3e-imagejpeg.jpg",
2023-09-10 14:45:01 +02:00
},
{
"#url" : "https://endchan.org/yuri/res/33621.html",
"#category": ("lynxchan", "endchan", "thread"),
"#class" : lynxchan.LynxchanThreadExtractor,
},
{
"#url" : "https://endchan.org/yuri/",
"#category": ("lynxchan", "endchan", "board"),
"#class" : lynxchan.LynxchanBoardExtractor,
"#pattern" : lynxchan.LynxchanThreadExtractor.pattern,
2024-01-20 18:02:36 +01:00
"#count" : ">= 8",
2023-09-10 14:45:01 +02:00
},
{
"#url" : "https://endchan.org/yuri/catalog.html",
"#category": ("lynxchan", "endchan", "board"),
"#class" : lynxchan.LynxchanBoardExtractor,
},
)