diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-11-26 10:51:03 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-11-26 10:51:03 +0100 |
commit | acda92f6bc76a81e6457448fdf371f9d04e0065d (patch) | |
tree | 1111abaea2dc477f891537cd704389c449839063 /youtube_dl | |
parent | ddfd0f2727797f42c807cfc55c6ffa2b2561343f (diff) |
Clarify --no-playlist documentation (Closes #4309)
Diffstat (limited to 'youtube_dl')
-rwxr-xr-x | youtube_dl/YoutubeDL.py | 2 | ||||
-rw-r--r-- | youtube_dl/options.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 21c7c298a..6342ae767 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -174,6 +174,8 @@ class YoutubeDL(object): extract_flat: Do not resolve URLs, return the immediate result. Pass in 'in_playlist' to only show this behavior for playlist items. + no_playlist: If the URL contains both a playlist and a video ID, + download the video, not the playlist. The following parameters are not used by YoutubeDL itself, they are used by the FileDownloader: diff --git a/youtube_dl/options.py b/youtube_dl/options.py index da02fb6bb..2e8c71508 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -222,7 +222,7 @@ def parseOpts(overrideArguments=None): selection.add_option( '--no-playlist', action='store_true', dest='noplaylist', default=False, - help='download only the currently playing video') + help='If the URL refers to a video and a playlist, download only the video.') selection.add_option( '--age-limit', metavar='YEARS', dest='age_limit', default=None, type=int, |