omkarcloud / google-maps-scraper

👋 HOLA 👋 HOLA 👋 HOLA ! ENJOY OUR GOOGLE MAPS SCRAPER 🚀 TO EFFORTLESSLY EXTRACT DATA SUCH AS NAMES, ADDRESSES, PHONE NUMBERS, REVIEWS, WEBSITES, AND RATINGS FROM GOOGLE MAPS WITH EASE! 🤖
https://www.omkar.cloud/
MIT License
1.11k stars 266 forks source link

Language Issue... #75

Closed babynew closed 10 months ago

babynew commented 10 months ago

I am running this script on a france based server . The out put contains french. So I tried with this option lang=Gmaps.Lang.English still i am getting the same . How can i bypass this for english?

guan-yuan commented 10 months ago

I also encountered a similar problem, but I was hoping for the output to be in Chinese (Traditional). I set Gmaps.Lang.Chinese, but it produced something like the following: 'Xian Zai Yin Wei Ying Yun Fang Shi Diao Zheng Suo Yi Zhi You Jia Ri Shi Can Jiu Guan ~Ping Chang De Shi Hou Shi Ti Gong Yi Da Li Mian Huo Dun Fan (Bai Jiang Hen Tui ), Zhe Bian De Wei Zhi Hen Da, Lao Ban Ren Du Hen Hao! Er Qie Dian Gou Chao Ji Ke Ai, Zhi Qian De Cai Dan You Xie Du Mei You Liao You Dian Ke Xi ><'. This is the result in Pinyin.

How can I set to output in Chinese (Traditional) with original content (without transforming to Pinyin)? Thanks!

Chetan11-dev commented 10 months ago

@guan-yuan see https://github.com/omkarcloud/google-maps-scraper/blob/master/advanced.md#-when-setting-the-lang-attribute-to-hindijapanesechinese-the-characters-are-in-english-instead-of-the-specified-language-how-to-transform-characters-to-the-specified-language @babynew I used a France VPN but unable to reproduce bug. Ensure you are using latest version. Also, let me know s to reproduce it?

babynew commented 10 months ago

Currently i am scraping place via place_id here is the example https://www.google.com/maps/search/?q=place_id:ChIJzzzNov1vHDkRSxSSjevrcB4 So added language params in end of the place id and successfully bypassed

Chetan11-dev commented 10 months ago

Great!