Git Product home page Git Product logo

nus-exams-downloader's Introduction

Icon

NUS Exam Paper Downloader

Simple script to download exam papers from the NUS database. Requires NUSNET login.

Runs on Python 3.9 now!

Releases

Along the sidebar, you can download the latest version for macos.

Right click on the .app file and click "show package contents". Go to the "MacOS" folder and open a terminal in that folder and type the following to give it permissions to run.

chmod +x "NUS Exams Paper Downloader"

Note: You have to right click to open for first open

On another Note:

  • However, currently as of 13 April, 16:44, it seems that the database for past year papers is facing some issues with verification. Yet, after throwing incorrect authentication errors back at the user, the user is actually already signed in. Currently, this can be bypassed by simply removing the return statement in the if_else clause in examdownloader.py. To do that, you will have to build the application for yourself for now.

Using via Command Line

$ python examdownloader-cli.py

The required username and target destination can be set in the script or passed as a command line argument. If no command line arguments are provided, the user is prompted for input.

Using via a Graphical User Interface

$ python examdownloader-gui.py

Compiling the Binary

  1. Install pyinstaller:
$ pip install pyinstaller
  1. Compile the app:
$ pyinstaller build.spec

The compiled app can be found inside the dist folder.

Credits

nus-exams-downloader's People

Contributors

yangshun avatar xinan avatar ryantyt avatar nielstron avatar ashrayjain avatar

nus-exams-downloader's Issues

New update v1.0.1 is not persistent

The "datas" parameter in build.spec file only adds the initial file to the temporary directory, and deletes it after, with no persistence or saving feature.

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.