feedify: update rules

They obviously no longer worked after so long without updating them...
master
pictuga 2018-09-30 21:54:10 +02:00
parent f9217102f3
commit 5111d40011
1 changed files with 7 additions and 8 deletions

View File

@ -7,12 +7,11 @@ path =
https://www.twitter.com/* https://www.twitter.com/*
title = //head/title/text() 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_title = .//strong[class=fullname]/text() " (" normalize-space(string(.//div[class=username])) ")"
item_link = .//a[class=js-permalink]/@href item_link = ./@href
item_content = .//p[class=js-tweet-text] item_content = .//div[class=tweet-text]/div
item_time = .//span/@data-time
[google] [google]
mode = xpath mode = xpath
@ -36,9 +35,9 @@ path =
title = //head/title/text() title = //head/title/text()
items = //div[class=results_links][not(contains(@class,'sponsored'))] items = //div[class=results_links][not(contains(@class,'sponsored'))]
item_title = .//a[class=large]//text() item_title = .//a[class=result__a]//text()
item_link = .//a[class=large]/@href item_link = .//a[class=result__a]/@href
item_content = .//div[class=snippet] item_content = string(.//a[class=result__snippet])
[facebook home] [facebook home]
mode = json mode = json