From b83b6d37f1cbe65b37bb68a0f313dba5af2a204d Mon Sep 17 00:00:00 2001 From: Alex Raubach <10493887+AlexRaubach@users.noreply.github.com> Date: Tue, 28 Aug 2018 21:13:06 -0400 Subject: [PATCH] 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. --- examples/thegodsarebastards.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 examples/thegodsarebastards.json diff --git a/examples/thegodsarebastards.json b/examples/thegodsarebastards.json new file mode 100644 index 0000000..9fa80cd --- /dev/null +++ b/examples/thegodsarebastards.json @@ -0,0 +1,8 @@ +{ + "url": "https://tiraas.wordpress.com/table-of-contents/", + "title": "The Gods Are Bastards", + "author": "D. D. Webb", + "chapter_selector": "article .entry-content a[href*='20']", + "content_selector": "article .entry-content", + "filter_selector": ".sharedaddy, .wpcnt, style, a[href*='tiraas.wordpress.com']" +}