aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/options.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-01-25 04:49:44 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-01-25 04:49:44 +0100
commit881e6a1f5c47a65348879f817ad833081e8c5ada (patch)
treeb00cf8678eb48bc96815d32a58d13721151ba652 /youtube_dl/options.py
parentbaeaeffce550b23848983cd281f173a7906cd7f9 (diff)
downloadyoutube-dl-881e6a1f5c47a65348879f817ad833081e8c5ada.tar.xz
Add --xattr-set-filesize option (Fixes #1348)
Diffstat (limited to 'youtube_dl/options.py')
-rw-r--r--youtube_dl/options.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index 1ddbdbc78..dbc6f5528 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -395,6 +395,10 @@ def parseOpts(overrideArguments=None):
action='store_true',
help='Download playlist videos in reverse order')
downloader.add_option(
+ '--xattr-set-filesize',
+ dest='xattr_set_filesize', action='store_true',
+ help='(experimental) set file xattribute ytdl.filesize with expected filesize')
+ downloader.add_option(
'--external-downloader',
dest='external_downloader', metavar='COMMAND',
help='(experimental) Use the specified external downloader. '