[nowtv] Add support for .ch TLD
authorSergey M․ <dstftw@gmail.com>
Fri, 7 Aug 2015 13:50:54 +0000 (19:50 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 7 Aug 2015 13:50:54 +0000 (19:50 +0600)
youtube_dl/extractor/nowtv.py

index 78e8851c083b81f9c838359c0002d0914bcba8c0..fc21d8e3f4e6c43f113f1ae94c702c209852c7cb 100644 (file)
@@ -14,7 +14,7 @@ from ..utils import (
 
 
 class NowTVIE(InfoExtractor):
-    _VALID_URL = r'https?://(?:www\.)?nowtv\.(?:de|at)/(?:rtl|rtl2|rtlnitro|superrtl|ntv|vox)/(?P<id>.+?)/(?:player|preview)'
+    _VALID_URL = r'https?://(?:www\.)?nowtv\.(?:de|at|ch)/(?:rtl|rtl2|rtlnitro|superrtl|ntv|vox)/(?P<id>.+?)/(?:player|preview)'
 
     _TESTS = [{
         # rtl