diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2015-01-16 14:20:25 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2015-01-16 14:20:25 +0100 |
commit | cce81f192c15f3766adb7340315a877bc4fc592b (patch) | |
tree | b7fceed03982cfdae61f3b8d87303bad3b5472c4 /youtube_dl/extractor/bandcamp.py | |
parent | 9d22a7dfb07ad6ff23680e11238744b2bb1735aa (diff) |
[bandcamp:album] Fix title extraction (Fixes #4721)
Diffstat (limited to 'youtube_dl/extractor/bandcamp.py')
-rw-r--r-- | youtube_dl/extractor/bandcamp.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/bandcamp.py b/youtube_dl/extractor/bandcamp.py index b45d68a61..aea0263d6 100644 --- a/youtube_dl/extractor/bandcamp.py +++ b/youtube_dl/extractor/bandcamp.py @@ -161,7 +161,8 @@ class BandcampAlbumIE(InfoExtractor): entries = [ self.url_result(compat_urlparse.urljoin(url, t_path), ie=BandcampIE.ie_key()) for t_path in tracks_paths] - title = self._search_regex(r'album_title : "(.*?)"', webpage, 'title') + title = self._search_regex( + r'album_title\s*:\s*"(.*?)"', webpage, 'title', fatal=False) return { '_type': 'playlist', 'id': playlist_id, |