[appletrailers] Modernize

pull/8/head
Philipp Hagemeister 2014-11-26 12:41:24 +01:00
rodzic 27e1400f55
commit e91cdcae1a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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)