Addl. regex refactoring

pull/9894/head
Kieran Eglin 3 weeks ago
parent 620d721779
commit 311dc3d438
No known key found for this signature in database
GPG Key ID: 193984967FCF432D

@ -48,7 +48,7 @@ class ThirtyDaySingerBase(WistiaBaseIE):
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 @@ class ThirtyDaySingerIE(ThirtyDaySingerBase):
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…
Cancel
Save