diff options
author | Simon <simon30002021@icloud.com> | 2023-09-17 17:11:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-17 15:11:22 +0000 |
commit | efa2339502a37cf13ae7f143bd8b2c28f452d1cd (patch) | |
tree | 70132a2a8dbb7e3eeb6e5d9d51e61192f85e36ae | |
parent | 58493923e9b6f774947a2131e5258e9f3cf816be (diff) |
[ie/lecturio] Improve `_VALID_URL` (#7649)
Authored by: simon300000
-rw-r--r-- | yt_dlp/extractor/lecturio.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/yt_dlp/extractor/lecturio.py b/yt_dlp/extractor/lecturio.py index bb059d3a2..795012541 100644 --- a/yt_dlp/extractor/lecturio.py +++ b/yt_dlp/extractor/lecturio.py @@ -57,8 +57,8 @@ class LecturioIE(LecturioBaseIE): _VALID_URL = r'''(?x) https:// (?: - app\.lecturio\.com/([^/]+/(?P<nt>[^/?#&]+)\.lecture|(?:\#/)?lecture/c/\d+/(?P<id>\d+))| - (?:www\.)?lecturio\.de/[^/]+/(?P<nt_de>[^/?#&]+)\.vortrag + app\.lecturio\.com/([^/?#]+/(?P<nt>[^/?#&]+)\.lecture|(?:\#/)?lecture/c/\d+/(?P<id>\d+))| + (?:www\.)?lecturio\.de/(?:[^/?#]+/)+(?P<nt_de>[^/?#&]+)\.vortrag ) ''' _TESTS = [{ @@ -74,6 +74,9 @@ class LecturioIE(LecturioBaseIE): 'url': 'https://www.lecturio.de/jura/oeffentliches-recht-staatsexamen.vortrag', 'only_matching': True, }, { + 'url': 'https://www.lecturio.de/jura/oeffentliches-recht-at-1-staatsexamen/oeffentliches-recht-staatsexamen.vortrag', + 'only_matching': True, + }, { 'url': 'https://app.lecturio.com/#/lecture/c/6434/39634', 'only_matching': True, }] |