From f75ecceae78f6e5297b73f1bf16abd1db90abb6b Mon Sep 17 00:00:00 2001 From: baxq Date: Tue, 21 Jun 2016 14:05:31 +0100 Subject: Add lithub.com and update brainpickings.org (#179) * Update brainpickings.org.txt Remove print links at bottom of articles, and ensure that headline is grabbed correctly * Create lithub.com.txt * Update lithub.com.txt Corrected typo --- brainpickings.org.txt | 2 ++ lithub.com.txt | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 lithub.com.txt diff --git a/brainpickings.org.txt b/brainpickings.org.txt index 60052cb..c8aae09 100644 --- a/brainpickings.org.txt +++ b/brainpickings.org.txt @@ -1,5 +1,7 @@ +title: //h1[@class='entry-title'] body: //div[@id='main_body'] strip: //div[@id='bottom_donation'] strip: //div[@id='bottom_newsletter'] +strip: //div[@id='end_print'] test_url: https://www.brainpickings.org/2016/05/26/river-of-shadows-rebecca-solnit-muybridge/ diff --git a/lithub.com.txt b/lithub.com.txt new file mode 100644 index 0000000..c630c43 --- /dev/null +++ b/lithub.com.txt @@ -0,0 +1,4 @@ +body: //div[contains(concat(' ',normalize-space(@class),' '),' post_wrapper_inner ')]//div[contains(concat(' ',normalize-space(@class),' '),' post_inner_wrapper ')] +strip: //div[contains(concat(' ',normalize-space(@class),' '),' post_tag ')] + +test_url: http://lithub.com/why-indie-presses-are-opening-bookstores/ -- cgit v1.3.1