mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-02 06:27:21 +00:00
remove trailing whitespace
This commit is contained in:
parent
2fd16fdc6e
commit
48416c3718
|
@ -86,7 +86,7 @@ def _extract_track(self, album_data, track_id=None, version_id=None):
|
||||||
(lambda _, v: v['id'] == int(sound_id) and v['track_id'] == int(track_id),
|
(lambda _, v: v['id'] == int(sound_id) and v['track_id'] == int(track_id),
|
||||||
{dict}), get_all=False):
|
{dict}), get_all=False):
|
||||||
if (version_id
|
if (version_id
|
||||||
or 'all' in self._REQUIRE_VERSION
|
or 'all' in self._REQUIRE_VERSION
|
||||||
or any(x in sound['version_type'].lower() for x in self._REQUIRE_VERSION)):
|
or any(x in sound['version_type'].lower() for x in self._REQUIRE_VERSION)):
|
||||||
formats = []
|
formats = []
|
||||||
for audio_url in traverse_obj(sound, ('assets', 'audio', ('preview_url',
|
for audio_url in traverse_obj(sound, ('assets', 'audio', ('preview_url',
|
||||||
|
|
Loading…
Reference in a new issue