diff --git a/yt_dlp/extractor/thirtydaysinger.py b/yt_dlp/extractor/thirtydaysinger.py index 0ea779c3ee..9d57e9b536 100644 --- a/yt_dlp/extractor/thirtydaysinger.py +++ b/yt_dlp/extractor/thirtydaysinger.py @@ -48,7 +48,7 @@ def _format_html_list(self, html): class ThirtyDaySingerIE(ThirtyDaySingerBase): - _VALID_URL = r'(https?://)?www.30daysinger.com/tutorial/[\w-]+/[\w-]+' + _VALID_URL = r'https?://www\.30daysinger\.com/tutorial/[\w-]+/[\w-]+' _TESTS = [{ 'url': 'https://www.30daysinger.com/tutorial/30-day-beginner-course-with-jonathan-estabrooks/1', @@ -71,7 +71,7 @@ def _real_extract(self, url): class ThirtyDaySingerPlaylistIE(ThirtyDaySingerBase): _URI_BASE = 'https://www.30daysinger.com' - _VALID_URL = r'(https?://)?www.30daysinger.com/tutorial/(?P[\w-]+)/?(?:$|[#?])' + _VALID_URL = r'https?://www\.30daysinger\.com/tutorial/(?P[\w-]+)/?(?:$|[#?])' _TESTS = [{ 'url': 'https://www.30daysinger.com/tutorial/30-day-beginner-course-with-jonathan-estabrooks',