mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-09-26 16:50:10 +00:00
Improve some _VALID_URLs
This commit is contained in:
@@ -307,7 +307,7 @@ class UdemyIE(InfoExtractor):
|
||||
|
||||
class UdemyCourseIE(UdemyIE):
|
||||
IE_NAME = 'udemy:course'
|
||||
_VALID_URL = r'https?://www\.udemy\.com/(?P<id>[^/?#&]+)'
|
||||
_VALID_URL = r'https?://(?:www\.)?udemy\.com/(?P<id>[^/?#&]+)'
|
||||
_TESTS = []
|
||||
|
||||
@classmethod
|
||||
|
Reference in New Issue
Block a user