update all other extractors

This commit is contained in:
Mike Fährmann
2015-11-21 04:26:30 +01:00
parent 2dfe97dd00
commit 4d56b76aa8
21 changed files with 131 additions and 256 deletions

View File

@@ -12,18 +12,13 @@ from .common import Extractor, Message
from .. import text
import re
info = {
"category": "imgchili",
"extractor": "ImgchiliExtractor",
"directory": ["{category}", "{title} - {key}"],
"filename": "{num:>03}-{name}",
"pattern": [
r"(?:https?://)?(?:www\.)?imgchili\.net/album/([^/]+)",
],
}
class ImgchiliExtractor(Extractor):
category = "imgchili"
directory_fmt = ["{category}", "{title} - {key}"]
filename_fmt = "{num:>03}-{name}"
pattern = [r"(?:https?://)?(?:www\.)?imgchili\.net/album/([^/]+)"]
def __init__(self, match):
Extractor.__init__(self)
self.match = match