Browse Source

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

master-ytdl-org
Sergey M․ 8 years ago
parent
commit
f1e70fc2ff
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/mtv.py

+ 1
- 1
youtube_dl/extractor/mtv.py View 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(


Loading…
Cancel
Save