1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-08-13 16:08:29 +00:00

[ie/locipo] Add option to skip playlist extraction

This commit is contained in:
gravesducking 2025-07-25 00:21:31 +09:00
parent 79b4b1694b
commit 8b7d928813

View File

@ -69,7 +69,7 @@ def _get_creative_metadata(self, creative_data):
def _real_extract(self, url: str):
creative_id, playlist_id = self._match_valid_url(url).group('creative_id', 'playlist_id') # type: ignore
if not playlist_id:
if not playlist_id or self.get_param('noplaylist'):
creative_data = self._download_json(
f'https://api.locipo.jp/api/v1/creatives/{creative_id}',
creative_id,