Skip to main content

Download unit outline PDFs from Curtin University's LITEC system

Project description

outline-dl

Download unit outline PDFs from Curtin University's LITEC system.

Installation

pip install outline-dl

After installing, you need to install the browser binary:

playwright install chromium

From source

git clone https://github.com/michael-borck/outline-dl.git
cd outline-dl
uv sync
uv run playwright install chromium

Configuration

Credentials

Credentials are resolved in this order:

  1. CLI flags (-u / -p)
  2. Environment variables (UO_USERNAME / UO_PASSWORD)
  3. .env file (searched in order):
    • ~/.config/outline-dl/.env (recommended for global installs)
    • ~/.outline-dl.env
    • ./.env (current directory)
  4. Interactive prompt

To set up a .env file:

mkdir -p ~/.config/outline-dl
cat > ~/.config/outline-dl/.env <<EOF
UO_USERNAME=your_curtin_id
UO_PASSWORD=your_password
EOF
chmod 600 ~/.config/outline-dl/.env

Unit codes

Unit codes (e.g. COMP1000) can be provided via:

  1. CLI arguments: outline-dl COMP1000 ISAD1000
  2. File: outline-dl -f units.txt (one per line or comma-separated)
  3. Interactive prompt: enter a comma-separated list when prompted

Usage

# Download a single unit outline (defaults to Bentley Perth Campus)
outline-dl COMP1000

# Download multiple units
outline-dl COMP1000 ISAD1000 COMP2000

# From a file
outline-dl -f units.txt

# Specify a different campus
outline-dl -c "Singapore Campus" COMP1000

# Download for all campuses
outline-dl -c all COMP1000

# Watch the browser (useful for debugging)
outline-dl --visible COMP1000

# Custom output directory
outline-dl -o ~/Downloads COMP1000

PDFs are saved to ./outlines/ by default.

Help

outline-dl --help

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

outline_dl-0.1.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

outline_dl-0.1.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file outline_dl-0.1.1.tar.gz.

File metadata

  • Download URL: outline_dl-0.1.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for outline_dl-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fe7c92961222872a358e82ba7f2ea33c281f4a7b3f899e16151928e0523e7386
MD5 5520ee01583005a5410af162a56e3727
BLAKE2b-256 6ee891379a283bd887f66d54412547c1161edd7d8a3dd640fa0bdfaff9339f49

See more details on using hashes here.

File details

Details for the file outline_dl-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: outline_dl-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for outline_dl-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3af60e82531b77f5e3aff418ab4590da041cdca00e4f55cfc6901918c8e17958
MD5 e00d1442295688ba9a25213b86a035e6
BLAKE2b-256 29762ce732ac6fff47079e9e515bbb85652d6fe8e851e25ff5306d6e7efe6437

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page