From 41e9d790a46e8f40954f9706ff5db55171a16a60 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Tue, 22 Sep 2020 00:30:00 +0530 Subject: [PATCH] Added --flat-videos --- youtube_dl/options.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/youtube_dl/options.py b/youtube_dl/options.py index 99524a161..bd11ba83e 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -185,6 +185,10 @@ def parseOpts(overrideArguments=None): action='store_const', dest='extract_flat', const='in_playlist', default=False, help='Do not extract the videos of a playlist, only list them.') + general.add_option( + '--flat-videos', + action='store_true', dest='extract_flat', default=False, + help='Do not resolve the video urls.') general.add_option( '--mark-watched', action='store_true', dest='mark_watched', default=False,