Update bandcamp.py
This commit is contained in:
parent
919be935f4
commit
aec10d3a83
@ -245,7 +245,9 @@ class BandcampAlbumIE(InfoExtractor):
|
|||||||
self.url_result(
|
self.url_result(
|
||||||
compat_urlparse.urljoin(url, t_path),
|
compat_urlparse.urljoin(url, t_path),
|
||||||
ie=BandcampIE.ie_key(),
|
ie=BandcampIE.ie_key(),
|
||||||
video_title=self._html_search_regex(r'<span.*>(.+?)</span>', elem_content, 'title', fatal=False))
|
video_title=self._search_regex(
|
||||||
|
r'<span\b[^>]+\bitemprop=["\']name["\'][^>]*>([^<]+)',
|
||||||
|
elem_content, 'track title', fatal=False))
|
||||||
for elem_content, t_path in track_elements
|
for elem_content, t_path in track_elements
|
||||||
if self._html_search_meta('duration', elem_content, default=None)]
|
if self._html_search_meta('duration', elem_content, default=None)]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user