YXY(YSchool) platform spider library, written in rust.
Prepare Rust
development environment.
Clone the repo
bash
git clone https://github.com/I-Info/yxy.git
Change the working directory
bash
cd yxy
Edit the conf.yaml
(example in conf.example.yaml
)
Compile & Run by Cargo
bash
cargo run
The following uses
yxy
to represent the main program
Query electricity by conf
conf.yaml
file is located in the current working directory
bash
./yxy
Or in other place
bash
./yxy -c <PATH>
Other Queries
UID
Get UID by simulating app login, so you need to register yxy app account first.
bash ./yxy query uid <phone number>
Electricity
(Simply query by UID without config file)
bash ./yxy query ele <UID>
For learning only, do not use for commercial purposes.