YiPrograms / CMS-Ranking-Archiver

A tool to archive the data from CMS Ranking Web Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMS Ranking Archiver

This program crawls the data from a CMS Ranking Web Server (RWS) and generates a static web page

That means you can host it on GitHub Pages!

Usage

usage: rws-archiver.py [-h] [-s SESSIONS] [-r RETRY] [--html] [--css]
                       [--nofaces] [--noflags] [--nosublist]
                       url [output]

positional arguments:
  url                   URL of the CMS Ranking Web Server page
  output                Directory to output static files

optional arguments:
  -h, --help            show this help message and exit
  -s SESSIONS, --sessions SESSIONS
                        Number of sessions
  -r RETRY, --retry RETRY
                        Times to retry for each response
  --html                Crawl the page's HTML
  --css                 Crawl the page's CSS
  --nofaces             Don't crawl user faces
  --noflags             Don't crawl team flags
  --nosublist           Don't crawl detailed submission info

Required

url : It should be like https://ranking.ioi2019.az or https://ranking.ioi2019.az/Ranking.html

Optional

output : Path to output static files. Will be the first contest name if not specified.

License

cmsranking is modified from cms-dev

Release under AGPL v3

About

A tool to archive the data from CMS Ranking Web Server

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 79.6%Language:CSS 15.2%Language:Python 2.6%Language:HTML 2.6%