Skip to content

A automatic crawler program for online course which is pointless and fool-style operation. So there is a complete automation crawler program to help the Uganda children.

Notifications You must be signed in to change notification settings

hxer7963/Oh-My-tkkc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oh-My-tkkc

oh-my-tkkc is a complete automatic crawler pragram what you need to do is just type your your student num and password in tkkc,details visit oh-my-tkkc which write in Chinese。

Getting Started

Prerequisits

  • python3 should be installed on your platform. Using Python on Windows
  • UnRaR.exe should be installed on your platform

Installion

Oh-My-tkkc is installed by running one of the following commands in your terminal.

$ git clone https://github.com/hxer7963/Oh-My-tkkc.git

You can also be free to download it by manual.

install dependencies with pip
$ pip install --upgrade pip
$ sudo pip install virtualenv
$ virtualenv --version
$ virtualenv tkkc -p /usr/bin/python3.5
$ source tkkc/bin/activate
(tkkc) $ pip --version
pip 9.0.3 from /home/hxer/Oh-My-tkkc/tkkc/lib/python3.5/site-packages (python 3.5)
(tkkc) $ pip install requests lxml Pillow xlrd rarfile tqdm
install UnRAR on your Platform

Because the type of compressed file is rar, And rarfile third-party library is used in the code just as you can see the dependences above.

  • Windows Platform

    • Download UnRAR, two-click to install, then you'll get UnRAR.exefile.
    • Locate the rarfile.py file just type the follow command.
    (tkkc) $ python -c "import rarfile; print(rarfile.__file__)"
    • Modify the line UNRAR_TOOL="unrar" to UNRAR_TOOL=r'the path of UnRAR.exe'
  • Linux

    sudo apt-get install unrar-free

  • MAC OS X

    brew install unrar

Launch it
(tkkc) $ python main.py

Type your personal details included student num and password, if password invalid, Oh-My-tkkc will explicit in plain-text in terminal ! When it finished, Don't forget to open the tkkc to file your exercise/exam. enjoying it !

About

A automatic crawler program for online course which is pointless and fool-style operation. So there is a complete automation crawler program to help the Uganda children.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages