mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-03-11 08:54:34 +00:00
Replace leading slash for image links (#762)
The leading slash was previously removed without noticing it was part of a string replacement in #734. This caused the href of "View Image" contain a leading "/" which is wrong.
This commit is contained in:
parent
fb600d6fc8
commit
9bcd9931f7
1 changed files with 1 additions and 1 deletions
|
|
@ -533,7 +533,7 @@ class Filter:
|
|||
continue
|
||||
|
||||
img_url = urlparse.unquote(urls[0].replace(
|
||||
f'{Endpoint.imgres}?imgurl=', ''))
|
||||
f'/{Endpoint.imgres}?imgurl=', ''))
|
||||
|
||||
try:
|
||||
# Try to strip out only the necessary part of the web page link
|
||||
|
|
|
|||
Loading…
Reference in a new issue