Skip to content

Student-FastDev/Auto-InstaLing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

Auto-InstaLing

InstaLing bot made with selenium.

Table of Contents

Questions

How this works?

Data will be learnt by bruteforce, data.json will be generated. There you can find all gathered translations. You can see that bot makes mistakes at first few runs, thats because it is learning new words. Later it will be 100% accurate.

Is it safe?

The local version is made with undetected-chromedriver. There were no security issues when I tested the program.

Getting Started

This section will guide you through setting up and running the project locally.

Prerequisites

Before you begin, ensure you have the following installed:

  • Chrome
  • Python
  • Git

Installation

  1. Clone this repository to your local machine using Git:
git clone https://github.com/Student-FastDev/Auto-InstaLing
  1. Change to the project directory:
cd (path to Auto-InstaLing)
  1. Install the required Python packages using pip and the requirements.txt file:
pip install -r requirements.txt

Usage

Running the Python File

To run the Python file, use the following command while being in the repository folder:

python main.py

Edit the settings, by opening the settings.json (will appear after running the program for the first time) in some text editor.

{
    "entries": 3, <- The amount of entries done in each program run.
    "headless": false, <- If true, the browser will be invisible.
    "login": "example_login", <- Here enter your InstaLing login.
    "password": "example_password" <- Here enter your InstaLing password.
}

Replit Integration

You can also run this project on Replit. To do so, follow these steps:

  1. Click here to access the Replit project.

  2. Fork the project.

  3. In the Replit project settings, add the following secrets:

Key: LOGIN | Value: (YOUR LOGIN)
Key: PASSWORD | Value: (YOUR PASSWORD)
  1. Change the settings in the settings.json (will appear after running the program for the first time).
{
    "entries": 3, <- The amount of entries done in each program run.
    "headless": false, <- If true, the browser will be invisible (not that important on the replit). 
    "delay": "86400" <- Delay between each program run. (in seconds)
}