mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-09 10:23:44 +00:00
Remove unreachable code path
This commit is contained in:
parent
f349232684
commit
d8b9fbb521
@ -2,7 +2,6 @@
|
||||
from .common import InfoExtractor
|
||||
from ..utils import (
|
||||
ExtractorError,
|
||||
UnsupportedError,
|
||||
float_or_none,
|
||||
int_or_none,
|
||||
parse_iso8601,
|
||||
@ -379,8 +378,6 @@ class BandlabPlaylistIE(BandlabBaseIE):
|
||||
'collections': ['collections'],
|
||||
'embed': ['collections', 'albums'],
|
||||
}.get(playlist_type)
|
||||
if not endpoints:
|
||||
raise UnsupportedError(url)
|
||||
for endpoint in endpoints:
|
||||
playlist_data = self._download_json(
|
||||
f'https://www.bandlab.com/api/v1.3/{endpoint}/{playlist_id}', playlist_id,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user