1
0
mirror of https://gitlab.com/ytdl-org/youtube-dl.git synced 2026-01-04 00:01:07 -05:00

Improve some _VALID_URLs

This commit is contained in:
stepshal
2016-09-08 18:29:05 +07:00
committed by Sergey M․
parent b690ea15eb
commit 925194022c
65 changed files with 86 additions and 86 deletions

View File

@@ -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