Download books from an OPDS catalog using a Calibre plugin.
Calibre is a cross-platform open-source suite of e-book software. Calibre supports organizing existing e-books into virtual libraries, displaying, editing, creating and converting e-books, as well as syncing e-books with a variety of e-readers.
The Open Publication Distribution System (OPDS) catalog format is a syndication format for electronic publications based on Atom and HTTP. OPDS catalogs enable the aggregation, distribution, discovery, and acquisition of electronic publications.
The Calibre OPDS Client is a Calibre plugin that reads from an OPDS server and downloads the contents to a Calibre library.
Ensure Calibre is installed on your machine and the command line tools are available in your search path.
Install the plugin.
cd calibre_plugin
calibre-customize -b .
Restart Calibre.
Add the plugin to the main toolbar.
Interface
section, click on the button labeled Toolbars & menus
.The main toolbar
.OPDS Client
under Available actions
on the left side.>
) to add it to the main toolbar.Apply
, then Close
the Preferences menu.https://standardebooks.org/opds
In the calibre you wish to copy to
In the "OPDS client" dialog
Edit the "OPDS URL" value, change
http://localhost:8080/opds
to
http://calibre1.home.lan:8080/opds
and then press the RETURN key on the keyboard
Click the "Download OPDS" button
Wait until the OPDS feed has finished loading (this may take some time if there is a large number of books to load)
select the books you wish to copy into the current calibre and click the "Download selected books"
The downloaded books will be in approximately the same order as in the original, but the time stamp will be the download time. To fix the time stamp, click on the "Fix timestamps of the selection" button
This code is licensed under the GNU General Public License v3.0. For more details, please take a look at the LICENSE file.
Contributions are welcome! Please feel free to open an issue or submit a pull request.