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

@@ -15,7 +15,6 @@ from .. import text, exception
class PinterestExtractor(Extractor):
"""Base class for pinterest extractors"""
category = "pinterest"
directory_fmt = ["{category}"]
filename_fmt = "{category}_{pin-id}.{extension}"
def __init__(self):