1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-23 03:02:50 +01:00
gallery-dl/test/results/lensdump.py
2023-09-10 14:45:01 +02:00

49 lines
1.3 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 lensdump
__tests__ = (
{
"#url" : "https://lensdump.com/a/1IhJr",
"#category": ("", "lensdump", "album"),
"#class" : lensdump.LensdumpAlbumExtractor,
"#pattern" : r"https://[abcd]\.l3n\.co/i/tq\w{4}\.png",
"extension": "png",
"name" : str,
"num" : int,
"title" : str,
"url" : str,
"width" : int,
},
{
"#url" : "https://lensdump.com/vstar925/albums",
"#category": ("", "lensdump", "albums"),
"#class" : lensdump.LensdumpAlbumsExtractor,
},
{
"#url" : "https://lensdump.com/i/tyoAyM",
"#category": ("", "lensdump", "image"),
"#class" : lensdump.LensdumpImageExtractor,
"#pattern" : r"https://c\.l3n\.co/i/tyoAyM\.webp",
"#sha1_content": "1aa749ed2c0cf679ec8e1df60068edaf3875de46",
"date" : "dt:2022-08-01 08:24:28",
"extension": "webp",
"filename" : "tyoAyM",
"height" : 400,
"id" : "tyoAyM",
"title" : "MYOBI clovis bookcaseset",
"url" : "https://c.l3n.co/i/tyoAyM.webp",
"width" : 620,
},
)