diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-11-26 12:41:24 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-11-26 12:41:24 +0100 |
commit | e91cdcae1a8e33cd63e68e81c14abb163b9b4c64 (patch) | |
tree | 5a86cd67f00bec4efdc382d21bbe2cd1b80f84df /youtube_dl | |
parent | 27e1400f5541ff46ee11b63219baff8e1b255a92 (diff) |
[appletrailers] Modernize
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/appletrailers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/appletrailers.py b/youtube_dl/extractor/appletrailers.py index 87580147d..0c01fa1a1 100644 --- 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) |