diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-10-06 16:30:26 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-10-06 16:30:26 +0200 |
commit | b24f347190b02e519dae9e60e1dff2c56ecdd92f (patch) | |
tree | 5fb00f059d5d49df4467c14f0bd0b04d039045e0 /youtube_dl/__init__.py | |
parent | 2a69c6b87910d3dbeec14d3c6f7e16855944a0ad (diff) | |
parent | ee6c9f95e1e5cf118b0bdf6abc8376bd95bc7dcf (diff) |
Merge branch 'download-archive'
Conflicts:
youtube_dl/YoutubeDL.py
youtube_dl/__init__.py
Diffstat (limited to 'youtube_dl/__init__.py')
-rw-r--r-- | youtube_dl/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index 7a399273a..ba5206387 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -191,6 +191,9 @@ def parseOpts(overrideArguments=None): selection.add_option('--age-limit', metavar='YEARS', dest='age_limit', help='download only videos suitable for the given age', default=None, type=int) + selection.add_option('--download-archive', metavar='FILE', + dest='download_archive', + help='Download only videos not present in the archive file. Record all downloaded videos in it.') authentication.add_option('-u', '--username', @@ -635,6 +638,7 @@ def _real_main(argv=None): 'cachedir': opts.cachedir, 'youtube_print_sig_code': opts.youtube_print_sig_code, 'age_limit': opts.age_limit, + 'download_archive': opts.download_archive, }) if opts.verbose: |