diff --git a/gallery_dl/extractor/__init__.py b/gallery_dl/extractor/__init__.py index 16003bea..9b6ecf99 100644 --- a/gallery_dl/extractor/__init__.py +++ b/gallery_dl/extractor/__init__.py @@ -54,6 +54,7 @@ modules = [ "mangastream", "nhentai", "nijie", + "picmaniac", "pinterest", "powermanga", "rapidimg", diff --git a/gallery_dl/extractor/picmaniac.py b/gallery_dl/extractor/picmaniac.py new file mode 100644 index 00000000..e43d37d3 --- /dev/null +++ b/gallery_dl/extractor/picmaniac.py @@ -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 = []