[bandcamp:album] Fix title extraction (Fixes #4721)

pull/4727/head
Philipp Hagemeister 2015-01-16 14:20:25 +01:00
rodzic 9d22a7dfb0
commit cce81f192c
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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,