-
Notifications
You must be signed in to change notification settings - Fork 11
lb‐wrapper
lb-wrapper
is a script designed to simplify and automate the process of downloading videos using the xklb
tool. This script is specifically crafted for integration with Calibre-Web, a web-based front end for Calibre, allowing users to manage their e-book library.
./lb-wrapper <URL> <LOG_LEVEL>
-
<URL>
: The URL of the video you want to download. -
<LOG_LEVEL>
: Log level indicating the verbosity of the logging output (e.g., "vvvv" for maximum verbosity).
-
Ensure you have the
xklb
tool installed. If not, follow the installation instructions forxklb
available at xklb GitHub repository. -
Download the
lb-wrapper
script to/usr/local/bin
-
Make the script executable:
chmod +x lb-wrapper
To download a video with maximum verbosity:
./lb-wrapper https://example.com/video-url vvvv
The script logs its activities to /var/log/xklb.log
. Check this log file for informative messages regarding the execution status, including success, errors, and detailed progress information during the download process.
Disclaimer: This script is provided as-is, without any warranties or guarantees. Use it responsibly and ensure compliance with the terms of service of the websites from which you are downloading videos.