projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27e1400
)
[appletrailers] Modernize
author
Philipp Hagemeister
<phihag@phihag.de>
Wed, 26 Nov 2014 11:41:24 +0000
(12:41 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Wed, 26 Nov 2014 11:41:24 +0000
(12:41 +0100)
youtube_dl/extractor/appletrailers.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/appletrailers.py
b/youtube_dl/extractor/appletrailers.py
index 87580147dcb4176b163417053ac5a2489cf556c3..0c01fa1a13ffa6fbfbfe7b7fb2283d5ed4f8b70f 100644
(file)
--- a/
youtube_dl/extractor/appletrailers.py
+++ b/
youtube_dl/extractor/appletrailers.py
@@
-80,7
+80,7
@@
class AppleTrailersIE(InfoExtractor):
def _clean_json(m):
return 'iTunes.playURL(%s);' % m.group(1).replace('\'', ''')
s = re.sub(self._JSON_RE, _clean_json, s)
- s = '<html>
' + s + u'</html>'
+ s = '<html>
%s</html>' % s
return s
doc = self._download_xml(playlist_url, movie, transform_source=fix_html)