youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit e91cdcae1a8e33cd63e68e81c14abb163b9b4c64
parent 27e1400f5541ff46ee11b63219baff8e1b255a92
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Wed, 26 Nov 2014 12:41:24 +0100

[appletrailers] Modernize

Diffstat:
Myoutube_dl/extractor/appletrailers.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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('\'', '&#39;') 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)