projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6054e3
)
[stitcher] fix episode config extraction
author
Remita Amine
<remitamine@gmail.com>
Tue, 5 Jul 2016 09:44:16 +0000
(10:44 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Tue, 5 Jul 2016 09:44:16 +0000
(10:44 +0100)
youtube_dl/extractor/stitcher.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/stitcher.py
b/youtube_dl/extractor/stitcher.py
index d5c852f5207bdad9510a720d69b0cd70527f9f3f..0f8782d038c9fdadf903b05479ff468a039c6aa4 100644
(file)
--- a/
youtube_dl/extractor/stitcher.py
+++ b/
youtube_dl/extractor/stitcher.py
@@
-56,7
+56,7
@@
class StitcherIE(InfoExtractor):
episode = self._parse_json(
js_to_json(self._search_regex(
- r'(?s)var\s+stitcher\s*=\s*({.+?});\n', webpage, 'episode config')),
+ r'(?s)var\s+stitcher
(?:Config)?
\s*=\s*({.+?});\n', webpage, 'episode config')),
display_id)['config']['episode']
title = unescapeHTML(episode['title'])