aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/lecturio.py
diff options
context:
space:
mode:
authorsepro <4618135+seproDev@users.noreply.github.com>2024-02-01 19:38:42 +0100
committerpukkandan <pukkandan.ytdlp@gmail.com>2024-03-11 00:51:38 +0530
commita687226b48f71b874fa18b0165ec528d591f53fb (patch)
tree6c61191f3f9174fbece63418f5fa8f55ec23d679 /yt_dlp/extractor/lecturio.py
parent93240fc1848de4a94f25844c96e0dcd282ef1d3b (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.py4
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,