Skip to content

Commit

Permalink
[ard:mediathek] Add support for classic.ardmediathek.de (closes #18473)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw authored and haraldmartin committed Dec 12, 2018
1 parent 49676e0 commit 7633f4c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion youtube_dl/extractor/ard.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

class ARDMediathekIE(InfoExtractor):
IE_NAME = 'ARD:mediathek'
_VALID_URL = r'^https?://(?:(?:www\.)?ardmediathek\.de|mediathek\.(?:daserste|rbb-online)\.de|one\.ard\.de)/(?:.*/)(?P<video_id>[0-9]+|[^0-9][^/\?]+)[^/\?]*(?:\?.*)?'
_VALID_URL = r'^https?://(?:(?:(?:www|classic)\.)?ardmediathek\.de|mediathek\.(?:daserste|rbb-online)\.de|one\.ard\.de)/(?:.*/)(?P<video_id>[0-9]+|[^0-9][^/\?]+)[^/\?]*(?:\?.*)?'

_TESTS = [{
# available till 26.07.2022
Expand Down Expand Up @@ -51,6 +51,9 @@ class ARDMediathekIE(InfoExtractor):
# audio
'url': 'http://mediathek.rbb-online.de/radio/Hörspiel/Vor-dem-Fest/kulturradio/Audio?documentId=30796318&topRessort=radio&bcastId=9839158',
'only_matching': True,
}, {
'url': 'https://classic.ardmediathek.de/tv/Panda-Gorilla-Co/Panda-Gorilla-Co-Folge-274/Das-Erste/Video?bcastId=16355486&documentId=58234698',
'only_matching': True,
}]

def _extract_media_info(self, media_info_url, webpage, video_id):
Expand Down

0 comments on commit 7633f4c

Please sign in to comment.