removes exclude_media_extensions option

This commit is contained in:
msramalho
2025-06-10 18:34:33 +01:00
parent 6279610a43
commit 8314833ae8
4 changed files with 3 additions and 14 deletions

View File

@@ -111,12 +111,14 @@ def is_relevant_url(url: str) -> bool:
("emoji.redditmedia.com",),
]
# TODO: make these globally configurable
IRRELEVANT_ENDS_WITH = [
".svg", # ignore SVGs
".ico", # ignore icons
# ignore index files for videos, these should be handled by ytdlp
".m3u8",
".mpd",
".ism", # ignore index files for videos, these should be handled by ytdlp
".ism",
]
for end in IRRELEVANT_ENDS_WITH: