mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 06:10:12 +01:00
Addl. regex refactoring
This commit is contained in:
parent
620d721779
commit
311dc3d438
|
@ -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 New Issue
Block a user