1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 19:23:00 +08:00

[mgtv] Fix _VALID_URL and add localized name

This commit is contained in:
Yen Chi Hsuan 2016-04-22 00:05:48 +08:00
parent 982e518a96
commit a292cba256
No known key found for this signature in database
GPG Key ID: 3FDDD575826C5C30

View File

@ -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',