From 83d79150689ba66e103a374355d87447c32419c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrn=20Brodersen?= Date: Sun, 5 Jul 2015 00:41:23 +0200 Subject: [PATCH] [wdr] Use of self._extract_m3u8_formats and utils.qualities --- youtube_dl/extractor/wdr.py | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/youtube_dl/extractor/wdr.py b/youtube_dl/extractor/wdr.py index ce9918ce0..d81cdfd8f 100644 --- a/youtube_dl/extractor/wdr.py +++ b/youtube_dl/extractor/wdr.py @@ -12,6 +12,7 @@ from ..compat import ( from ..utils import ( determine_ext, unified_strdate, + qualities ) @@ -78,7 +79,7 @@ class WDRIE(InfoExtractor): 'url': 'http://www1.wdr.de/mediathek/video/livestream/index.html', # Test live tv 'info_dict': { 'id': 'mdb-103364', - 'title': 're:^24 Stunden Livestream [0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}$', + 'title': 're:^WDR Fernsehen Live [0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}$', 'description': 'md5:ae2ff888510623bf8d4b115f95a9b7c9', 'ext': 'flv', 'upload_date': '20150101', @@ -151,25 +152,24 @@ class WDRIE(InfoExtractor): formats.append({'ext': ext, 'url': video_url}) - m3u8_url = re.search(r'
  • \n\n\n