1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 10:42:34 +01:00
gallery-dl/test/results/issuu.py
Mike Fährmann 625e94fa7d
update extractor test results
still not everything, but good enough for now
2023-11-27 18:30:53 +01:00

47 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 issuu
__tests__ = (
{
"#url" : "https://issuu.com/issuu/docs/motions-1-2019/",
"#category": ("", "issuu", "publication"),
"#class" : issuu.IssuuPublicationExtractor,
"#pattern" : r"https://image.isu.pub/190916155301-\w+/jpg/page_\d+.jpg",
"#count" : 36,
"document" : {
"access" : "PUBLIC",
"contentRating": {
"isAdsafe" : True,
"isExplicit": False,
"isReviewed": True,
},
"date" : "dt:2019-09-16 00:00:00",
"description" : r"re:Motions, the brand new publication by I",
"documentName" : "motions-1-2019",
"pageCount" : 36,
"publicationId": "d99ec95935f15091b040cb8060f05510",
"title" : "Motions by Issuu - Issue 1",
"username" : "issuu",
},
"extension": "jpg",
"filename" : r"re:page_\d+",
"num" : int,
},
{
"#url" : "https://issuu.com/issuu",
"#category": ("", "issuu", "user"),
"#class" : issuu.IssuuUserExtractor,
"#pattern" : issuu.IssuuPublicationExtractor.pattern,
"#count" : "> 25",
},
)