[util] Move compatibility functions out of util
[youtube-dl] / youtube_dl / postprocessor / atomicparsley.py
index 0f7cf54171b24507e5d3f0a2ead6d4c72cb60f41..448ccc5f342e42959aae0619854fa80d1e1cd978 100644 (file)
@@ -6,10 +6,11 @@ import os
 import subprocess
 
 from .common import PostProcessor
-
+from ..compat import (
+    compat_urlretrieve,
+)
 from ..utils import (
     check_executable,
-    compat_urlretrieve,
     encodeFilename,
     PostProcessingError,
     prepend_extension,
@@ -22,9 +23,6 @@ class AtomicParsleyPPError(PostProcessingError):
 
 
 class AtomicParsleyPP(PostProcessor):
-    def __init__(self, downloader=None):
-        PostProcessor.__init__(self, downloader)
-
     def run(self, info):
         if not check_executable('AtomicParsley', ['-v']):
             raise AtomicParsleyPPError('AtomicParsley was not found. Please install.')