YXY

YXY(YSchool) platform spider library, written in rust.

crates.io docs.rs CI

中文说明文档

WIP

How to run

  1. Prepare Rust development environment.

  2. Clone the repo bash git clone https://github.com/I-Info/yxy.git

  3. Change the working directory bash cd yxy

  4. Edit the conf.yaml (example in conf.example.yaml)

  5. Compile & Run by Cargo bash cargo run

Features

The following uses yxy to represent the main program

  1. Query electricity by conf

  2. Other Queries

    1. UID

      Get UID by simulating app login, so you need to register yxy app account first. bash ./yxy query uid <phone number>

    2. Electricity

      (Simply query by UID without config file) bash ./yxy query ele <UID>

Disclaimer

For learning only, do not use for commercial purposes.