Skip to content

Commit

Permalink
Added Bandcamp album fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
it-is-wednesday committed Dec 19, 2017
1 parent 08019c9 commit 7e2e548
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cherrymusicserver/albumartfetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ class AlbumArtFetcher:
'regexes': ['<div class="thumb".+?<img.+?src="([^"]+)"'],
'user_agent': 'curl/7.52.1',
},
'bandcamp': {
'url': "https://bandcamp.com/search?q=",
'regexes': ['<div class="art".+?<img src="([^"]+)"']
}
# buy.com is now rakuten.com
# with a new search API that nobody bothered to figure out yet
# 'buy.com': {
Expand Down

0 comments on commit 7e2e548

Please sign in to comment.