[picmaniac] add extractor

This commit is contained in:
Mike Fährmann
2016-10-03 16:14:46 +02:00
parent a0c044f0c9
commit 277c505b8d
2 changed files with 19 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ modules = [
"mangastream",
"nhentai",
"nijie",
"picmaniac",
"pinterest",
"powermanga",
"rapidimg",

View 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 = []