mirror of
https://github.com/kemayo/leech
synced 2025-12-06 16:33:16 +01:00
Added examples
This commit is contained in:
parent
59280e4fa7
commit
7c877ad589
4 changed files with 40 additions and 14 deletions
11
examples/pact.json
Normal file
11
examples/pact.json
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://pactwebserial.wordpress.com/2013/12/17/bonds-1-1/",
|
||||
"title": "Pact",
|
||||
"author": "Wildbow",
|
||||
"content_selector": "#main",
|
||||
"content_title_selector": "h1.entry-title",
|
||||
"content_text_selector": ".entry-content",
|
||||
"filter_selector": ".sharedaddy, style, a[href*='pactwebserial.wordpress.com']",
|
||||
"next_selector": "a[rel=\"next\"]",
|
||||
"cover_url": "https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/a456e440-ea22-45c0-8b39-dacf9bbddade/d7dxaz4-64cfabe8-f957-44af-aaea-82346c401b27.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOiIsImlzcyI6InVybjphcHA6Iiwib2JqIjpbW3sicGF0aCI6IlwvZlwvYTQ1NmU0NDAtZWEyMi00NWMwLThiMzktZGFjZjliYmRkYWRlXC9kN2R4YXo0LTY0Y2ZhYmU4LWY5NTctNDRhZi1hYWVhLTgyMzQ2YzQwMWIyNy5qcGcifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6ZmlsZS5kb3dubG9hZCJdfQ.J-Wn8bDrKmoKKZW8mkJdi3uRoDV2FDJQZ_TuTWvQazY"
|
||||
}
|
||||
|
|
@ -1,8 +1,11 @@
|
|||
{
|
||||
"url": "https://palewebserial.wordpress.com/table-of-contents/",
|
||||
"url": "https://palewebserial.wordpress.com/2020/05/05/blood-run-cold-0-0/",
|
||||
"title": "Pale",
|
||||
"author": "Wildbow",
|
||||
"chapter_selector": "article .entry-content > p a",
|
||||
"content_selector": "article .entry-content",
|
||||
"filter_selector": ".sharedaddy, style, a[href*='palewebserial.wordpress.com']"
|
||||
"content_selector": "#main",
|
||||
"content_title_selector": "h1.entry-title",
|
||||
"content_text_selector": ".entry-content",
|
||||
"filter_selector": ".sharedaddy, style, a[href*='palewebserial.wordpress.com']",
|
||||
"next_selector": "a[rel=\"next\"]",
|
||||
"cover_url": "https://palewebserial.files.wordpress.com/2020/05/2020-04-23-21.18.40.png?w=1103&h=300"
|
||||
}
|
||||
|
|
|
|||
11
examples/twig.json
Normal file
11
examples/twig.json
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"url": "https://twigserial.wordpress.com/2014/12/24/taking-root-1-1/",
|
||||
"title": "Twig",
|
||||
"author": "Wildbow",
|
||||
"content_selector": "#main",
|
||||
"content_title_selector": "h1.entry-title",
|
||||
"content_text_selector": ".entry-content",
|
||||
"filter_selector": ".sharedaddy, style, a[href*='twigserial.wordpress.com']",
|
||||
"next_selector": "a[rel=\"next\"]",
|
||||
"cover_url": "https://twigserial.files.wordpress.com/2015/03/cropped-twig-commission-titled1.png"
|
||||
}
|
||||
|
|
@ -3,8 +3,9 @@
|
|||
"title": "Unsong",
|
||||
"author": "Scott Alexander",
|
||||
"content_selector": "#pjgm-content",
|
||||
"content_title_selector": ".pjgm-posttitle",
|
||||
"content_title_selector": "h1.pjgm-posttitle",
|
||||
"content_text_selector": ".pjgm-postcontent",
|
||||
"filter_selector": ".sharedaddy",
|
||||
"next_selector": "a[rel=\"next\"]:not([href*=\"prologue\"])"
|
||||
"filter_selector": ".sharedaddy, style",
|
||||
"next_selector": "a[rel=\"next\"]",
|
||||
"cover_url": "https://i.imgur.com/d9LvKMc.png"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue