Closed crrlcx closed 3 years ago
This book was preloaded through the "add a book from my computer" option. The book link /may fault/
XML data of the "broken" book:
<fb2-book hub_id="64030555" added="2021-02-16 11:24:54" chars="469934" images="173" zip_size="6096585" has_trial="0" type="0" drm="0" cover_h="0" cover_w="0" filename="00431725.bin.1" adult="0" trial_percent="25" basket="0" payed="2021-03-29 02:36:20" rating="0" recenses="0" base_price="0" price="0" items_left="0" user_cloud="0" voted1="0" voted2="0" voted3="0" voted4="0" voted5="0" user_vote="0" cover="" cover_preview="" url="http://robot.litres.ru/pages/biblio_book/?art=64030555" copyright="" readed_percent="0" biblio_selfservice="impossible" biblio_fund="0" biblio_busy="0" biblio_queue_size="0" biblio_my_request="0" in_folder="-1"><text_description><hidden><title-info>
<author><first-name>Максим</first-name><last-name>Дорофеев</last-name><full-name>Максим Дорофеев</full-name><id>ed377bbb-07c4-4875-a395-7e56fb09457e</id><hub-id>27605945</hub-id></author>
<book-title>Путь джедая</book-title>
<annotation><p>Обновленное издание популярной книги, дополненное новыми инструментами самонаблюдения и конструирования личного рецепта успеха: мысли, однократные действия-«вакцины», практики и индикаторы, комбинируя которые можно найти свой уникальный подход.</p><p></p></annotation>
<lang>ru</lang>
<keywords>Unknown</keywords>
</title-info><document-info><author><nickname></nickname></author>
<date value="2021-02-16">2021-02-16</date>
<id>bcaabda5-b9bd-4acc-a2eb-024552ac99ba</id><version>1.0</version>
</document-info></hidden></text_description><files></files><art_tags></art_tags><persons><persons role="author" id="ed377bbb-07c4-4875-a395-7e56fb09457e" lvl="1" first="Максим" middle="" last="Дорофеев"/></persons></fb2-book>
temporary workaround
litres-backup book -a | cut -f1 | grep -iEo '[[:digit:]]+' | grep -iEv '^(0000|0001)$' | while read -r ID ; do litres-backup book -f epub -i ${ID} -b ; done
one moment)
fix
First tool checks whether the file can be downloaded, and only then whether the file has been downloaded or not.
ref string here