1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-29 03:34:32 +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):
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 = [{
'url': 'http://blazo.bandcamp.com/album/jazz-format-mixtape-vol-1',
@ -260,14 +260,6 @@ class BandcampAlbumIE(InfoExtractor):
'id': 'hierophany-of-the-open-grave',
},
'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
'url': 'https://jstrecords.bandcamp.com/album/entropy-ep',