projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1560baa
)
[mtv] Relax triforce feed regex (closes #11766)
author
Sergey M․
<dstftw@gmail.com>
Wed, 18 Jan 2017 16:34:11 +0000
(23:34 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 18 Jan 2017 16:34:11 +0000
(23:34 +0700)
youtube_dl/extractor/mtv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/mtv.py
b/youtube_dl/extractor/mtv.py
index 00a980c7d8460d19d338d717a06012698b580507..e48ea248175281f94cd6aa6c7240b48253242dfc 100644
(file)
--- a/
youtube_dl/extractor/mtv.py
+++ b/
youtube_dl/extractor/mtv.py
@@
-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(