mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
Addl. regex refactoring
This commit is contained in:
parent
620d721779
commit
311dc3d438
1 changed files with 2 additions and 2 deletions
|
@ -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<playlist_id>[\w-]+)/?(?:$|[#?])'
|
||||
_VALID_URL = r'https?://www\.30daysinger\.com/tutorial/(?P<playlist_id>[\w-]+)/?(?:$|[#?])'
|
||||
|
||||
_TESTS = [{
|
||||
'url': 'https://www.30daysinger.com/tutorial/30-day-beginner-course-with-jonathan-estabrooks',
|
||||
|
|
Loading…
Reference in a new issue