diff --git a/youtube_dl/extractor/ard.py b/youtube_dl/extractor/ard.py index 2e26b00dc..46b729464 100644 --- a/youtube_dl/extractor/ard.py +++ b/youtube_dl/extractor/ard.py @@ -420,7 +420,7 @@ class ARDMediathekBaseIE(InfoExtractor): class ARDMediathekIE(ARDMediathekBaseIE): - _VALID_URL = r'https://(?:beta|www)\.ardmediathek\.de/[^/]+/(?:player|live)/(?P[a-zA-Z0-9]+)(?:/(?P[^/?#]+))?' + _VALID_URL = r'https://(?:beta|www)\.ardmediathek\.de/[^/]+/(?Pplayer|live)/(?P[a-zA-Z0-9]+)(?:/(?P[^/?#]+))?' _TESTS = [{ # available till 26.07.2022 'url': 'https://www.ardmediathek.de/ard/player/Y3JpZDovL2JyLmRlL3ZpZGVvLzUwY2YzZTVhLTk0NjYtNGFiMS04NjAzLTFjM2VkNWFjYjM0YQ/', @@ -785,6 +785,7 @@ class ARDMediathekIE(ARDMediathekBaseIE): res = { 'id': video_id, 'display_id': display_id, + 'is_live': mobj.group('mode') == 'live', } res.update(self._extract_metadata(data))