[cleanup] Fix linter and some typos

Related: https://github.com/ytdl-org/youtube-dl/pull/29398
This commit is contained in:
pukkandan
2021-07-03 21:53:13 +05:30
parent e010672ab5
commit bc97cdae67
9 changed files with 14 additions and 15 deletions

View File

@@ -3049,11 +3049,7 @@ class YoutubeDL(object):
self.to_screen(
'[info] Available formats for %s:' % info_dict['id'])
self.to_stdout(render_table(
header_line,
table,
delim=new_format,
extraGap=(0 if new_format else 1),
hideEmpty=new_format))
header_line, table, delim=new_format, extraGap=(0 if new_format else 1), hideEmpty=new_format))
def list_thumbnails(self, info_dict):
thumbnails = list(info_dict.get('thumbnails'))

View File

@@ -249,6 +249,7 @@ class MTVServicesInfoExtractor(InfoExtractor):
if info:
entries.append(info)
# TODO: should be multi-video
return self.playlist_result(
entries, playlist_title=title, playlist_description=description)