This project can convert bookmarks from: https://www.google.com/bookmarks/ to json format and ignore url which without cid
parameter.
$ pipenv install
- Set your Cloud Firestore Admin SDK
$ export GOOGLE_APPLICATION_CREDENTIALS=project-admin-sdk.json
- Make sure execute main.py under pipenv shell environment
$ pipenv shell
$ python main.py ~/GoogleBookmarks.html
If you want to disable sync restaurant to firecloud, try the following command:
$ python main.py ~/GoogleBookmarks.html --disable_db
[
{
"name": "王記北京爆烤鴨",
"url": "http://maps.google.com/?cid=9484141642952184264",
"cid": "9484141642952184264",
"created_at": 1568358485
}
]