Hello,
I'm wondering if it is possible to add a book cover by URL not by a file path when adding a book with the
calibredb add command.
I could successfully add a cover with a file path using the
--cover option. But when I try to specify a URL instead of a file path, it gives an error.
Quote:
Traceback (most recent call last):
File "runpy.py", line 196, in _run_module_as_main
File "runpy.py", line 86, in _run_code
File "site.py", line 83, in <module>
File "site.py", line 78, in main
File "site.py", line 50, in run_entry_point
File "calibre\db\cli\main.py", line 252, in main
File "calibre\db\cli\main.py", line 40, in run_cmd
File "calibre\db\cli\cmd_add.py", line 474, in main
File "calibre\db\cli\cmd_add.py", line 241, in do_add
File "calibre\ebooks\metadata\book\serialize.py", line 26, in serialize_cover
OSError: [Errno 22] Invalid argument: 'https://some.where/xxxxxxxx.jpg'
|
If it's not possible, it would be great to see it being implemented.