aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/postprocessor/common.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-07-11 21:58:12 +0600
committerSergey M․ <dstftw@gmail.com>2015-07-11 21:58:12 +0600
commitac9ed061ec08ad360a0422ddb68060bdcc72baa2 (patch)
tree61cabec165c6a9438bc1c66905c7e66dfc1ef265 /youtube_dl/postprocessor/common.py
parentd919fa3344463f94a152a10ba65981cd290d9ec8 (diff)
parentaa5d9a79d6b5c354ee4a6bfbb43f94c2485ab9b4 (diff)
Merge branch 'master' of https://github.com/aurium/youtube-dl into aurium-master
Diffstat (limited to 'youtube_dl/postprocessor/common.py')
-rw-r--r--youtube_dl/postprocessor/common.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/postprocessor/common.py b/youtube_dl/postprocessor/common.py
index 3b0e8ddd8..bee64c457 100644
--- a/youtube_dl/postprocessor/common.py
+++ b/youtube_dl/postprocessor/common.py
@@ -22,12 +22,14 @@ class PostProcessor(object):
of the chain is reached.
PostProcessor objects follow a "mutual registration" process similar
- to InfoExtractor objects.
+ to InfoExtractor objects. And it can receive parameters from CLI trough
+ --postprocessor-args.
"""
_downloader = None
def __init__(self, downloader=None):
+ self._extra_cmd_args = downloader.params.get('postprocessor_args')
self._downloader = downloader
def set_downloader(self, downloader):