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 PW (Politechnika Warszawska/Warsaw University of Technology) authentication to access restricted content.
Installation
pip install ibuk-dl
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 PW authentication, you can provide your username and password with the -u and -p options, respectively. You will also need to use an URL that starts with http://eczyt.bg.pw.edu.pl/han/ibuk/
Example:
ibuk-dl -v download --output "podstawy-teorii-obwodow-tom-2.html" -u 123123 -p password http://eczyt.bg.pw.edu.pl/han/ibuk/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.
Release files for ibuk-dl 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ibuk-dl-0.2.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ibuk_dl-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.5 kB
Release files / ibuk-dl-0.2.tar.gz
| Download URL | ibuk-dl-0.2.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed77fad81ab5432254a3cadc4aa630d76da32b057371effabaddf214d3c7df92
|
|
BLAKE2b-256 checksum How to use checksums |
d2b2bf9a3e521b56c9d71d6d9db627892437768f912c9d3add5a5446cf0c1754
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|
Release files / ibuk_dl-0.2-py3-none-any.whl
| Download URL | ibuk_dl-0.2-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d5d2ef79107ea0f46fe5e006d6f9b84e4631456bb75a16a68443791a3c66fb6f
|
|
BLAKE2b-256 checksum How to use checksums |
3ec528cf521fd2e12fbf60a32733ded62fbf62fc06a3c399d1f7377795c95380
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|