diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-04-22 00:05:48 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-04-22 00:07:43 +0800 |
commit | a292cba256c1adca354d4ed59ef30a62aeb8606e (patch) | |
tree | 0f1ff233d1585b8581ac132e46ed37d4e0f0ba4e /youtube_dl/extractor | |
parent | 982e518a96be4659ae621b5bcafe3bbb1b9ca6fc (diff) |
[mgtv] Fix _VALID_URL and add localized name
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/mgtv.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mgtv.py b/youtube_dl/extractor/mgtv.py index 8f16a8f4c..a14d176a5 100644 --- a/youtube_dl/extractor/mgtv.py +++ b/youtube_dl/extractor/mgtv.py @@ -6,7 +6,8 @@ from ..utils import int_or_none class MGTVIE(InfoExtractor): - _VALID_URL = r'https?://www\.mgtv\.com/v/(?:[^/]+/)*(?P<id>\d+).html' + _VALID_URL = r'https?://www\.mgtv\.com/v/(?:[^/]+/)*(?P<id>\d+)\.html' + IE_DESC = '芒果TV' _TEST = { 'url': 'http://www.mgtv.com/v/1/290525/f/3116640.html', |