From: Jaime Marquínez Ferrándiz Date: Fri, 3 Jan 2014 11:02:08 +0000 (+0100) Subject: [dreisat] Make ‘index.php’ optional in the url (fixes #2080) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=71cd2a571e794dfcd06a4656846d098c4d034a5b;p=youtube-dl [dreisat] Make ‘index.php’ optional in the url (fixes #2080) --- diff --git a/youtube_dl/extractor/dreisat.py b/youtube_dl/extractor/dreisat.py index b0e4300bd..0b11d1f10 100644 --- a/youtube_dl/extractor/dreisat.py +++ b/youtube_dl/extractor/dreisat.py @@ -10,7 +10,7 @@ from ..utils import ( class DreiSatIE(InfoExtractor): IE_NAME = '3sat' - _VALID_URL = r'(?:http://)?(?:www\.)?3sat\.de/mediathek/index\.php\?(?:(?:mode|display)=[^&]+&)*obj=(?P[0-9]+)$' + _VALID_URL = r'(?:http://)?(?:www\.)?3sat\.de/mediathek/(?:index\.php)?\?(?:(?:mode|display)=[^&]+&)*obj=(?P[0-9]+)$' _TEST = { u"url": u"http://www.3sat.de/mediathek/index.php?obj=36983", u'file': u'36983.mp4',