projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d22a7d
)
[bandcamp:album] Fix title extraction (Fixes #4721)
author
Philipp Hagemeister
<phihag@phihag.de>
Fri, 16 Jan 2015 13:20:25 +0000
(14:20 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Fri, 16 Jan 2015 13:20:25 +0000
(14:20 +0100)
youtube_dl/extractor/bandcamp.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/bandcamp.py
b/youtube_dl/extractor/bandcamp.py
index b45d68a61416b66e2ea8e9585d8339c62da46000..aea0263d6b681ba33e66d20cc1a247213299540f 100644
(file)
--- 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,