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