1
0
Fork 0
mirror of https://github.com/kemayo/leech synced 2025-12-06 08:22:56 +01:00
Commit graph

35 commits

Author SHA1 Message Date
acestronautical
85da618cb2 Fix selectors for the Dungeon Keeper Ami example 2024-11-23 22:57:50 -06:00
David Lynch
9510a22cb0 Remove arbitrary's special-case image loading, since the default works 2024-11-23 16:33:01 -06:00
Idan Dor
31f663c6e0 Added image embedding support for epub
Specifically, added image_selector for arbitrary sites that allows
selecting img tags from chapters, downloading them
and embedding them within the resulting epub.

In the case of Pale, this means that the character banners and
extra materials do not require an internet connection to view.

Also made the two pale.json's more consistent (pale.json now correctly
includes the title of the chapters).
2024-11-23 13:22:53 -06:00
IdanDor
7c877ad589 Added examples 2024-11-23 13:22:53 -06:00
David Lynch
7dc6543e44 Fix Wandering Inn
Fixes #95
2024-05-14 22:06:09 -05:00
Philipp A
e5e9519227 Add pale lights recipe 2023-04-22 22:37:45 +02:00
Thomas Pegoraro
a3496c73b5 -Remove " .entry-wrapper" class from content_selector as the class doesn't exist on the Practical Guide website anymore.
- Add Practical Guide book 7 json file.
2022-09-03 13:14:54 +10:00
Max Isom
2414edc1b1
Add Unsong 2022-02-25 21:39:23 -05:00
David Lynch
a3ea8fbb8c Examples for Pale
Refs #66
2021-09-04 19:38:20 -05:00
David Lynch
966bd2c120 Include Ward in examples
It has some very noticeable encoding issues, which probably require more
thought on how to sanitize weird inputs.

Fixes #37
2021-03-27 11:16:44 -05:00
David Lynch
e66adc171f Add example for getting all of Practical Guide in one ebook
...this has been sitting uncommitted since I did all the `next` stuff,
so I think I just forgot to commit it then.
2021-02-12 10:46:16 -06:00
David Lynch
406e88acfa Add an example for Heretical Edge 2, to show how to exclude chapters
Refs #46
2021-02-12 10:43:54 -06:00
David Lynch
5e8d42e256 JSON indentation should be spaces 2021-02-12 10:37:14 -06:00
IdanDor
1afac50437 Made arbitrary sites no longer leak memory and fixed worm epub.
Each `Chapter` object had a reference to the entire page tree, meaning that the program rose in RAM usage by a lot.

Transformed Worm to be with next_selector so the chapters are correctly ordered, E.2 is not skipped and the download does not crush due to `?share=twitter` url matched before.

Fixed Worm titles.
2021-01-23 12:12:48 +02:00
David Lynch
4429049ade Fix the Vacant Throne example as well 2020-09-08 23:07:21 -05:00
David Lynch
9c9877ed26 Example of a smarter approach to books with a "next" link
Authors are often strangely bad at having an accurate table of
contents. (E.g. practical guide has at least one mislinked chapter in
there.) Show how to follow a "next" link, stopping when hitting a
certain URL.

For practical guide, this also has the benefit of dropping in the extra
chapters where they were originally experienced.
2020-09-08 22:15:44 -05:00
David Lynch
91747edb53 Deathworlders example is also now non-functional
Site seems to have moved... and now has an official epub download anyway
2020-09-08 21:29:38 -05:00
David Lynch
9da5c60deb Remove non-functional example
Fixes #40
2020-09-08 21:25:19 -05:00
David Lynch
983152e408 Further examples 2020-07-15 11:18:09 -05:00
David Lynch
64fbdac4cd A few arbitrary examples 2020-04-29 17:55:20 -05:00
David Lynch
617ee5ebfd Practical Guide: extra chapters 2019-05-16 23:59:54 -05:00
Adam Goldsmith
8b9b5281a9 Fix typo in PGTE5 example file name 2019-05-10 01:28:59 -04:00
Max Isom
77fb154368
Add book 5 of APGTE
Thanks for your work, it's been great being able to read web serials on my Kindle. :)
2019-03-30 00:10:15 +00:00
Alex Raubach
46fc230a2c Create Fifth Defiance definition file 2018-10-29 10:22:06 -04: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
f6acf4a73b Add example for dungeon keeper ami
Shows `next_selector` in use.
2018-10-01 11:19:03 -05:00
David Lynch
9b484a429a Example for Vacant Throne 2018-09-15 00:17:36 -05:00
Alex Raubach
e765594e9e Add cover urls to more examples 2018-09-02 22:08:36 -04:00
Alex Raubach
ff568eef10 Allow arbitrary sites to include a cover url 2018-09-02 22:08:36 -04:00
Alex Raubach
97a2a8899a
Create Worm site definition 2018-08-28 22:01:10 -04:00
Alex Raubach
b83b6d37f1
Add The Gods Are Bastards site definition
a[href*='20'] selects only chapter links that include the year in the url while not selecting links that share to social media.
2018-08-28 21:13:06 -04:00
David Lynch
d79fc7e545 Practical Guide 4 2018-08-17 21:22:57 -05:00
David Lynch
d7e77d8181 Wandering Inn example 2018-08-09 23:28:30 -05:00
David Lynch
fb58879348 New example 2017-12-05 21:34:40 -06:00
David Lynch
df8e67d3e1 Include some examples for the arbitrary handler 2017-10-22 17:33:43 -05:00