A feature-rich command-line audio/video downloader
[extractor/bongacams] Update `_VALID_URL` (#5104)
Dhruv573a98d6f086
diff --git a/yt_dlp/extractor/bongacams.py b/yt_dlp/extractor/bongacams.pyindex cbef0fc53a..9ba166b043 100644--- a/yt_dlp/extractor/bongacams.py+++ b/yt_dlp/extractor/bongacams.py@@ -8,13 +8,28 @@ from ..utils import (class BongaCamsIE(InfoExtractor):- _VALID_URL = r'https?://(?P<host>(?:[^/]+\.)?bongacams\d*\.com)/(?P<id>[^/?&#]+)'+ _VALID_URL = r'https?://(?P<host>(?:[^/]+\.)?bongacams\d*\.(?:com|net))/(?P<id>[^/?&#]+)'_TESTS = [{'url': 'https://de.bongacams.com/azumi-8','only_matching': True,}, {'url': 'https://cn.bongacams.com/azumi-8','only_matching': True,+ }, {+ 'url': 'https://de.bongacams.net/claireashton',+ 'info_dict': {+ 'id': 'claireashton',+ 'ext': 'mp4',+ 'title': r're:ClaireAshton \d{4}-\d{2}-\d{2} \d{2}:\d{2}',+ 'age_limit': 18,+ 'uploader_id': 'ClaireAshton',+ 'uploader': 'ClaireAshton',+ 'like_count': int,+ 'is_live': True,+ },+ 'params': {+ 'skip_download': True,+ },}]def _real_extract(self, url):