From dcec01dc129478d3b5089cbbaa8b1fd7cd812c2d Mon Sep 17 00:00:00 2001 From: Lyz Date: Fri, 8 Mar 2019 13:18:01 +0100 Subject: [PATCH] Add suitable method for BandcampUser --- youtube_dl/extractor/bandcamp.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/youtube_dl/extractor/bandcamp.py b/youtube_dl/extractor/bandcamp.py index fbe834f91..d0415267c 100644 --- a/youtube_dl/extractor/bandcamp.py +++ b/youtube_dl/extractor/bandcamp.py @@ -430,6 +430,12 @@ class BandcampUserIE(InfoExtractor): 'playlist_count': 1, }] + @classmethod + def suitable(cls, url): + return (False + if BandcampAlbumIE.suitable(url) + else super(BandcampUserIE, cls).suitable(url)) + def _real_extract(self, url): uploader = self._match_id(url)