update all other extractors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user