Skip to content

Commit

Permalink
fix: change location url to the US
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanwasinger committed Nov 15, 2024
1 parent 4817d45 commit 96fea01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kw_reviews_scrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def get_reviews(place_id, page_token = ""):
if not page_token:
page_token = ""

url = f"https://www.google.com/maps/rpc/listugcposts?authuser=0&hl=en&gl=ar&pb=!1m6!{place_id}!6m4!4m1!1e1!4m1!1e3!2m2!1i20!2s{page_token}!5m2!1sM1EyZ5jkBeSj5NoPh-ufkQM!7e81!8m5!1b1!2b1!3b1!5b1!7b1!11m4!1e3!2e1!6m1!1i2!13m1!1e2"
url = f"https://www.google.com/maps/rpc/listugcposts?authuser=0&hl=en&gl=us&pb=!1m6!{place_id}!6m4!4m1!1e1!4m1!1e3!2m2!1i20!2s{page_token}!5m2!1sM1EyZ5jkBeSj5NoPh-ufkQM!7e81!8m5!1b1!2b1!3b1!5b1!7b1!11m4!1e3!2e1!6m1!1i2!13m1!1e2"

payload = {}
headers = {
Expand Down

0 comments on commit 96fea01

Please sign in to comment.