gce-wget

Crates.iogce-wget
lib.rsgce-wget
version1.0.3
sourcesrc
created_at2024-06-30 07:12:58.204626
updated_at2024-07-29 09:44:34.95073
descriptionCLI tool using wget to get CAIE Past Papers; written in Rust
homepage
repositoryhttps://github.com/famedaxolotl/gce-wget
max_upload_size
id1287809
size211,331
Axolotl (famedaxolotl)

documentation

README

gce-wget

GitHub crates.io Total Downloads License: MIT

v1.0.3 What's new

Patched: gceguide moved to papers.gceguide.cc

  • The program stopped working because of a domain and naming system change. It should be working all right now

gce-wget is a specialized tool to bulk download IGCSE and AS/A Levels (O Levels not yet supported) papers from papers.gceguide.net, skipping the need to write regexes and make link files. This tool requires wget to be pre-installed on the machine.

Installation

Use any of the following methods.

1. Downloading binary

  • You can download the binary from the releases page.

  • Move the binary gce-wget to /usr/bin with

sudo mv Downloads/gce-wget /usr/bin

2. Using Cargo

If you are a Rust programmer and have Cargo installed, simply run the following:

cargo install gce-wget

This will install the binary from crates.io

3. Building from GitHub

If you have Cargo installed, run the following commands

git clone https://github.com/famedaxolotl/gce-wget

cd gce-wget

cargo build --release

Now, run with cargo run or move the binary to /usr/bin with:

sudo mv target/release/gce-wget /usr/bin

Usage

Use gce-wget --help to see detailed help page.

The basic command structure (no options) is:

gce-wget [SUBJECT_CODE] [YEARS]

For example, gce-wget 0620 2021,2022 will download all papers of IGCSE Chemistry from 2021 and 2022

To selectively download papers, use the -t (--types) and -c (--codes) options, which allow you to enter comma-seperated lists of paper types and codes.

For example:

gce-wget 0620 -t ms,qp -c 21,41 2022,2023

This downloads all Variant 1 extended MCQ and Theory papers of IGCSE Chemistry years 2022 and 2023, and their marking schemes.

To download O Levels papers, use the -o (--o-level) option like so:

gce-wget 5070 -o -t ms,qp -c 11,12 2021

This downloads all Paper 11 and Paper 12 question question paper and marking schemes from O Levels Chemistry 2021.

Use the -i (--igcse) and -a(--a-level) options if, for example, the programs seems to searching the wrong qualification and is unable to find the subject, even though the correct code was entered.

To understand the paper naming system, see this..

Commit count: 25

cargo fmt