aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/yinyuetai.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-07-08 23:40:19 +0600
committerSergey M․ <dstftw@gmail.com>2015-07-08 23:40:19 +0600
commit082a0140eff05dfdac1020548a49541fcddd6ec6 (patch)
tree23536db1782904ab452cc3ce5a5c7a1e64ce46d7 /youtube_dl/extractor/yinyuetai.py
parent9e535ce055c9b57b6c7fa3c51c6a0928dae2b56d (diff)
[yinyuetai] Do not capture unused group
Diffstat (limited to 'youtube_dl/extractor/yinyuetai.py')
-rw-r--r--youtube_dl/extractor/yinyuetai.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/yinyuetai.py b/youtube_dl/extractor/yinyuetai.py
index 003df9233..fa6b40816 100644
--- a/youtube_dl/extractor/yinyuetai.py
+++ b/youtube_dl/extractor/yinyuetai.py
@@ -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',