Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/9999years/blogdeleter


https://github.com/9999years/blogdeleter

Last synced: 13 days ago
JSON representation

Awesome Lists containing this project

README

        

Quick Python script for deleting a Tumblr blog.

usage: blogdeleter.py [-h] [-l LOG_FILE] [-c CREDENTIAL_FILE] url

Deletes a Tumblr blog

positional arguments:
url The url of the blog to delete

optional arguments:
-h, --help show this help message and exit
-l LOG_FILE, --log-file LOG_FILE
Filename to print result HTML to if deleting fails.
Default: result.html
-c CREDENTIAL_FILE, --credential-file CREDENTIAL_FILE
Filename of a credential file; Must be a JSON file
containing an `email` key and a `password` key.
Default: creds.json

It does need your password. `creds.json` should look like:

{
"email": "[email protected]",
"password": "example"
}

There’s a high chance of using this logging you out on the device you run it on
or maybe other devices. I don’t know. I deleted 100+ blogs with this as fast as
the requests would complete and it worked fine, I didn’t get rate-limited or
anything. But your experience may vary. Good luck!

There’s also a script `delete_many.ps1` to delete a bunch of URLs at once from a
file. `blogdeleter.py` needs to log in again for every URL so this is a bad
solution.