|
|
@ -272,6 +272,10 @@ def parseOpts(overrideArguments=None):
|
|
|
|
'--no-playlist',
|
|
|
|
'--no-playlist',
|
|
|
|
action='store_true', dest='noplaylist', default=False,
|
|
|
|
action='store_true', dest='noplaylist', default=False,
|
|
|
|
help='If the URL refers to a video and a playlist, download only the video.')
|
|
|
|
help='If the URL refers to a video and a playlist, download only the video.')
|
|
|
|
|
|
|
|
selection.add_option(
|
|
|
|
|
|
|
|
'--yes-playlist',
|
|
|
|
|
|
|
|
action='store_false', dest='noplaylist', default=False,
|
|
|
|
|
|
|
|
help='If the URL refers to a video and a playlist, download the playlist.')
|
|
|
|
selection.add_option(
|
|
|
|
selection.add_option(
|
|
|
|
'--age-limit',
|
|
|
|
'--age-limit',
|
|
|
|
metavar='YEARS', dest='age_limit', default=None, type=int,
|
|
|
|
metavar='YEARS', dest='age_limit', default=None, type=int,
|
|
|
|