1
0
Fork 0
mirror of https://github.com/kemayo/leech synced 2025-12-14 20:34:50 +01:00
Commit graph

15 commits

Author SHA1 Message Date
David Lynch
482c1ab26e Reset cover bytesteam after checking its format
Caused issues writing the file later, as the internal pointer moved past the
first few bytes when checking whether it was a PNG.

Fixes #19
2018-10-08 09:02:15 -05:00
David Lynch
61f3bb1a6e Filter down the cover options to valid ones 2018-10-01 15:00:53 -05:00
David Lynch
02bd6ae0c6
Merge pull request #16 from AlexRaubach/covers
Download cover art from RR and arbitrary sites
2018-10-01 12:18:39 -05:00
David Lynch
8f8d7b1edd Better fallback for no-title case on chapters 2018-10-01 11:12:52 -05:00
Alex Raubach
60084534a8 Create empty dict when leech.json not present 2018-09-15 11:03:52 -04:00
Alex Raubach
1f57305e11 Download cover image if cover_url is in json 2018-09-10 23:13:26 -04:00
Alex Raubach
f2fc2c11db Capture cover options from leech.json and pass them to generate_epub() 2018-09-10 23:03:08 -04:00
Alex Raubach
cc29936d92 Fix whitespace 2018-09-02 22:31:10 -04:00
Alex Raubach
d357bd17e2 Clean up cover downloading and add logging 2018-09-02 22:08:36 -04:00
Alex Raubach
53a3cde16d Convert other cover image types to PNG 2018-09-02 22:08:36 -04:00
Alex Raubach
ea60ac5122 Download cover images for RoyalRoad Stories 2018-09-02 22:08:36 -04:00
David Lynch
8ac1aa8bb0 Add cover config to leech.json 2017-10-12 11:20:45 -05:00
David Lynch
619a013bcb Cover font fallbacks 2017-10-12 10:39:13 -05:00
Will Oursler
1c577b6f67 Fix lint errors 2017-10-12 10:07:22 -04:00
Will Oursler
5bd07a5b90 Splits out ebook generation logic into a seperate module, in anticipation of maybe supporting multiple output formats. 2017-10-12 09:49:32 -04:00