Download books from libra.ibuk.pl
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 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ibuk-dl-0.2.tar.gz
.
File metadata
- Download URL: ibuk-dl-0.2.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
ed77fad81ab5432254a3cadc4aa630d76da32b057371effabaddf214d3c7df92
|
|
MD5 |
90d4aa40a3a020b22bdc3a583de0202c
|
|
BLAKE2b-256 |
d2b2bf9a3e521b56c9d71d6d9db627892437768f912c9d3add5a5446cf0c1754
|
File details
Details for the file ibuk_dl-0.2-py3-none-any.whl
.
File metadata
- Download URL: ibuk_dl-0.2-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d5d2ef79107ea0f46fe5e006d6f9b84e4631456bb75a16a68443791a3c66fb6f
|
|
MD5 |
82c02b76594b0f8710df3fd28d0b876c
|
|
BLAKE2b-256 |
3ec528cf521fd2e12fbf60a32733ded62fbf62fc06a3c399d1f7377795c95380
|