]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[mtv] Relax triforce feed regex (closes #11766)
authorSergey M․ <dstftw@gmail.com>
Wed, 18 Jan 2017 16:34:11 +0000 (23:34 +0700)
committerSergey M․ <dstftw@gmail.com>
Wed, 18 Jan 2017 16:34:11 +0000 (23:34 +0700)
youtube_dl/extractor/mtv.py

index 00a980c7d8460d19d338d717a06012698b580507..e48ea248175281f94cd6aa6c7240b48253242dfc 100644 (file)
@@ -211,7 +211,7 @@ class MTVServicesInfoExtractor(InfoExtractor):
 
     def _extract_triforce_mgid(self, webpage, data_zone=None, video_id=None):
         triforce_feed = self._parse_json(self._search_regex(
-            r'triforceManifestFeed\s*=\s*(\{.+?\});\n', webpage,
+            r'triforceManifestFeed\s*=\s*({.+?})\s*;\s*\n', webpage,
             'triforce feed', default='{}'), video_id, fatal=False)
 
         data_zone = self._search_regex(