[bandcamp] add support for albums (reported in #1270)

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-11-22 16:05:14 +01:00
parent b1c9c66936
commit 0980426559
4 changed files with 36 additions and 2 deletions

View file

@ -199,7 +199,8 @@ class GenericIE(InfoExtractor):
mobj = re.search(r'<meta property="og:url"[^>]*?content="(.*?bandcamp\.com.*?)"', webpage)
if mobj is not None:
burl = unescapeHTML(mobj.group(1))
return self.url_result(burl, 'Bandcamp')
# Don't set the extractor because it can be a track url or an album
return self.url_result(burl)
# Start with something easy: JW Player in SWFObject
mobj = re.search(r'flashvars: [\'"](?:.*&)?file=(http[^\'"&]*)', webpage)