projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
982e518
)
[mgtv] Fix _VALID_URL and add localized name
author
Yen Chi Hsuan
<yan12125@gmail.com>
Thu, 21 Apr 2016 16:05:48 +0000
(
00:05
+0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Thu, 21 Apr 2016 16:07:43 +0000
(
00:07
+0800)
youtube_dl/extractor/mgtv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/mgtv.py
b/youtube_dl/extractor/mgtv.py
index 8f16a8f4c3ae0c5038c1aeeb36e1db077ce6204d..a14d176a550c1cc5a21f9f06255a686afd24d03f 100644
(file)
--- 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',