Masuda Deleter is a Django application to list and delete posts of Hatena AnonymousDiary.
- Fetching the posts by logging in and crawling the user pages of Hatena AnonymousDiary
- Searchable list of the posts
- Deleting the posts of Hatena AnonymousDiary selectively
- Graphs of posted datetime and posts with bookmarks
- Docker <=20.10.16
- Docker Compose <=1.29.2
Clone this repository.
git clone https://github.com/oribeolive/masuda-deleterBuild Docker containers.
cd [masuda-deleter's directory]
docker-compose buildExecute below to generate a secret key for Django.
docker-compose run app python /code/masuda/generate_secret_key.pyWrite Hatena id and password to .env.
cd backend/python/src/masuda
cp .env.example .env
vim .env.env
HATENA_ID={Hatena ID}
HATENA_PASSWORD={PASSWORD}
Execute migration.
docker-compose run app python /code/masuda/manage.py migrate
Start containers.
docker-compose up -dAccess to http://localhost:8107/web/ after containers start.
Access the posts page( /web/ ). Input target page numbers of Hatena AnonymousDiary and push the fetch(取込) button.
Wait several seconds to minutes and refresh the browser to display the list.
Check the posts you want to delete.
Push the delete checked posts(「あとで消す」記事をついに消す) button.
Push the delete(削除) button in the modal. The posts will be deleted in several seconds to minutes.
mu
https://twitter.com/loglesslove
Masuda Deleter is under MIT license.





