X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fwdr.py;h=313b9c15ddc576c226e1f4b8ee211bc816e2ebe9;hb=e1554a407d8953d0ec4fabec7f5a3b3906d1029b;hp=b8ad75e7d42f1c8da70d4f6305f001bd14ed36f0;hpb=94e8df3a7e5f73109556392df3afd93f4e6f3566;p=youtube-dl diff --git a/youtube_dl/extractor/wdr.py b/youtube_dl/extractor/wdr.py index b8ad75e7d..313b9c15d 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 ( - compat_parse_qs, +from ..compat import ( compat_parse_qs, + compat_urlparse, +) +from ..utils import ( determine_ext, unified_strdate, ) @@ -65,6 +68,10 @@ 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, + } ] def _real_extract(self, url): @@ -79,6 +86,27 @@ class WDRIE(InfoExtractor): self.url_result(page_url + href, 'WDR') for href in re.findall(r'\s*]*>\s*\s*