Skip to content

Commit

Permalink
Change imgres to full URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
invis-z committed Apr 27, 2022
1 parent 84b4bb5 commit 6ea692b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def view_image(self, soup) -> BeautifulSoup:
continue

img_url = urlparse.unquote(urls[0].replace(
f'{Endpoint.imgres}?imgurl=', ''))
f'{self.root_url}/{Endpoint.imgres}?imgurl=', ''))

try:
# Try to strip out only the necessary part of the web page link
Expand Down

0 comments on commit 6ea692b

Please sign in to comment.