-
-
Notifications
You must be signed in to change notification settings - Fork 462
Description
Hi.
I have script who reverse_geocode with twikit for my app X-Monitoring.
All is ok for all country and city.
But not for China !
Here is an exemple for Beijing
City : Beijing
Coordonnées : (39.9057136, 116.3912972)
For this try:
client.reverse_geocode(lat=lat, long=lon, max_results=10)
File " .venv\Lib\site-packages\twikit\client\client.py", line 1460, in reverse_geocode
return _places_from_response(self, response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File " .venv\Lib\site-packages\twikit\geo.py", line 79, in _places_from_response
raise TwitterException(e['message'])
twikit.errors.TwitterException: Internal server error.
All is working for all city around the world, but not for China's cities. Why ?
It's the same for country, with the Twikit "client.search_geo(query=country_name, max_results=5)" request: China not working, but all others are ok.... Internal server error.
Can you explain us why ?