Skip to content

Latest commit

 

History

History
59 lines (31 loc) · 1.56 KB

README.md

File metadata and controls

59 lines (31 loc) · 1.56 KB

MyAnimeList FriendBot

This is a Python rewrite of 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:

python main.py --headless -n 25  -a --message "Hello, let's be friends" --username "example" --password "password"