Skip to content

Latest commit

 

History

39 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Andy Bot

Telegram bot for scraping information from social networks and other platforms.

Supported social networks

  • TikTok
  • Instagram
  • VK
  • Pinterest
  • LinkedIn
  • Spotify
  • Yandex Music

Demo

https://t.me/mybyandybot

Installation

To install and run the bot, follow these steps:

  1. Clone this repository:

    git clone https://github.com/papayyg/andy-bot.git
    
  2. Navigate into the cloned directory:

    cd andy-bot
    
  3. Create a virtual environment:

    python -m venv <virtual_environment_name>
    
  4. Activate the virtual environment. Depending on your operating system, the command to activate the environment will differ:

    For Windows:

    <virtual_environment_name>\Scripts\activate
    

    For Unix or MacOS:

    source <virtual_environment_name>/bin/activate
    
  5. Install the required dependencies:

    pip install -r requirements.txt
    
  6. Create a .env file in the root directory and specify the following environment variables:

    BOT_TOKEN=<your_bot_token>
    TEST_TOKEN=<your_bot_token_for_tests>
    MONGO_HOST=<your_mongo_uri>
    INST_SESSION=<instagram session from cookies>
    log_chat_id=<telegram channel ID for logging>
    owner_id=<your telegram ID>
    
  7. Run the bot by executing the bot.py file:

    python bot.py
    

Python Version:

AndyBot is developed using Python 3.9.13.

Libraries Used:

  • aiogram (3.4.1): A Python framework for Telegram bot development.
  • MongoDB: A NoSQL database used for data storage.

Multilingual Support

Bot supports multilingual capabilities. To add support for additional languages, follow these steps:

  1. Navigate to the locales folder.

  2. Open the translations.json file.

  3. Add translations for the desired language following the existing format.

License

MIT

Author

Aslan Mammadrzayev - aslan.mamedrzaev@gmail.com

About

Telegram bot for receiving data from social networks and downloading content.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages