From aec10d3a8396b9cbe987f9eb408230e678424e1e Mon Sep 17 00:00:00 2001 From: Sergey M Date: Sun, 20 Aug 2017 23:31:36 +0700 Subject: [PATCH] Update bandcamp.py --- youtube_dl/extractor/bandcamp.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/bandcamp.py b/youtube_dl/extractor/bandcamp.py index 6252cf5a2..be41bd5a2 100644 --- a/youtube_dl/extractor/bandcamp.py +++ b/youtube_dl/extractor/bandcamp.py @@ -245,7 +245,9 @@ class BandcampAlbumIE(InfoExtractor): self.url_result( compat_urlparse.urljoin(url, t_path), ie=BandcampIE.ie_key(), - video_title=self._html_search_regex(r'(.+?)', elem_content, 'title', fatal=False)) + video_title=self._search_regex( + r']+\bitemprop=["\']name["\'][^>]*>([^<]+)', + elem_content, 'track title', fatal=False)) for elem_content, t_path in track_elements if self._html_search_meta('duration', elem_content, default=None)]