summaryrefslogtreecommitdiff
path: root/searx/engines/bandcamp.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2022-02-21 22:23:17 +0100
committerGitHub <noreply@github.com>2022-02-21 22:23:17 +0100
commit97181080b7317873c1f3d9e04befdb24ae46ab64 (patch)
tree2bcb6d8f02342fc8fd3d1ea7ddd14999c7792192 /searx/engines/bandcamp.py
parentcb037c89f95d56aee2c72d09e6bead0a49cc0a1d (diff)
parent96ac99b1f63538be7c492e8d86193cf519aee3ec (diff)
Merge pull request #912 from return42/fix-genius
[fix] genius: add player and avoid exceptional programming
Diffstat (limited to 'searx/engines/bandcamp.py')
-rw-r--r--searx/engines/bandcamp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/bandcamp.py b/searx/engines/bandcamp.py
index f83ca6d4f..8feff1fe0 100644
--- a/searx/engines/bandcamp.py
+++ b/searx/engines/bandcamp.py
@@ -82,7 +82,7 @@ def response(resp):
thumbnail = result.xpath('.//div[@class="art"]/img/@src')
if thumbnail:
- new_result['thumbnail'] = thumbnail[0]
+ new_result['img_src'] = thumbnail[0]
result_id = parse_qs(urlparse(link.get('href')).query)["search_item_id"][0]
itemtype = extract_text(result.xpath('.//div[@class="itemtype"]')).lower()