[docs,cleanup] Fix linter and misc cleanup

Closes #2419
This commit is contained in:
pukkandan
2022-01-24 01:21:39 +05:30
parent bb66c24797
commit 88f23a18e0
10 changed files with 16 additions and 12 deletions

View File

@@ -300,7 +300,7 @@ class ABCIViewShowSeriesIE(InfoExtractor):
unescapeHTML(webpage_data).encode('utf-8').decode('unicode_escape'), show_id)
video_data = video_data['route']['pageData']['_embedded']
highlight = try_get(video_data, lambda x: ['highlightVideo']['shareUrl'])
highlight = try_get(video_data, lambda x: x['highlightVideo']['shareUrl'])
if not self._yes_playlist(show_id, bool(highlight), video_label='highlight video'):
return self.url_result(highlight, ie=ABCIViewIE.ie_key())

View File

@@ -440,7 +440,7 @@ class YoutubeWebArchiveIE(InfoExtractor):
}, {
'url': 'ytarchive:BaW_jenozKc:20050214000000',
'only_matching': True
},{
}, {
'url': 'ytarchive:BaW_jenozKc',
'only_matching': True
},

View File

@@ -65,7 +65,7 @@ class LiTVIE(InfoExtractor):
return self.playlist_result(all_episodes, content_id, episode_title)
def _real_extract(self, url):
url, data = unsmuggle_url(url, {})
url, smuggled_data = unsmuggle_url(url, {})
video_id = self._match_id(url)

View File

@@ -22,7 +22,6 @@ from ..utils import (
unified_strdate,
unsmuggle_url,
url_or_none,
urljoin,
)