A multi-connection anime scraping pipeline along with telegram client to store the downloaded files.
- Automated multi-anime scraping
- Fast uploads and downloads by making multiple requests simultaneously
- Reliable providers support
- MongoDB indexing of files
- More providers support
- Anime searching and fetching in Telegram
- Tests
- A fully fledged version which scrapes from RSS feeds, alongside a UI.
- Python (3.12+)
- Telegram API id, hash
- Telegram bot token
- Telegram channel id
- MongoDB URI
-
Get your Telegram api id and hash id from telegram dev.
-
Use @BotFather and get your bot token.
-
Create a channel on Telegram and add your bot as admin.
-
Get your account id and channel id where you added the bot. If you don't know how to get them, use @raw_data_bot. You can write your own script if you don't want to use this bot, but this is the fastest way so far.
-
-
Create a Mongodb free atlas, or run mongodb server on Docker in your machine, and get the URI. For Docker Mongodb setup, you can follow this tutorial on Youtube.
-
Additionally, you can also use MongoDB Community Edition for local setup.
-
-
Use
.env.exampleas your template for environment variables file (.env), and fill all the keys.
-
Install Python 3.13+, or just install UV package manager (automatically handles Python version).
-
Create virtual environment and activate it according to your operating system.
python -m venv .venv # (using pure python) uv venv # (using uv)
-
Install required packages:
pip install -r requirements.txt # (if using pip) uv sync # (if using uv)
-
Start processes:
python src/main.py
All things have been tested on a Debian linux server and, it must work properly on all machines with ARMv8.2-A (concerns Raspberry Pi) or higher.
-
Setup all env keys, don't forget to setup username and password for Mongodb in environment variables. Use the
.env.exampleas your template. -
Run the containers:
docker compose up
🤝 Feel free to contribute any time by creating a pull request.
This project is licensed under GNU GENERAL PUBLIC LICENSE V3. This does not include the providers' sources, and, so we take no liability on their actions.