Skip to content

Commit

Permalink
Merge pull request #2398 from edent/patch-1
Browse files Browse the repository at this point in the history
Reverse image search now working
  • Loading branch information
symroe authored Jun 21, 2024
2 parents 9a6f7dd + bc10a46 commit d0fa0c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ynr/apps/moderation_queue/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def get_google_image_search_url(self, person):
)

def get_google_reverse_image_search_url(self, image_url):
url = "https://www.google.com/searchbyimage?&image_url="
url = "https://lens.google.com/uploadbyurl?url="
absolute_image_url = self.request.build_absolute_uri(image_url)
return url + quote(absolute_image_url)

Expand Down

0 comments on commit d0fa0c8

Please sign in to comment.