Skip to main content

ownload books from libra.ibuk.pl, updated and modified for UAM Poznan auth system support

Project description

IBUK Downloader

This script allows you to download books from the libra.ibuk.pl website and query book information from a given URL.

Features

  • Download books from libra.ibuk.pl.
  • Query book information, including author, title, description, publisher, ISBN, pages, and index.
  • Support for UAM (Uniwersytet Adama Miczkiewicza) authentication to access restricted content.

Installation

pip install ibuk_dl_uam

Usage

Download a Book

To download a book, use the following command:

ibuk-dl download <URL>

You can specify the page count with the --page-count option (if not specified, will download every page) and the output file with the -o or --output option. Use - as the output to print the book content to stdout. Add -v to print progress information to the console.

If the book is behind HAN authentication, you can provide your username and password with the -u and -p options, respectively.

Example:

ibuk-dl -v download --output "podstawy-teorii-obwodow-tom-2.html" -u 123123 -p password https://han.amu.edu.pl/han/ibuk-libra/https/libra.ibuk.pl/reader/podstawy-teorii-obwodow-tom-2-jerzy-osiowski-jerzy-szabatin-234596

More information about download:

ibuk-dl download --help

Query Book Information

To query book information, use the following command:

ibuk-dl query <URL>

Example:

ibuk-dl -v query https://libra.ibuk.pl/reader/podstawy-teorii-obwodow-tom-2-jerzy-osiowski-jerzy-szabatin-234596

More information about query:

ibuk-dl query --help

Export to PDF

This script will output HTML. If you want to have a PDF, you can use your browser's Print -> Save to PDF option.

License

This script is provided under a MIT License. See LICENSE

Disclaimer

As stated in the license, I am not responsible for damage caused by the use of this program. Please respect the terms of use of the libra.ibuk.pl website and any copyright or licensing agreements for the downloaded content. Downloading and/or sharing copyrighted content may be considered illegal in your country.

Project details


Release history Release notifications | RSS feed

This version

0.3

Download files

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

Source Distribution

ibuk_dl_uam-0.3.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

ibuk_dl_uam-0.3-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file ibuk_dl_uam-0.3.tar.gz.

File metadata

  • Download URL: ibuk_dl_uam-0.3.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.17

File hashes

Hashes for ibuk_dl_uam-0.3.tar.gz
Algorithm Hash digest
SHA256 d11e0ca55d8d1a1779adaa2fc66b777300988dae3bbb906eead8fed4a15588ee
MD5 0b266673ef9d3028c0971815ae0631d3
BLAKE2b-256 8c0b6d1528f6beffa7dedfa367c9e7f154434c613beebe954d3bc65522d49bd9

See more details on using hashes here.

File details

Details for the file ibuk_dl_uam-0.3-py3-none-any.whl.

File metadata

  • Download URL: ibuk_dl_uam-0.3-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.17

File hashes

Hashes for ibuk_dl_uam-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fa3a19e94648a1918a6c60e2360d78f65258e75a84e5b595b98783ea56fccf6a
MD5 f7e9b7a5e289760917a0ed022d56c055
BLAKE2b-256 184ced47031ec73f5433d4330433d2e695179dbda0d3a6fd5de6d24c601aa3b3

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