Skip to main content

Download all 'Order of the Stick' comics for local reading.

Project description

oots-get

PyPI version fury.io PyPI license PyPI status

This is a simple Python script to maintain a local archive of the web comic 'The Order of the Stick', though can probably be modified reasonably easily for others if required.

This is a work in progress although base functionality is working perfectly.

Primarily an exercise in using 'Beautiful Soup' with a live target. Also I love this comic and when I originally wrote it I often spent a lot of time without any internet.

This is a rewrite from scratch of my original Ruby script of the same name.

Usage

Install

Using pipx to install globally (recommended) :

pipx install oots-get

Or use pip:

pip install oots-get

Quick start

Run the script :

oots-get

This will parse the OOTS website, then download any missing comics. These comics will be stored in the comics/oots subdirectory of the users home directory by default though this will be changable shortly via settings file.

This package has been tested to work under both Linux and Windows 10.

Configuration File

To be added.

Command line switches

  • --only-new ( short form: -n) : only check for new up to the last comic already downloaded, this speeds up operation.

To-Do

see the TODO.md file.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

I'll add a proper CONTRIBUTING.md file soon.

Copyright

(C) Grant Ramsay (grant@gnramsay.com) 2021-2024.

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

oots_get-1.2.0.tar.gz (62.8 kB view details)

Uploaded Source

Built Distribution

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

oots_get-1.2.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file oots_get-1.2.0.tar.gz.

File metadata

  • Download URL: oots_get-1.2.0.tar.gz
  • Upload date:
  • Size: 62.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for oots_get-1.2.0.tar.gz
Algorithm Hash digest
SHA256 0b8d45a288902fd22035b2fdbd517b53edd984412fe8f0ceea9b39bf7f6e47e7
MD5 088280b7fc03f4a102710899aabe0ca9
BLAKE2b-256 4f2f0242bea9cbef08734176e81b6ee0ffd056882a2b5867d65ca938e44ac80f

See more details on using hashes here.

File details

Details for the file oots_get-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: oots_get-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for oots_get-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6ab9ceb3dd529d49e0d0ac5cace86d0f2402e5fa8cdca8e694143200ecb5000
MD5 07de4c2997ff3b81b0da997a40633b77
BLAKE2b-256 4d826c211f4c6fd5764efe48f2c8dd872e24f8145e38ecfa65ba9f1a3fcd33a9

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