forked from fivefilters/ftr-site-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.substack.com.txt
20 lines (15 loc) · 901 Bytes
/
.substack.com.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
author: //meta[@name="author"]/@content
title: //meta[@property="og:title"]/@content
body: //h3[contains(concat(' ',normalize-space(@class),' '),' subtitle ')] | //div[contains(concat(' ',normalize-space(@class),' '),' body ')]
# Clean Twitter embeds
strip: //div[contains(@class, 'tweet-footer')]//span
strip_id_or_class: expanded-link-description
strip_id_or_class: expanded-link-domain
strip_id_or_class: header-anchor-widget
strip_id_or_class: subscribe-widget
strip: //p[contains(concat(' ',normalize-space(@class),' '),' button-wrapper ')]
prune: no
test_url: https://taibbi.substack.com/p/glenn-greenwald-on-his-resignation
test_contains: Greenwald, by then furious, noted that neither Maass nor Reed had identified a factual inaccuracy
test_url: https://jonathancook.substack.com/p/why-the-western-media-is-afraid-of
test_contains: The goal of the corporate media is not unearthing truth