put common directory- and filename formats in base classes

This commit is contained in:
Mike Fährmann
2017-05-30 12:10:16 +02:00
parent bce51e90a5
commit c184e47ee3
12 changed files with 3 additions and 22 deletions

View File

@@ -82,8 +82,6 @@ class ImgboxImageExtractor(Extractor):
"""Extractor for single images from imgbox.com"""
category = "imgbox"
subcategory = "image"
directory_fmt = ["{category}"]
filename_fmt = "{filename}"
pattern = [r"(?:https?://)?(?:www\.)?imgbox\.com/([A-Za-z0-9]{8})"]
test = [
("https://imgbox.com/qHhw7lpG", {