mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-15 03:27:46 +01:00
[mtv] Relax triforce feed regex (closes #11766)
This commit is contained in:
parent
1560baacc6
commit
f1e70fc2ff
@ -211,7 +211,7 @@ class MTVServicesInfoExtractor(InfoExtractor):
|
|||||||
|
|
||||||
def _extract_triforce_mgid(self, webpage, data_zone=None, video_id=None):
|
def _extract_triforce_mgid(self, webpage, data_zone=None, video_id=None):
|
||||||
triforce_feed = self._parse_json(self._search_regex(
|
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)
|
'triforce feed', default='{}'), video_id, fatal=False)
|
||||||
|
|
||||||
data_zone = self._search_regex(
|
data_zone = self._search_regex(
|
||||||
|
Loading…
Reference in New Issue
Block a user