1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 02:14:32 +01:00

Fix flake8 warnings

This commit is contained in:
Dan Everton 2020-08-13 10:39:01 +10:00
parent 64e1d18768
commit 0b08136c12
No known key found for this signature in database
GPG Key ID: 750586C2A23962E8

View File

@ -199,9 +199,9 @@ class ABCIViewIE(InfoExtractor):
title = self._live_title(title)
return self._make_result(video_id, title, house_number, video_params,
formats=formats,
subtitles=subtitles,
is_live=is_live)
formats=formats,
subtitles=subtitles,
is_live=is_live)
class ABCIViewShowIE(ABCIViewIE):
@ -242,9 +242,9 @@ class ABCIViewShowIE(ABCIViewIE):
video_id = house_number = episode.get('episodeHouseNumber')
episode_title = unescapeHTML(episode.get('title') or episode['seriesTitle'])
entry = self._make_result(video_id, episode_title, house_number, episode,
_type='url',
url='https://iview.abc.net.au/' + episode.get('href'),
ie_key=ABCIViewIE.ie_key())
_type='url',
url='https://iview.abc.net.au/' + episode.get('href'),
ie_key=ABCIViewIE.ie_key())
entries.append(entry)
return {
@ -254,4 +254,4 @@ class ABCIViewShowIE(ABCIViewIE):
'description': description,
'uploader_id': entries[0].get('uploader_id') if entries else None,
'entries': entries
}
}