[yinyuetai] Do not capture unused group
authorSergey M․ <dstftw@gmail.com>
Wed, 8 Jul 2015 17:40:19 +0000 (23:40 +0600)
committerSergey M․ <dstftw@gmail.com>
Wed, 8 Jul 2015 17:40:19 +0000 (23:40 +0600)
youtube_dl/extractor/yinyuetai.py

index 003df92336d3a972a071e6c203675b2f73c1159c..fa6b40816b4c833d285ae60ad6a195f1feff71c6 100644 (file)
@@ -7,7 +7,7 @@ from ..utils import ExtractorError
 
 class YinYueTaiIE(InfoExtractor):
     IE_NAME = 'yinyuetai:video'
-    _VALID_URL = r'https?://v\.yinyuetai\.com/video(/h5)?/(?P<id>[0-9]+)'
+    _VALID_URL = r'https?://v\.yinyuetai\.com/video(?:/h5)?/(?P<id>[0-9]+)'
     _TESTS = [{
         'url': 'http://v.yinyuetai.com/video/2322376',
         'md5': '6e3abe28d38e3a54b591f9f040595ce0',