GithubHelp home page GithubHelp logo

zf_spider_fafu's Introduction

ZF_Spider_FAFU

简介

这是一个用Python写的正方教务抢课脚本,由于每个学校的教务系统可能存在改动,所以不一定可用。
本Repo进行修改以适配Fafu教务系统

使用方法

复制 config.json.exampleconfig.json 并填写内容,默认配置指向Fafu@2022体育选课
安装运行依赖 pip install requests pillow bs4
运行 python main.py

配置文件说明

{
    "url":"http://jwgl.fafu.edu.cn/", // 选课用教务系统网址 内外网均可
    "student_number":"",  // 学号
    "password":"",  // 密码
    "gnmkdm":"N121205",  // 选课界面网络请求头里有该字段 自行抓包获取
    "sub_class_type":"板块(9)", // 选课界面name为ddl_xqbs的select的对应value
    "class_type": 1 // 0 为体育抢课  1 为公选课抢课
}

关于

原文博客地址:https://vhyz.github.io/2018/06/12/用Python实现模拟登录正方教务系统抢课/

zf_spider_fafu's People

Contributors

haocen2004 avatar vhyz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.