4 stable releases
1.0.3 | Jul 29, 2024 |
---|---|
1.0.2 | Jul 3, 2024 |
1.0.1 | Jul 2, 2024 |
1.0.0 | Jun 30, 2024 |
#359 in Command line utilities
115KB
538 lines
gce-wget
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..
Dependencies
~4–14MB
~190K SLoC