Giter Site home page Giter Site logo

bilkent-script's Introduction

Setup

You first need to install chromedriver. This can be found here: https://chromedriver.chromium.org/downloads

Usage

After the installation of chromedriver, move it to the same directory with the python files. You also need to install python packages in order to use this script. The packages are mentioned below.

pip install selenium
pip install colorama
pip install termcolor

Credentials

You need to configure the credentials.json file. Please note that you have to be using bilkent mail instead of your phone for the starts code provider.

{
    "bilkent_id": "YOUR BILKENT ID",
    "stars_password": "PASSWORD",
    "bilkent_mail": "BILKENT MAIL",
    "mail_password": "MAIL PASSWORD"
}

Desktop shortcuts for Mac users

  1. (Shortcuts for windows are on the way)
  2. open stars.command and zoom.command using a text editor.
  3. type in the folder path to the specified area.
echo running bilkent...
clear
cd -PATH TO THE FOLDER CONTAINING PY FILES-
python3 bilkent.py stars
cd /Applications
killall chromedriver
killall Terminal
  1. save the files and exit.

If you see an error saying “File could not be executed because you do not have appropriate access privileges” then try running the command below

chmod u+x /Users/-YOUR USERNAME-/Desktop/stars.command
chmod u+x /Users/-YOUR USERNAME-/Desktop/zoom.command

You can then use the .command files to run the scripts

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

bilkent-script's People

Contributors

berkegokmen1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.