A feature-rich command-line audio/video downloader
Test for colon in mgid
Adam Malcontenti-Wilsonb1298d8e064e
diff --git a/youtube_dl/extractor/mtv.py b/youtube_dl/extractor/mtv.pyindex af9490cccf..228b42d2b9 100644--- a/youtube_dl/extractor/mtv.py+++ b/youtube_dl/extractor/mtv.py@@ -158,6 +158,9 @@ class MTVServicesInfoExtractor(InfoExtractor):if mgid.endswith('.swf'):mgid = mgid[:-4]except RegexNotFoundError:+ mgid = None++ if mgid is None or ':' not in mgid:mgid = self._search_regex([r'data-mgid="(.*?)"', r'swfobject.embedSWF\(".*?(mgid:.*?)"'],webpage, u'mgid')