From: Yen Chi Hsuan Date: Thu, 21 Apr 2016 16:05:48 +0000 (+0800) Subject: [mgtv] Fix _VALID_URL and add localized name X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=a292cba256c1adca354d4ed59ef30a62aeb8606e;p=youtube-dl [mgtv] Fix _VALID_URL and add localized name --- 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\d+).html' + _VALID_URL = r'https?://www\.mgtv\.com/v/(?:[^/]+/)*(?P\d+)\.html' + IE_DESC = '芒果TV' _TEST = { 'url': 'http://www.mgtv.com/v/1/290525/f/3116640.html',