You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gallery-dl/gallery_dl/postprocessor/common.py

23 lines
535 B

# -*- coding: utf-8 -*-
# Copyright 2018 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.
"""Common classes and constants used by postprocessor modules."""
from . import log
class PostProcessor():
"""Base class for postprocessors"""
log = log
def run(self, pathfmt):
"""Execute the postprocessor for a file"""
def finalize(self):
"""Cleanup"""