Skip to content

Commit

Permalink
fix img for spacing words
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy1709 committed Jan 30, 2024
1 parent 0f6569c commit ee47495
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions userbot/helpers/google_image_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ def build_search_url(
elif specific_site:
url = (
"https://www.google.com/search?q="
+ quote(search_term.encode("utf-8"))
+ quote(search_term.replace(" ","-").encode("utf-8"))
+ "&as_sitesearch="
+ specific_site
+ "&espv=2&biw=1366&bih=667&site=webhp&source=lnms&tbm=isch"
Expand All @@ -940,7 +940,7 @@ def build_search_url(
else:
url = (
"https://www.google.com/search?q="
+ quote(search_term.encode("utf-8"))
+ quote(search_term.replace(" ","-").encode("utf-8"))
+ "&espv=2&biw=1366&bih=667&site=webhp&source=lnms&tbm=isch"
+ params
+ "&sa=X&ei=XosDVaCXD8TasATItgE&ved=0CAcQ_AUoAg"
Expand Down

0 comments on commit ee47495

Please sign in to comment.