Giter VIP home page Giter VIP logo

nfls-hustoj-client-standing's Introduction

NFLS-HustOJ-Client-Standing

NFLS-HUSTOJ客户端比赛排行榜

项目缘由

NFLS-HUSTOJ关闭了排行榜功能,故实现。

使用方法(练习排行榜)

  1. 登录HustOJ或内网HustOJ并登录自己的账号
  2. 按下F12,在">>"中选择"Application(应用)",选择"Cookie",选择"http://192.168.188.77" 或"http://www.nfls.com.cn:20035/" ,拷贝"PHPSESSID"的值 p1
  3. 打开problemset.txt,在第一行粘贴你的Session ID,第二行输入题目编号(逗号分隔),第三行请输入:

http://192.168.188.77/judge/status.php?&problem_id=%s&top=%s(内网)

http://www.nfls.com.cn:20035/judge/status.php?&problem_id=%s&top=%s(外网)

查看样例

  1. 保存文件,运行spider.py,确认信息无误后按下Enter。结果可以在out_ps.html中找到。 out_ps

使用方法(比赛排行榜)

  1. 登录HustOJ或内网HustOJ并登录自己的账号
  2. 按下F12,在">>"中选择"Application(应用)",选择"Cookie",选择"http://192.168.188.77" 或"http://www.nfls.com.cn:20035/" ,拷贝"PHPSESSID"的值 p1
  3. 打开contest.txt,在第一行粘贴你的Session ID,第二行输入比赛编号,第三行请输入:

http://192.168.188.77/judge/status.php?&cid=%s&top=%s(内网)

http://www.nfls.com.cn:20035/judge/status.php?&cid=%s&top=%s(外网)

查看样例

  1. 保存文件,运行spider2.py,确认信息无误后按下Enter。结果可以在out_contest.html中找到。 out_contest

注意

由于SessionID容易过期,每次启动程序前,都必须执行1,2步,且使用过程中不要退出登录或关闭浏览器!

nfls-hustoj-client-standing's People

Contributors

xiaogenintendo 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.