From 5111d4001175757e5ba94a47d18e9cf90d0ba6aa Mon Sep 17 00:00:00 2001 From: pictuga Date: Sun, 30 Sep 2018 21:54:10 +0200 Subject: [PATCH] feedify: update rules They obviously no longer worked after so long without updating them... --- morss/feedify.ini | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/morss/feedify.ini b/morss/feedify.ini index 068e047..de8a1d0 100644 --- a/morss/feedify.ini +++ b/morss/feedify.ini @@ -7,12 +7,11 @@ path = https://www.twitter.com/* title = //head/title/text() -items = //div[class=js-tweet]|//div[class=tweet] +items = //table[class=tweet]|//div[class=tweet] -item_title = ./@data-name " (@" ./@data-screen-name ")" -item_link = .//a[class=js-permalink]/@href -item_content = .//p[class=js-tweet-text] -item_time = .//span/@data-time +item_title = .//strong[class=fullname]/text() " (" normalize-space(string(.//div[class=username])) ")" +item_link = ./@href +item_content = .//div[class=tweet-text]/div [google] mode = xpath @@ -36,9 +35,9 @@ path = title = //head/title/text() items = //div[class=results_links][not(contains(@class,'sponsored'))] -item_title = .//a[class=large]//text() -item_link = .//a[class=large]/@href -item_content = .//div[class=snippet] +item_title = .//a[class=result__a]//text() +item_link = .//a[class=result__a]/@href +item_content = string(.//a[class=result__snippet]) [facebook home] mode = json