aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-08-02 04:26:59 +0600
committerSergey M․ <dstftw@gmail.com>2015-08-02 04:26:59 +0600
commite422d7f4f78994de8483d2207ab4e00174a2408c (patch)
tree2bb80ec9fd395a8ef01ed90c179288ac1ad52818 /youtube_dl
parentcdc682d5a467b7188eb13b5eeb76eb5dd544d1f5 (diff)
[nowtv] Expand _VALID_URL
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/nowtv.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/nowtv.py b/youtube_dl/extractor/nowtv.py
index de6bc6d96..11ce37168 100644
--- a/youtube_dl/extractor/nowtv.py
+++ b/youtube_dl/extractor/nowtv.py
@@ -16,7 +16,7 @@ from ..utils import (
class NowTVIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?nowtv\.de/(?:rtl|rtl2|rtlnitro|superrtl|ntv|vox)/(?P<id>.+?)/player'
+ _VALID_URL = r'https?://(?:www\.)?nowtv\.de/(?:rtl|rtl2|rtlnitro|superrtl|ntv|vox)/(?P<id>.+?)/(?:player|preview)'
_TESTS = [{
# rtl
@@ -126,6 +126,9 @@ class NowTVIE(InfoExtractor):
# rtmp download
'skip_download': True,
},
+ }, {
+ 'url': 'http://www.nowtv.de/rtl/bauer-sucht-frau/die-neuen-bauern-und-eine-hochzeit/preview',
+ 'only_matching': True,
}]
def _real_extract(self, url):