Skip to content

Repository files navigation

Dox Scraper

A multi-connection anime scraping pipeline along with telegram client to store the downloaded files.

Features

  • Automated multi-anime scraping
  • Fast uploads and downloads by making multiple requests simultaneously
  • Reliable providers support
  • MongoDB indexing of files

Upcoming Features

  • More providers support
  • Anime searching and fetching in Telegram
  • Tests
  • A fully fledged version which scrapes from RSS feeds, alongside a UI.

Requirements

  • Python (3.12+)
  • Telegram API id, hash
  • Telegram bot token
  • Telegram channel id
  • MongoDB URI

Setup

1. Getting necessary stuff

  1. Get your Telegram api id and hash id from telegram dev.

  2. Use @BotFather and get your bot token.

  3. Create a channel on Telegram and add your bot as admin.

  4. 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.

  5. Use .env.example as your template for environment variables file (.env), and fill all the keys.

2.1 Running locally (non-Docker)

  1. Install Python 3.13+, or just install UV package manager (automatically handles Python version).

  2. Create virtual environment and activate it according to your operating system.

    python -m venv .venv # (using pure python)
    uv venv # (using uv)
  3. Install required packages:

    pip install -r requirements.txt # (if using pip)
    uv sync # (if using uv)
  4. Start processes:

    python src/main.py

2.2 Running on Docker

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.

  1. Setup all env keys, don't forget to setup username and password for Mongodb in environment variables. Use the .env.example as your template.

  2. Run the containers:

    docker compose up

Contributions

🤝 Feel free to contribute any time by creating a pull request.

License

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.

About

Multi-connection anime scraping pipeline with telegram uploading.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages