[picmaniac] add extractor
This commit is contained in:
@@ -54,6 +54,7 @@ modules = [
|
|||||||
"mangastream",
|
"mangastream",
|
||||||
"nhentai",
|
"nhentai",
|
||||||
"nijie",
|
"nijie",
|
||||||
|
"picmaniac",
|
||||||
"pinterest",
|
"pinterest",
|
||||||
"powermanga",
|
"powermanga",
|
||||||
"rapidimg",
|
"rapidimg",
|
||||||
|
|||||||
18
gallery_dl/extractor/picmaniac.py
Normal file
18
gallery_dl/extractor/picmaniac.py
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Copyright 2016 Mike Fährmann
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
"""Extract images from http://pic-maniac.com/"""
|
||||||
|
|
||||||
|
from . import chronos
|
||||||
|
|
||||||
|
class PicmaniacImageExtractor(chronos.ChronosImageExtractor):
|
||||||
|
"""Extractor for single images from pic-maniac.com"""
|
||||||
|
category = "picmaniac"
|
||||||
|
pattern = [r"(?:https?://)?(?:www\.)?pic-maniac\.com/([a-z0-9]{12})"]
|
||||||
|
url_base = "http://pic-maniac.com/"
|
||||||
|
test = []
|
||||||
Reference in New Issue
Block a user