aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/mgtv.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/mgtv.py')
-rw-r--r--youtube_dl/extractor/mgtv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mgtv.py b/youtube_dl/extractor/mgtv.py
index 27bdff8b2..e0bb5d208 100644
--- a/youtube_dl/extractor/mgtv.py
+++ b/youtube_dl/extractor/mgtv.py
@@ -6,7 +6,7 @@ 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'
_TESTS = [{