mirror of
https://github.com/searxng/searxng.git
synced 2025-01-31 04:18:07 +00:00
[fix] findthatmeme engine URLs have changed
This commit is contained in:
parent
78f5300830
commit
55481a6377
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ def response(resp):
|
||||||
results = []
|
results = []
|
||||||
|
|
||||||
for item in search_res:
|
for item in search_res:
|
||||||
img = 'https://findthatmeme.us-southeast-1.linodeobjects.com/' + item['image_path']
|
img = 'https://s3.thehackerblog.com/findthatmeme/' + item['image_path']
|
||||||
thumb = 'https://findthatmeme.us-southeast-1.linodeobjects.com/thumb/' + item.get('thumbnail', '')
|
thumb = 'https://s3.thehackerblog.com/findthatmeme/thumb/' + item.get('thumbnail', '')
|
||||||
date = datetime.strptime(item["updated_at"].split("T")[0], "%Y-%m-%d")
|
date = datetime.strptime(item["updated_at"].split("T")[0], "%Y-%m-%d")
|
||||||
formatted_date = datetime.utcfromtimestamp(date.timestamp())
|
formatted_date = datetime.utcfromtimestamp(date.timestamp())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue