mirror of
https://github.com/myles/microblog-to-sqlite.git
synced 2026-05-20 20:27:11 +00:00
Save data from Micro.blog to a SQLite database
- Python 95.8%
- Makefile 4.2%
| .github/workflows | ||
| microblog_to_sqlite | ||
| tests | ||
| .gitignore | ||
| Makefile | ||
| poetry.lock | ||
| pyproject.toml | ||
| README.md | ||
microblog-to-sqlite
Save data from Micro.blog to a SQLite database.
Install
foo@bar:~$ pip install -e git+https://github.com/myles/microblog-to-sqlite.git#egg=mastodon-to-sqlite
Authentication
First you will need to create an application at Micro.blog.
foo@bar:~$ microblog-to-sqlite auth
Micro.blog username: xxx
Create a new application here: https://micro.blog/account/apps
Then navigate to newly created application and paste in the following:
Your application token: xxx
Retrieving Micro.blog posts
The posts command will retrieve all the details about your Micro.blog
posts.
foo@bar:~$ microblog-to-sqlite posts microblog.db