From ace97a88fa889eb0118d6a73bfaa4eb249928e1e Mon Sep 17 00:00:00 2001 From: garret1317 Date: Mon, 14 Jul 2025 14:48:43 +0100 Subject: [PATCH] add tests for album that requires smuggling --- yt_dlp/extractor/bandcamp.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/yt_dlp/extractor/bandcamp.py b/yt_dlp/extractor/bandcamp.py index 32190c19a6..4b11cc93a2 100644 --- a/yt_dlp/extractor/bandcamp.py +++ b/yt_dlp/extractor/bandcamp.py @@ -351,6 +351,15 @@ class BandcampAlbumIE(BandcampIE): # XXX: Do not subclass from concrete IE 'description': 'md5:b3cf845ee41b2b1141dc7bde9237255f', }, 'playlist_count': 2, + }, { + # tracks need track_info smuggled because they don't have a usable one on the pages + 'url': 'https://wetleg.bandcamp.com/album/wet-leg', + 'info_dict': { + 'id': 'wet-leg', + 'title': 'Wet Leg', + 'uploader_id': 'wetleg', + }, + 'playlist_count': 12, }] @classmethod