1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-28 06:04:17 +01:00

main: Add include-clips command to include clips when combined with -A

Added --include-clips command to include clips when used togheter with -A
This commit is contained in:
qnorsten 2017-02-02 14:17:18 +01:00
parent 06647084da
commit d8a34c1fe9

View File

@ -427,6 +427,8 @@ def main():
help="If two streams have the same quality, choose the one you prefer") help="If two streams have the same quality, choose the one you prefer")
parser.add_option("--remux", dest="remux", default=False, action="store_true", parser.add_option("--remux", dest="remux", default=False, action="store_true",
help="Remux from one container to mp4 using ffmpeg or avconv") help="Remux from one container to mp4 using ffmpeg or avconv")
parser.add_option("--include-clips", dest="include_clips", default=False, action="store_true",
help="include clips from websites when using -A")
(options, args) = parser.parse_args() (options, args) = parser.parse_args()
if not args: if not args:
@ -493,4 +495,5 @@ def mergeParserOption(options, parser):
options.get_all_subtitles = parser.get_all_subtitles options.get_all_subtitles = parser.get_all_subtitles
options.get_raw_subtitles = parser.get_raw_subtitles options.get_raw_subtitles = parser.get_raw_subtitles
options.convert_subtitle_colors = parser.convert_subtitle_colors options.convert_subtitle_colors = parser.convert_subtitle_colors
options.include_clips = parser.include_clips
return options return options