From cfb4ecb29b0e4e24afa2824b40cd8d8ac792f436 Mon Sep 17 00:00:00 2001 From: knackku Date: Thu, 5 Dec 2024 10:41:28 -0500 Subject: [PATCH] Update yt_dlp/extractor/xhamster.py suggested change to eliminate capture group not used Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com> --- yt_dlp/extractor/xhamster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/xhamster.py b/yt_dlp/extractor/xhamster.py index a33dc539e4..3cbe27f613 100644 --- a/yt_dlp/extractor/xhamster.py +++ b/yt_dlp/extractor/xhamster.py @@ -20,7 +20,7 @@ from ..utils import ( class XHamsterIE(InfoExtractor): - _DOMAINS = r'(?:xhamster\.(?:com|one|desi)|xhms\.pro|xhamster\d+\.(com|desi)|xhday\.com|xhvid\.com)' + _DOMAINS = r'(?:xhamster\.(?:com|one|desi)|xhms\.pro|xhamster\d+\.(?:com|desi)|xhday\.com|xhvid\.com)' _VALID_URL = rf'''(?x) https?:// (?:[^/?#]+\.)?{_DOMAINS}/