7 stable releases
1.0.6 | Apr 14, 2025 |
---|---|
1.0.5 | Jan 12, 2025 |
1.0.3 | Jul 29, 2024 |
1.0.0 | Jun 30, 2024 |
#15 in Science
107 downloads per month
18KB
283 lines
gce-wget
v1.0.6 What's new
Better error messages, other minor internal fixes
v1.0.5 What's new
More paper types supported
gce-wget is a specialized tool to bulk download IGCSE, O Levels and AS/A Levels papers from papers.gceguide.cc, skipping the need to write regexes and make link files. This tool requires wget to be pre-installed on the machine.
Note: this program and its creator have absolutely no affiliation with GCE Guide. This program simply makes using wget on the GCE Guide website easier.
Installation
Use any of the following methods.
1. Downloading binary (only amd64 linux)
-
You can download the latest 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.
Note
When running, gce-wget creates a .temp-link-file in ~/Downloads/
to store links. This will be deleted automatically after download is complete (unless the process is aborted) and can be ignored.
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 (0620) 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 question papers and marking schemes of IGCSE Chemistry (0620) from years 2022 and 2023.
To download O Levels papers, use the -o
(--o-level
) option like so (for O-Levels, this is REQUIRED):
gce-wget 5070 -o -t ms,qp -c 11,12 2021
This downloads all Paper 11 and Paper 12 question papers 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. These two flags are otherwise optional.
All downloaded files will be found in the papers.gceguide.cc folder in your Downloads.
Tip
To understand the paper naming system, see this..
Limitations
- gce-wget cannot bulk download papers from mutiple different subjects; only one subject code must be passed each time.
- gce-wget may not recognize certain valid paper types. Please report such instances. The paper types currently accepted are
qp
,ms
,in
,er
,gt
,tr
,ci
,qr
,rp
,sf
andtn
.
Dependencies
~5–16MB
~203K SLoC