mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-25 09:54:32 +01:00
Added _match_id
This commit is contained in:
parent
16efa6ebcc
commit
57f736fbf6
@ -412,7 +412,7 @@ class BandcampWeeklyIE(InfoExtractor):
|
||||
|
||||
class BandcampUserIE(InfoExtractor):
|
||||
IE_NAME = 'Bandcamp:user'
|
||||
_VALID_URL = r'https?://(?:(?P<subdomain>[^.]+)\.)?bandcamp\.com/?'
|
||||
_VALID_URL = r'https?://(?:(?P<id>[^.]+)\.)?bandcamp\.com/?'
|
||||
|
||||
_TESTS = [{
|
||||
'url': 'https://adrianvonziegler.bandcamp.com',
|
||||
@ -431,8 +431,7 @@ class BandcampUserIE(InfoExtractor):
|
||||
}]
|
||||
|
||||
def _real_extract(self, url):
|
||||
mobj = re.match(self._VALID_URL, url)
|
||||
uploader = mobj.group('subdomain')
|
||||
uploader = self._match_id(url)
|
||||
|
||||
webpage = self._download_webpage(url, uploader)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user