Skip to content

Commit

Permalink
Fix amazon albumart finder
Browse files Browse the repository at this point in the history
  • Loading branch information
tilboerner committed Feb 3, 2018
1 parent 11b2cee commit 545d125
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cherrymusicserver/albumartfetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ class AlbumArtFetcher:
'url': "http://www.amazon.com/s/?field-keywords=",
'regexes': [
'<img[^>]+?alt="Product Details"[^>]+?src="([^"]+)"',
'<img[^>]+?src="([^"]+)"[^>]+?alt="Product Details"'],
'<img[^>]+?src="([^"]+)"[^>]+?alt="Product Details"',
'<img[^>]+?src="([^"]+)"[^>]+?class="s-access-image',
'<img[^>]+?src="([^"]+)"[^>]+?data-search-image',
],
},
'bestbuy.com': {
'url': 'http://www.bestbuy.com/site/searchpage.jsp?_dyncharset=UTF-8&id=pcat17071&st=',
Expand Down

0 comments on commit 545d125

Please sign in to comment.