INSTALING BOT 🐍


This bot solving your daily session on Instaling. It's your end of tiring typing words. It's time for Instaling Bot!

 

INSTALATION


  • Python 3.10.2
    • Install Selenium
          pip install selenium  # I used 4.1.0
    • Install python-dotenv
          pip install python-dotenv  # I used 0.19.2
    • Or you can install everything:
         pip install -r requirements.txt
  • Download one of the selected webdrivers:

 

PREPARATION


  • Download this repository:
    • If you use GIT :
          git clone https://github.com/Ja-Pan-Krzysztof/instaling.git
      
  • Create file .env and enter that data :
         _USERNAME=<your_login>
         _PASSWORD=<your_password>
  • If are you using your own venv, delete the first line in main.py
         #!E:\Python\..Python_venv\instaling\Scripts\python
    to your file path.
    Else delete this line if are you using default interpreter.

 

  • Change the path in instalingLogIn to yours:
    • Firefox :
           _PATH = r'<your path to webdriver>'  # Line 15
           _DRIVER = webdriver.Firefox(executable_path=_PATH)  # Line 16
    • Chrome :
           _PATH = r'<your path to webdriver>'  # Line 15
           _DRIVER = webdriver.Chrome(executable_path=_PATH)  # Line 16
    • Safari : I don't have this supercomputer ( This isn't computer, this is a MacBook )  

USE


  • Windows :
       py main.py
  • Linux / MacOS :
       python3 main.py

 

Thanks for use this 🐍