Browse Source

[nowtv] Expand _VALID_URL

totalwebcasting
Sergey M․ 9 years ago
parent
commit
e422d7f4f7
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      youtube_dl/extractor/nowtv.py

+ 4
- 1
youtube_dl/extractor/nowtv.py View File

@ -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):


Loading…
Cancel
Save