password: Password for authentication purposes.
usenetrc: Use netrc for authentication instead.
quiet: Do not print messages to stdout.
+ simulate: Do not download the video files.
format: Video format code.
outtmpl: Template for output names.
"""
if (len(url_list) > 1 or len(results) > 1) and re.search(r'%\(.+?\)s', self._params['outtmpl']) is None:
sys.exit('ERROR: fixed output name but more than one file to download')
+ if self._params.get('simulate', False):
+ continue
+
for result in results:
try:
filename = self._params['outtmpl'] % result
'username': None,
'password': None,
'quiet': False,
+ 'simulate': True,
'format': None,
'outtmpl': '%(id)s.%(ext)s'
})