summary refs log tree commit diff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-01-03 12:02:08 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-01-03 12:02:08 +0100
commit71cd2a571e794dfcd06a4656846d098c4d034a5b (patch)
tree8e1914138208aa4b053c692a7a95af4b5147cd5d
parent7c094bfe2f8fa0d24fbf6932c674f5d7938268e6 (diff)
downloadyoutube-dl-71cd2a571e794dfcd06a4656846d098c4d034a5b.tar.gz
youtube-dl-71cd2a571e794dfcd06a4656846d098c4d034a5b.tar.xz
youtube-dl-71cd2a571e794dfcd06a4656846d098c4d034a5b.zip
[dreisat] Make ‘index.php’ optional in the url (fixes #2080)
-rw-r--r--youtube_dl/extractor/dreisat.py2
1 files changed, 1 insertions, 1 deletions
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<id>[0-9]+)$'
+    _VALID_URL = r'(?:http://)?(?:www\.)?3sat\.de/mediathek/(?:index\.php)?\?(?:(?:mode|display)=[^&]+&)*obj=(?P<id>[0-9]+)$'
     _TEST = {
         u"url": u"http://www.3sat.de/mediathek/index.php?obj=36983",
         u'file': u'36983.mp4',