2013-09-25 10:37:14 +00:00
|
|
|
|
[twitter]
|
2014-06-22 00:14:11 +00:00
|
|
|
|
mode = xpath
|
|
|
|
|
path =
|
|
|
|
|
http://twitter.com/*
|
|
|
|
|
https://twitter.com/*
|
|
|
|
|
http://www.twitter.com/*
|
|
|
|
|
https://www.twitter.com/*
|
2013-09-25 10:37:14 +00:00
|
|
|
|
|
2014-06-22 00:14:11 +00:00
|
|
|
|
title = //head/title/text()
|
2018-09-30 19:54:10 +00:00
|
|
|
|
items = //table[class=tweet]|//div[class=tweet]
|
2013-09-25 10:37:14 +00:00
|
|
|
|
|
2018-09-30 19:54:10 +00:00
|
|
|
|
item_title = .//strong[class=fullname]/text() " (" normalize-space(string(.//div[class=username])) ")"
|
|
|
|
|
item_link = ./@href
|
|
|
|
|
item_content = .//div[class=tweet-text]/div
|
2013-10-01 18:19:17 +00:00
|
|
|
|
|
|
|
|
|
[google]
|
2014-06-22 00:14:11 +00:00
|
|
|
|
mode = xpath
|
|
|
|
|
path =
|
|
|
|
|
http://google.com/search?q=*
|
|
|
|
|
http://www.google.com/search?q=*
|
2013-10-01 18:19:17 +00:00
|
|
|
|
|
2014-06-22 00:14:11 +00:00
|
|
|
|
title = //head/title/text()
|
|
|
|
|
items = //li[class=g]
|
2013-10-01 18:19:17 +00:00
|
|
|
|
|
2014-06-22 00:14:11 +00:00
|
|
|
|
item_title = .//h3//text()
|
|
|
|
|
item_link = .//a/@href
|
|
|
|
|
item_content = .//span[class=st]
|
2013-10-21 19:29:23 +00:00
|
|
|
|
|
2013-11-10 23:33:43 +00:00
|
|
|
|
[ddg.gg]
|
2014-06-22 00:14:11 +00:00
|
|
|
|
mode = xpath
|
|
|
|
|
path =
|
2014-06-22 17:53:53 +00:00
|
|
|
|
http://duckduckgo.com/html/?q=*
|
|
|
|
|
https://duckduckgo.com/html/?q=*
|
2013-11-10 23:33:43 +00:00
|
|
|
|
|
2014-06-22 00:14:11 +00:00
|
|
|
|
title = //head/title/text()
|
|
|
|
|
items = //div[class=results_links][not(contains(@class,'sponsored'))]
|
2013-11-10 23:33:43 +00:00
|
|
|
|
|
2018-09-30 19:54:10 +00:00
|
|
|
|
item_title = .//a[class=result__a]//text()
|
|
|
|
|
item_link = .//a[class=result__a]/@href
|
|
|
|
|
item_content = string(.//a[class=result__snippet])
|
2013-11-10 23:33:43 +00:00
|
|
|
|
|
2013-10-21 19:29:23 +00:00
|
|
|
|
[facebook home]
|
2014-06-22 00:14:11 +00:00
|
|
|
|
mode = json
|
|
|
|
|
path =
|
|
|
|
|
https://graph.facebook.com/*/home*
|
|
|
|
|
https://graph.facebook.com/*/feed*
|
2013-10-21 19:29:23 +00:00
|
|
|
|
|
2014-06-22 00:14:11 +00:00
|
|
|
|
title = "Facebook"
|
|
|
|
|
items = data
|
2013-10-21 19:29:23 +00:00
|
|
|
|
|
2014-06-22 00:14:11 +00:00
|
|
|
|
item_title = from.name {" > " to.data.name<", ">}
|
|
|
|
|
item_link = actions.link[0]
|
|
|
|
|
item_content = message story{"<br/><br/><a href='" link "'><img src='" picture "' /></a>"}{"<blockquote><a href='" link "'>" name "</a><br/>" description "</blockquote>"}{"<br/><br/> – @ " place.name}
|
|
|
|
|
item_time = created_time
|
|
|
|
|
item_id = id
|
2013-10-21 19:29:23 +00:00
|
|
|
|
|
|
|
|
|
[facebook message/post]
|
2014-06-22 00:14:11 +00:00
|
|
|
|
mode = json
|
|
|
|
|
path =
|
|
|
|
|
https://graph.facebook.com/*
|
|
|
|
|
https://graph.facebook.com/*
|
2013-10-21 19:29:23 +00:00
|
|
|
|
|
2014-06-22 00:14:11 +00:00
|
|
|
|
title = "Facebook"
|
|
|
|
|
items = comments.data
|
2013-10-21 19:29:23 +00:00
|
|
|
|
|
2014-06-22 00:14:11 +00:00
|
|
|
|
item_title = from.name
|
|
|
|
|
item_content = message
|
|
|
|
|
item_time = created_time
|
|
|
|
|
item_id = id
|