mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-25 21:59:04 +01:00
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>
This commit is contained in:
parent
a1505e3f1f
commit
cfb4ecb29b
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ from ..utils import (
|
||||||
|
|
||||||
|
|
||||||
class XHamsterIE(InfoExtractor):
|
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)
|
_VALID_URL = rf'''(?x)
|
||||||
https?://
|
https?://
|
||||||
(?:[^/?#]+\.)?{_DOMAINS}/
|
(?:[^/?#]+\.)?{_DOMAINS}/
|
||||||
|
|
Loading…
Reference in a new issue