[reddit] use '"videos": "dash"' by default (#8657)

https://github.com/mikf/gallery-dl/issues/8657#issuecomment-3663560902
This commit is contained in:
Mike Fährmann
2025-12-17 18:45:06 +01:00
parent f9096370e6
commit 717d38f38c
3 changed files with 6 additions and 6 deletions

View File

@@ -5218,7 +5218,7 @@ Type
* ``bool``
* ``string``
Default
``true``
``"dash"``
Description
Control video download behavior.

View File

@@ -694,7 +694,7 @@
"previews" : true,
"recursion" : 0,
"selftext" : null,
"videos" : true
"videos" : "dash"
},
"redgifs":
{

View File

@@ -33,11 +33,11 @@ class RedditExtractor(Extractor):
previews = self.config("previews", True)
embeds = self.config("embeds", True)
if videos := self.config("videos", True):
if videos == "ytdl":
self._extract_video = self._extract_video_ytdl
elif videos == "dash":
if videos := self.config("videos", "dash"):
if videos == "dash":
self._extract_video = self._extract_video_dash
elif videos == "ytdl":
self._extract_video = self._extract_video_ytdl
videos = True
selftext = self.config("selftext")