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>
pull/11738/head
knackku 3 weeks ago committed by GitHub
parent a1505e3f1f
commit cfb4ecb29b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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}/

Loading…
Cancel
Save