To export your Google Maps starred locations:
Go to Google Bookmarks: https://www.google.com/bookmarks/
On the bottom left, click "Export bookmarks": https://www.google.com/bookmarks/bookmarks.html?hl=en
After downloading the html file, run this script on it to generate a KML.
It's hacky and doesn't work on all of them, but it kinda works.
fantastic! i'm learning python and it's really fascinating how it can help solve problems) Hope I can write such helpful codes soon :) Good luck!