diff options
author | sepro <4618135+seproDev@users.noreply.github.com> | 2024-02-01 19:38:42 +0100 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2024-03-11 00:51:38 +0530 |
commit | a687226b48f71b874fa18b0165ec528d591f53fb (patch) | |
tree | 6c61191f3f9174fbece63418f5fa8f55ec23d679 /yt_dlp/extractor/lecturio.py | |
parent | 93240fc1848de4a94f25844c96e0dcd282ef1d3b (diff) |
[cleanup, ie] Match both `http` and `https` in `_VALID_URL` (#8968)
Except for Vimeo, since that causes matching collisions.
Authored by: seproDev
Diffstat (limited to 'yt_dlp/extractor/lecturio.py')
-rw-r--r-- | yt_dlp/extractor/lecturio.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/lecturio.py b/yt_dlp/extractor/lecturio.py index 795012541..629d208fc 100644 --- a/yt_dlp/extractor/lecturio.py +++ b/yt_dlp/extractor/lecturio.py @@ -172,7 +172,7 @@ class LecturioIE(LecturioBaseIE): class LecturioCourseIE(LecturioBaseIE): - _VALID_URL = r'https://app\.lecturio\.com/(?:[^/]+/(?P<nt>[^/?#&]+)\.course|(?:#/)?course/c/(?P<id>\d+))' + _VALID_URL = r'https?://app\.lecturio\.com/(?:[^/]+/(?P<nt>[^/?#&]+)\.course|(?:#/)?course/c/(?P<id>\d+))' _TESTS = [{ 'url': 'https://app.lecturio.com/medical-courses/microbiology-introduction.course#/', 'info_dict': { @@ -209,7 +209,7 @@ class LecturioCourseIE(LecturioBaseIE): class LecturioDeCourseIE(LecturioBaseIE): - _VALID_URL = r'https://(?:www\.)?lecturio\.de/[^/]+/(?P<id>[^/?#&]+)\.kurs' + _VALID_URL = r'https?://(?:www\.)?lecturio\.de/[^/]+/(?P<id>[^/?#&]+)\.kurs' _TEST = { 'url': 'https://www.lecturio.de/jura/grundrechte.kurs', 'only_matching': True, |