1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-11 22:12:51 +08:00

[ard] fix ARDIE url regex

This commit is contained in:
Niklas 2018-10-09 19:09:45 +02:00
parent 19a352854f
commit 1135a30970
No known key found for this signature in database
GPG Key ID: C7070AE8E74845B8

View File

@ -227,7 +227,7 @@ class ARDMediathekIE(InfoExtractor):
class ARDIE(InfoExtractor):
_VALID_URL = r'(?P<mainurl>https?://(www\.)?daserste\.de/[^?#]+/videos/(?P<display_id>[^/?#]+)-(?P<id>[0-9]+))\.html'
_VALID_URL = r'(?P<mainurl>https?://(www\.)?daserste\.de/[^?#]+/videos(-folgen-verpasst)?/(?P<display_id>[^/?#]+)-(?P<id>[0-9]+))\.html'
_TESTS = [{
# available till 14.02.2019
'url': 'http://www.daserste.de/information/talk/maischberger/videos/das-groko-drama-zerlegen-sich-die-volksparteien-video-102.html',
@ -244,6 +244,9 @@ class ARDIE(InfoExtractor):
}, {
'url': 'http://www.daserste.de/information/reportage-dokumentation/dokus/videos/die-story-im-ersten-mission-unter-falscher-flagge-100.html',
'only_matching': True,
}, {
'url': 'https://www.daserste.de/unterhaltung/serie/babylon-berlin/videos-folgen-verpasst/Babylon_Berlin_1-folge-100.html',
'only_matching': True,
}]
def _real_extract(self, url):