mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-25 20:22:36 +01:00
70 lines
2.4 KiB
Python
70 lines
2.4 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 sankakucomplex
|
|
|
|
|
|
__tests__ = (
|
|
{
|
|
"#url" : "https://news.sankakucomplex.com/2019/05/11/twitter-cosplayers",
|
|
"#category": ("", "sankakucomplex", "article"),
|
|
"#class" : sankakucomplex.SankakucomplexArticleExtractor,
|
|
"#pattern" : r"https://news\.sankakucomplex\.com/wp-content/uploads/2019/05/maid-day-cosplay-\d+\.jpg",
|
|
"#sha1_metadata": "21bf106150913a1398860031f06d6e1e6423e518",
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.sankakucomplex.com/2009/12/01/sexy-goddesses-of-2ch",
|
|
"#category": ("", "sankakucomplex", "article"),
|
|
"#class" : sankakucomplex.SankakucomplexArticleExtractor,
|
|
"#pattern" : r"https://news\.sankakucomplex\.com/wp-content/uploads/2009/12/Goddesses-of-2ch-amateur-internet-idol-\d+\.jpe?g",
|
|
"#sha1_metadata": "651e4ee79ecab1771b43df467b5ab32249d69b2a",
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.sankakucomplex.com/2019/06/11/darling-ol-goddess-shows-off-her-plump-lower-area/",
|
|
"#comment" : "videos (#308)",
|
|
"#category": ("", "sankakucomplex", "article"),
|
|
"#class" : sankakucomplex.SankakucomplexArticleExtractor,
|
|
"#pattern" : r"/wp-content/uploads/2019/06/[^/]+\d\.mp4",
|
|
"#range" : "26-",
|
|
"#count" : 5,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.sankakucomplex.com/2015/02/12/snow-miku-2015-live-magical-indeed/",
|
|
"#comment" : "youtube embeds (#308)",
|
|
"#category": ("", "sankakucomplex", "article"),
|
|
"#class" : sankakucomplex.SankakucomplexArticleExtractor,
|
|
"#options" : {"embeds": True},
|
|
"#pattern" : "https://www.youtube.com/embed/",
|
|
"#range" : "2-",
|
|
"#count" : 2,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.sankakucomplex.com/tag/cosplay/",
|
|
"#category": ("", "sankakucomplex", "tag"),
|
|
"#class" : sankakucomplex.SankakucomplexTagExtractor,
|
|
"#pattern" : sankakucomplex.SankakucomplexArticleExtractor.pattern,
|
|
"#range" : "1-50",
|
|
"#count" : 50,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.sankakucomplex.com/category/anime/",
|
|
"#category": ("", "sankakucomplex", "tag"),
|
|
"#class" : sankakucomplex.SankakucomplexTagExtractor,
|
|
},
|
|
|
|
{
|
|
"#url" : "https://www.sankakucomplex.com/author/rift/page/5/",
|
|
"#category": ("", "sankakucomplex", "tag"),
|
|
"#class" : sankakucomplex.SankakucomplexTagExtractor,
|
|
},
|
|
|
|
)
|