diff options
Diffstat (limited to 'extractors')
-rw-r--r-- | extractors/bandcamp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extractors/bandcamp.py b/extractors/bandcamp.py index cc383ae..fbcfba3 100644 --- a/extractors/bandcamp.py +++ b/extractors/bandcamp.py @@ -17,7 +17,7 @@ class bandcamp(Extractor): soup = BeautifulSoup(r.text, 'html.parser') items = soup.select('a[href]') for item in items: - if 'album' in item['href']: + if '/album' in item['href']: url = self.root.rstrip('/') + item['href'] if url not in self._albums: self._albums.append(url) |