[mtv] Relax triforce feed regex (closes #11766)

This commit is contained in:
Sergey M․ 2017-01-18 23:34:11 +07:00
parent 1560baacc6
commit f1e70fc2ff
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -211,7 +211,7 @@ def _get_videos_info_from_url(self, url, video_id, use_hls=True):
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(