[ytdl] set domain as subcategory when using Generic extractor (#6582)

https://github.com/mikf/gallery-dl/issues/6582#issuecomment-2959879730
This commit is contained in:
Mike Fährmann
2025-06-10 20:48:16 +02:00
parent 4cfddc144a
commit 8e698d1a64
4 changed files with 28 additions and 3 deletions

View File

@@ -5707,12 +5707,24 @@ Type
Default
``true``
Description
Enables the use of |ytdl's| ``generic`` extractor.
Enables the use of |ytdl's| ``Generic`` extractor.
Set this option to ``"force"`` for the same effect as
``--force-generic-extractor``.
extractor.ytdl.generic-category
-------------------------------
Type
``bool``
Default
``true``
Description
When using |ytdl's| ``Generic`` extractor,
change `category` to ``"ytdl-generic"`` and
set `subcategory` to the input URL's domain.
extractor.ytdl.logging
----------------------
Type

View File

@@ -808,6 +808,7 @@
"enabled" : false,
"format" : null,
"generic" : true,
"generic-category": true,
"logging" : true,
"module" : null,
"raw-options" : null