Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beeamo/myanimelist-friendbot
Automate the friend adding experience on MyAnimeList
https://github.com/beeamo/myanimelist-friendbot
friendbot mal mal-friend myanimelist python selenium
Last synced: 11 days ago
JSON representation
Automate the friend adding experience on MyAnimeList
- Host: GitHub
- URL: https://github.com/beeamo/myanimelist-friendbot
- Owner: Beeamo
- Created: 2023-08-12T19:24:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-26T22:43:15.000Z (8 months ago)
- Last Synced: 2024-11-30T06:42:29.001Z (2 months ago)
- Topics: friendbot, mal, mal-friend, myanimelist, python, selenium
- Language: Python
- Homepage:
- Size: 38.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MyAnimeList FriendBot
This is a Python rewrite of [Lastmentor/MyAnimeList_FriendBot](https://github.com/Lastmentor/MyAnimeList_FriendBot).
The original code was very simple and led to some issues with usage. This version includes several improvements to enhance functionality and reliability.
## Improvements
- **Cache**: Ensures users are added only once to avoid duplicates.
- **Randomized Interval & Retry**: Increases the success rate of friend requests.
- **Automatic Chromedriver Updates**: Ensures chromedriver is always up to date.## Contributing
Feel free to fork the repository and submit pull requests with any changes or improvements you may have.
## Variables
To run this project, you will need to add the following variables to .env
`MALusername`
`MALpassword`
## Installation
**Clone the repository**:
git clone https://github.com/Beeamo/MyAnimeList-FriendBot.git
cd MyAnimeList-FriendBot**Install requirements**:
pip install -r requirements.txt
## Running the Bot
The code supports several runtime arguments:
- `--headless` to run the browser in headless mode (default is visible mode).
- `-n VALUE` to specify the number of friends to add (default is 20).
- `-a` to disable initial settings check
- `--message` to provide an optional message to post to profiles.
- `--username` to override the `.env` username.
- `--password` to override the `.env` password.### Example
To run the bot with all arguments:
```sh
python main.py --headless -n 25 -a --message "Hello, let's be friends" --username "example" --password "password"