author_email='ytdl@yt-dl.org',
maintainer='Philipp Hagemeister',
maintainer_email='phihag@phihag.de',
- packages=['youtube_dl', 'youtube_dl.extractor', 'youtube_dl.downloader'],
+ packages=[
+ 'youtube_dl',
+ 'youtube_dl.extractor', 'youtube_dl.downloader',
+ 'youtube_dl.postprocessor'],
# Provokes warning on most systems (why?!)
# test_suite = 'nose.collector',
)
from .extractor import get_info_extractor, gen_extractors
from .downloader import get_suitable_downloader
-from .PostProcessor import FFmpegMergerPP
+from .postprocessor import FFmpegMergerPP
from .version import __version__
from .extractor import gen_extractors
from .version import __version__
from .YoutubeDL import YoutubeDL
-from .PostProcessor import (
+from .postprocessor import (
FFmpegMetadataPP,
FFmpegVideoConvertor,
FFmpegExtractAudioPP,
import time
-from .utils import (
+from ..utils import (
compat_subprocess_get_DEVNULL,
encodeFilename,
+ hyphenate_date,
PostProcessingError,
+ prepend_extension,
shell_quote,
subtitles_filename,
- prepend_extension,
)
def run(self, info):
""" Set extended attributes on downloaded file (if xattr support is found). """
- from .utils import hyphenate_date
-
# This mess below finds the best xattr tool for the job and creates a
# "write_xattr" function.
try: