Advertisement
mgtow-archive

Preset Config

Sep 15th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.00 KB | None | 0 0
  1.     "outtmpl": "%(uploader)s/%(title)s.%(ext)s",
  2.     "download_archive": "download_archive_mp4",
  3.     "format":                   "best[ext=mp4][height<=720]/best[ext=mp4]/mp4",
  4.     "merge_output_format":      "mp4",
  5.     "no_warnings":              False,       # Do not print out anything for warnings.
  6.     "restrictfilenames":        True,        # Do not allow "&" and spaces in file names
  7.     "ignoreerrors":             True,        # Do not stop on download errors.
  8.     "nooverwrites":             True,        # Prevent overwriting files.
  9.     "writedescription":         True,        # Write the video description to a .description file
  10.     "writeinfojson":            True,        # Write the video description to a .info.json file
  11.     "writeannotations":         True,        # Write the video annotations to a .annotations.xml file
  12.     "writethumbnail":           True,        # Write the thumbnail image to a file
  13.     "writeautomaticsub":        True,        # Write the automatically generated subtitles to a file
  14.     "keepvideo":                False,       # Keep the video file after post-processing
  15.     "skip_download":            False,       # Skip the actual download of the video file
  16.     "noplaylist":               False,       # Download single video instead of a playlist if in doubt.
  17.     "postprocessors":          [             # A list of dictionaries, each with an entry
  18.         {"key": "EmbedThumbnail"},           # * key:  The name of the postprocessor. See
  19.         {"key": "FFmpegMetadata"},           # youtube_dl/postprocessor/__init__.py for a list.
  20.         {"key": "FFmpegEmbedSubtitle"}       # as well as any further keyword arguments for the
  21.     ],                                       # postprocessor.
  22.     "prefer_ffmpeg":            True,                # If True, use ffmpeg instead of avconv if both are available,
  23.                                                      # otherwise prefer avconv.
  24.     "retries":                  999,         # Number of times to retry for HTTP error 5xx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement