Change imgres to full URL.
Revert "Change imgres to full URL." This reverts commit 6ea692b91bf29a31974e839d30dc6381e4317350. Update filter.py
This commit is contained in:
parent
84b4bb5775
commit
9a84532686
|
@ -466,7 +466,7 @@ class Filter:
|
|||
if href.startswith(MAPS_URL):
|
||||
# Maps links don't work if a site filter is applied
|
||||
link['href'] = MAPS_URL + "?q=" + clean_query(q)
|
||||
elif href.startswith('/?') or href.startswith('/search?'):
|
||||
elif href.startswith('/?') or href.startswith('/search?') or href.startswith('/imgres?'):
|
||||
# make sure that tags can be clicked as relative URLs
|
||||
link['href'] = href[1:]
|
||||
elif href.startswith('/intl/'):
|
||||
|
|
Loading…
Reference in New Issue
Block a user