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

28 lines
807 B
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 kabeuchi
from gallery_dl import exception
__tests__ = (
{
"#url" : "https://kabe-uchiroom.com/mypage/?id=919865303848255493",
"#category": ("", "kabeuchi", "user"),
"#class" : kabeuchi.KabeuchiUserExtractor,
"#pattern" : r"https://kabe-uchiroom\.com/accounts/upfile/3/919865303848255493/\w+\.jpe?g",
"#count" : ">= 24",
},
{
"#url" : "https://kabe-uchiroom.com/mypage/?id=123456789",
"#category": ("", "kabeuchi", "user"),
"#class" : kabeuchi.KabeuchiUserExtractor,
"#exception": exception.NotFoundError,
},
)