X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Frte.py;h=d9cfbf1808b712a359222dff60cd27ee1799785f;hb=d781e293168cbdf93ee8d76e33b65387b13a2755;hp=b5a67373bf02fd3998f32d879e4cb27a9f3d1c8d;hpb=ea1d5bdcddc4b9bdac0ef5555f080484c33467a9;p=youtube-dl diff --git a/youtube_dl/extractor/rte.py b/youtube_dl/extractor/rte.py index b5a67373b..d9cfbf180 100644 --- a/youtube_dl/extractor/rte.py +++ b/youtube_dl/extractor/rte.py @@ -9,22 +9,22 @@ from ..utils import ( class RteIE(InfoExtractor): - _VALID_URL = r'http?://(?:www\.)?rte\.ie/player/[^/]{2,3}/show/(?P[0-9]+)/' + _VALID_URL = r'https?://(?:www\.)?rte\.ie/player/[^/]{2,3}/show/[^/]+/(?P[0-9]+)' _TEST = { - 'url': 'http://www.rte.ie/player/de/show/10363114/', + 'url': 'http://www.rte.ie/player/ie/show/iwitness-862/10478715/', 'info_dict': { - 'id': '10363114', + 'id': '10478715', 'ext': 'mp4', - 'title': 'One News', + 'title': 'Watch iWitness online', 'thumbnail': 're:^https?://.*\.jpg$', - 'description': 'The One O\'Clock News followed by Weather.', - 'duration': 436.844, + 'description': 'iWitness : The spirit of Ireland, one voice and one minute at a time.', + 'duration': 60.046, }, 'params': { 'skip_download': 'f4m fails with --test atm' } } - + def _real_extract(self, url): video_id = self._match_id(url) webpage = self._download_webpage(url, video_id)