Git Product home page Git Product logo

e-license's Introduction

e-license

e-license.jpのシステムを用いている教習所で技能予約に空き時間ができた場合通知してくれるシステムです。(現時点ではmacOSにのみ対応。)

スクリーンショット 2023-02-24 12.09.32

Install

packageのインストール

このレポジトリをCloneしたディレクトリの直下で以下のコマンドを実行してください。

pip install -r requirements.txt

terminal-notifierのインストール

brew install terminal-notifier

.envファイルの作成

このレポジトリをCloneしたディレクトリの直下に .env という名称のファイルを作成してください。

.env ファイル内には以下の3つを記載してください

  • ELICENSE_USERNAME:ユーザー名
  • ELICENSE_PASSWORD:パスワード
  • ELICENSE_LOGIN:ログインページのURL
ELICENSE_USERNAME="xxxxx"
ELICENSE_PASSWORD="xxxxx"
ELICENSE_LOGIN="https://www.e-license.jp/xxxxxx/xxxxxx"

cronの設定

このコマンドを自動実行するためにcrontabを設定します。詳細は crontab で検索してください。

設定の例

8時から23時までの間、10分ごとに確認
*/10 8-23 * * * path/to/python path/to/e-license/main.py 2>&1 
30分ごとに確認
*/30 * * * * path/to/python path/to/e-license/main.py 2>&1 

動かない時

  • 直接 main.py を実行してエラーを確認してください。
  • Chromeのバージョンが最新か確認してください。
  • macOS以外はサポートしていません。
  • Pythonのバージョンが3.9以上であるかを確認してください。
  • cronの設定では python への絶対パスを指定してください。
  • cronの設定では main.py への絶対パスを指定してください。

e-license's People

Contributors

obuchiyuki avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

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