X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fwdr.py;h=c9048850061e1ecae4380557503a6b3927d2220c;hb=b0ab0fac49057ea0df3db75fb407af92deaaa453;hp=ab28ef6fe4d3fb16413e72718b80115e9e96ad85;hpb=ff1956e07b64735a37de886fa2e800dd823bb3e1;p=youtube-dl.git diff --git a/youtube_dl/extractor/wdr.py b/youtube_dl/extractor/wdr.py index ab28ef6fe..c90488500 100644 --- a/youtube_dl/extractor/wdr.py +++ b/youtube_dl/extractor/wdr.py @@ -1,12 +1,15 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals +import itertools import re from .common import InfoExtractor -from ..utils import ( +from ..compat import ( compat_parse_qs, compat_urlparse, +) +from ..utils import ( determine_ext, unified_strdate, ) @@ -65,6 +68,13 @@ class WDRIE(InfoExtractor): 'upload_date': '20140717', }, }, + { + 'url': 'http://www1.wdr.de/mediathek/video/sendungen/quarks_und_co/filterseite-quarks-und-co100.html', + 'playlist_mincount': 146, + 'info_dict': { + 'id': 'mediathek/video/sendungen/quarks_und_co/filterseite-quarks-und-co100', + } + } ] def _real_extract(self, url): @@ -79,9 +89,30 @@ class WDRIE(InfoExtractor): self.url_result(page_url + href, 'WDR') for href in re.findall(r'\s*]*>\s*\s*