mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[ted] Remove superfluous u prefixes
This commit is contained in:
parent
e51880fd32
commit
f07a9f6f43
1 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,7 @@ def _playlist_videos_info(self, url, name):
|
||||||
playlist_info = info['playlist']
|
playlist_info = info['playlist']
|
||||||
|
|
||||||
playlist_entries = [
|
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']
|
for talk in info['talks']
|
||||||
]
|
]
|
||||||
return self.playlist_result(
|
return self.playlist_result(
|
||||||
|
@ -163,7 +163,7 @@ def _get_available_subtitles(self, video_id, talk_info):
|
||||||
sub_lang_list[l] = url
|
sub_lang_list[l] = url
|
||||||
return sub_lang_list
|
return sub_lang_list
|
||||||
else:
|
else:
|
||||||
self._downloader.report_warning(u'video doesn\'t have subtitles')
|
self._downloader.report_warning('video doesn\'t have subtitles')
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
def _watch_info(self, url, name):
|
def _watch_info(self, url, name):
|
||||||
|
|
Loading…
Reference in a new issue