Closed YetkinMesutKaraman closed 5 months ago
I think there is an issue with link, How did you obtain the link, I tries following code which worked:
from src.gmaps import Gmaps
links = [
"https://www.google.com/maps/place/SEOTUG/data=!4m7!3m6!1s0x390d19fbf7081033:0xaecd7b4c5dfe13c7!8m2!3d28.5005705!4d77.0291595!16s%2Fg%2F12nqgnvnl!19sChIJMxAI9_sZDTkRxxP-XUx7za4?authuser=0&hl=en&rclk=1",
]
output_folder = "my-awesome-places"
Gmaps.links(
links,
output_folder,
use_cache=False,
scrape_reviews=True,
# max_reviews=70,
max=3,
)
It was a restaurant in Greece. Its name includes Greek letters. You can click to see. Is this an edge case? What was the root cause?
I am not Sure, but I know that if the restaurant link must come from the tool then it works.
Description
I tried to scrape reviews from a place link but extract_data() method fails. Reason comes from parse(data) method probably.
os: macOS Sonoma 14.2.1 chrome version: Version 121.0.6167.85 (Official Build) (arm64)
Code to Reproduce (Paste
main.py
)Zip and Upload the
error_log/
Folder (Optional, if there are errors)