diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-04-21 12:34:32 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-04-21 12:34:32 +0200 |
commit | f07a9f6f4347facde15a0cca9560119f0b6f8a94 (patch) | |
tree | 04c3a0c9debd239dde66ef41caee4566bbc8d63f | |
parent | e51880fd32c2087885b203f7dffd48c01b68d99a (diff) |
[ted] Remove superfluous u prefixes
-rw-r--r-- | youtube_dl/extractor/ted.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/ted.py b/youtube_dl/extractor/ted.py index df569a876..5b24716d9 100644 --- a/youtube_dl/extractor/ted.py +++ b/youtube_dl/extractor/ted.py @@ -97,7 +97,7 @@ class TEDIE(SubtitlesInfoExtractor): playlist_info = info['playlist'] playlist_entries = [ - self.url_result(u'http://www.ted.com/talks/' + talk['slug'], self.ie_key()) + self.url_result('http://www.ted.com/talks/' + talk['slug'], self.ie_key()) for talk in info['talks'] ] return self.playlist_result( @@ -163,7 +163,7 @@ class TEDIE(SubtitlesInfoExtractor): sub_lang_list[l] = url return sub_lang_list else: - self._downloader.report_warning(u'video doesn\'t have subtitles') + self._downloader.report_warning('video doesn\'t have subtitles') return {} def _watch_info(self, url, name): |