Skip to content

A CLI tool to check, register and cancel PE class in SFC

License

Notifications You must be signed in to change notification settings

kakugirai/PEbot-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PEbot

Geeky way to register PE class in SFC

register

Installation

macOS

NOTED: by default you can only run Chrome headlessly on Ubuntu

install Chrome and ChromeDriver

brew install chromedriver

then

python3 setup.py install

Ubuntu

install Chrome

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome*.deb
sudo apt-get install -f

install xvfb so we can run Chrome headlessly

sudo apt-get install xvfb

install ChromDriver, you can find latest ChromeDriver release here

wget http://chromedriver.storage.googleapis.com/2.25/chromedriver_linux64.zip
sudo apt-get install unzip
unzip chromedriver_linux64.zip
chmod +x chromedriver

add chromedriver to $PATH

sudo mv -f chromedriver /usr/local/share/chromedriver
sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver

finally

python3 setup.py install

Usage

pecli --help

TODOs

  • Provide Python2 compatibility
  • Optimize CLI by using Click
  • Provide available courses list
  • Handle Exceptions
  • Upload Alpha release to pypi

About

A CLI tool to check, register and cancel PE class in SFC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages