0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-22 02:15:12 +00:00

remove trailing whitespace

This commit is contained in:
kclauhk 2024-10-31 12:25:11 +08:00
parent 2fd16fdc6e
commit 48416c3718

View file

@ -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),
{dict}), get_all=False):
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)):
formats = []
for audio_url in traverse_obj(sound, ('assets', 'audio', ('preview_url',