summaryrefslogtreecommitdiff
path: root/facebook.com.txt
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2015-06-14 20:46:51 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2015-06-14 20:46:51 +0200
commite65b798a11bac20c095de399faab1c202581660c (patch)
treef1a0071cbb65e3f8c60e3cdd072436b34217b052 /facebook.com.txt
parent8ab044a9fa40afbca6e6b3429407260dcb3ec6ad (diff)
downloadftr-site-config-e65b798a11bac20c095de399faab1c202581660c.tar.gz
ftr-site-config-e65b798a11bac20c095de399faab1c202581660c.zip
Facebook
Diffstat (limited to 'facebook.com.txt')
-rw-r--r--facebook.com.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/facebook.com.txt b/facebook.com.txt
index 26d4f90..c02c057 100644
--- a/facebook.com.txt
+++ b/facebook.com.txt
@@ -1,12 +1,13 @@
body: //div[@id='imagestage']
body: //div[contains(@class, 'userContentWrapper')]
-
+body: //div[@id='m_story_permalink_view' or contains(@data-sigil, 'm-story-view')]
strip_id_or_class: commentable
+strip: //div[contains(@data-sigil, 'm-mentions-expand')]
prune: no
tidy: no
-# single_page_link: replace(substring-after(//noscript//meta[@http-equiv="refresh"]/@content, 'URL='), "&amp;", "&")
+single_page_link: concat("https://m.", substring-after(//link[@rel="alternate" and @media="handheld"]/@href, "//www."))
test_url: https://www.facebook.com/permalink.php?story_fbid=10154584776550183&id=294468630182
test_contains: holding an extraordinary session in Brussels this month