[bandcamp] add support for albums (reported in #1270)
This commit is contained in:
parent
b1c9c66936
commit
0980426559
4 changed files with 36 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue