/NetSchool-parser

Parser for https://github.com/npanuhin/NetSchool-PTHS

Primary LanguagePythonMIT LicenseMIT

Requirements

Run py -3 -m pip install -U -r requirements.txt in command prompt.

Python modules:

py -3 -m pip install -U requests beautifulsoup4 lxml PyMySQL[rsa]

Config

Чтобы настроить NetSchool и MySQL: Создайте файл /config.json со следующим содержанием:

{
	"db_hostname": "{host}",
	"db_username": "{username}",
	"db_password": "{password}",
	"db_name": "{database}",

	"file_upload_key": "{file_upload_key}",
	
	"netschool_username": "{netschool_username}",
	"netschool_password": "{netschool_password}"
}