WeHeartIt has announced that they are deleting all 12+ years worth of content and accounts and turn their existing brand into yet another image editing app with a subscription based paid model. All content, accounts and outstanding will be gone by November 30th 2023. If you're reading this before then, you can download your uploaded content at https://weheartit.com/settings/download
A script to unheart all posts on a WeHeartIt account.
This script logs into your WeHeartIt account and goes through all of your posts, unhearting each one. It does this by making HTTP requests to the WeHeartIt API using the axios library. To parse the HTML response, it uses the cheerio library.
The script reads in a config.json
file with your WeHeartIt account name and login token. It then loads the first page of your posts, parses the HTML response to find the links to each post, and unhearts each post using the API. If it finds that it has already unhearted a post, it will reset and start unhearting again from the first page.
- Make sure you have Node.js installed.
- Clone this repository and navigate to the directory:
git clone https://github.com/rico-vz/UnHeartIt.git
cd weheartit-unheart-all
- Edit the
config.json
file in the root directory with your WeHeartIt account name and login token:
{
"name": "your-username",
"login_token": "your-login-token"
}
- Install the dependencies:
npm install
- Run the script:
node index.js
This project is licensed under the MIT License - see the LICENSE.md file for details.