Use pep8-like layout for .ini
This commit is contained in:
		@@ -1,70 +1,70 @@
 | 
			
		||||
[twitter]
 | 
			
		||||
mode=xpath
 | 
			
		||||
path=
 | 
			
		||||
	http://twitter.com/*
 | 
			
		||||
	https://twitter.com/*
 | 
			
		||||
	http://www.twitter.com/*
 | 
			
		||||
	https://www.twitter.com/*
 | 
			
		||||
mode = xpath
 | 
			
		||||
path =
 | 
			
		||||
  http://twitter.com/*
 | 
			
		||||
  https://twitter.com/*
 | 
			
		||||
  http://www.twitter.com/*
 | 
			
		||||
  https://www.twitter.com/*
 | 
			
		||||
 | 
			
		||||
title=	//head/title/text()
 | 
			
		||||
items=	//div[class=tweet]
 | 
			
		||||
title = //head/title/text()
 | 
			
		||||
items = //div[class=tweet]
 | 
			
		||||
 | 
			
		||||
item_title=	./@data-name " (@" ./@data-screen-name ")"
 | 
			
		||||
item_link=	.//a[class=details]/@href
 | 
			
		||||
item_content=	.//p[class=tweet-text]
 | 
			
		||||
item_time=	.//span/@data-time
 | 
			
		||||
item_title = ./@data-name " (@" ./@data-screen-name ")"
 | 
			
		||||
item_link = .//a[class=details]/@href
 | 
			
		||||
item_content = .//p[class=tweet-text]
 | 
			
		||||
item_time = .//span/@data-time
 | 
			
		||||
 | 
			
		||||
[google]
 | 
			
		||||
mode=xpath
 | 
			
		||||
path=
 | 
			
		||||
	http://google.com/search?q=*
 | 
			
		||||
	http://www.google.com/search?q=*
 | 
			
		||||
mode = xpath
 | 
			
		||||
path =
 | 
			
		||||
  http://google.com/search?q=*
 | 
			
		||||
  http://www.google.com/search?q=*
 | 
			
		||||
 | 
			
		||||
title=	//head/title/text()
 | 
			
		||||
items=	//li[class=g]
 | 
			
		||||
title = //head/title/text()
 | 
			
		||||
items = //li[class=g]
 | 
			
		||||
 | 
			
		||||
item_title=	.//h3//text()
 | 
			
		||||
item_link=	.//a/@href
 | 
			
		||||
item_content=	.//span[class=st]
 | 
			
		||||
item_title = .//h3//text()
 | 
			
		||||
item_link = .//a/@href
 | 
			
		||||
item_content = .//span[class=st]
 | 
			
		||||
 | 
			
		||||
[ddg.gg]
 | 
			
		||||
mode=xpath
 | 
			
		||||
path=
 | 
			
		||||
	http://duckduckgo.com/html/?q=*
 | 
			
		||||
	https://duckduckgo.com/html/?q=*
 | 
			
		||||
mode = xpath
 | 
			
		||||
path =
 | 
			
		||||
http://duckduckgo.com/html/?q=*
 | 
			
		||||
https://duckduckgo.com/html/?q=*
 | 
			
		||||
 | 
			
		||||
title=	//head/title/text()
 | 
			
		||||
items=	//div[class=results_links][not(contains(@class,'sponsored'))]
 | 
			
		||||
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=large]//text()
 | 
			
		||||
item_link = .//a[class=large]/@href
 | 
			
		||||
item_content = .//div[class=snippet]
 | 
			
		||||
 | 
			
		||||
[facebook home]
 | 
			
		||||
mode=json
 | 
			
		||||
path=
 | 
			
		||||
	https://graph.facebook.com/*/home*
 | 
			
		||||
	https://graph.facebook.com/*/feed*
 | 
			
		||||
mode = json
 | 
			
		||||
path =
 | 
			
		||||
  https://graph.facebook.com/*/home*
 | 
			
		||||
  https://graph.facebook.com/*/feed*
 | 
			
		||||
 | 
			
		||||
title=	"Facebook"
 | 
			
		||||
items=	data
 | 
			
		||||
title = "Facebook"
 | 
			
		||||
items = data
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
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
 | 
			
		||||
 | 
			
		||||
[facebook message/post]
 | 
			
		||||
mode=json
 | 
			
		||||
path=
 | 
			
		||||
	https://graph.facebook.com/*
 | 
			
		||||
	https://graph.facebook.com/*
 | 
			
		||||
mode = json
 | 
			
		||||
path =
 | 
			
		||||
  https://graph.facebook.com/*
 | 
			
		||||
  https://graph.facebook.com/*
 | 
			
		||||
 | 
			
		||||
title=	"Facebook"
 | 
			
		||||
items=	comments.data
 | 
			
		||||
title = "Facebook"
 | 
			
		||||
items = comments.data
 | 
			
		||||
 | 
			
		||||
item_title=	from.name
 | 
			
		||||
item_content=	message
 | 
			
		||||
item_time=	created_time
 | 
			
		||||
item_id=	id
 | 
			
		||||
item_title = from.name
 | 
			
		||||
item_content = message
 | 
			
		||||
item_time = created_time
 | 
			
		||||
item_id = id
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user