1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-25 18:04:33 +01:00

Fix BandcampAlbum _VALID_URL regexp

This commit is contained in:
Lyz 2019-03-04 12:12:38 +01:00
parent def281bfdd
commit e3e622310d
No known key found for this signature in database
GPG Key ID: 6C7D7C1612CDE02F

View File

@ -221,7 +221,7 @@ class BandcampIE(InfoExtractor):
class BandcampAlbumIE(InfoExtractor): class BandcampAlbumIE(InfoExtractor):
IE_NAME = 'Bandcamp:album' IE_NAME = 'Bandcamp:album'
_VALID_URL = r'https?://(?:(?P<subdomain>[^.]+)\.)?bandcamp\.com(?:/album/(?P<album_id>[^/?#&]+))?' _VALID_URL = r'https?://(?:(?P<subdomain>[^.]+)\.)?bandcamp\.com/album/(?P<album_id>[^/?#&]+)'
_TESTS = [{ _TESTS = [{
'url': 'http://blazo.bandcamp.com/album/jazz-format-mixtape-vol-1', 'url': 'http://blazo.bandcamp.com/album/jazz-format-mixtape-vol-1',
@ -260,14 +260,6 @@ class BandcampAlbumIE(InfoExtractor):
'id': 'hierophany-of-the-open-grave', 'id': 'hierophany-of-the-open-grave',
}, },
'playlist_mincount': 9, 'playlist_mincount': 9,
}, {
'url': 'http://dotscale.bandcamp.com',
'info_dict': {
'title': 'Loom',
'id': 'dotscale',
'uploader_id': 'dotscale',
},
'playlist_mincount': 7,
}, { }, {
# with escaped quote in title # with escaped quote in title
'url': 'https://jstrecords.bandcamp.com/album/entropy-ep', 'url': 'https://jstrecords.bandcamp.com/album/entropy-ep',