Permalink
Browse files

some xpath change

  • Loading branch information...
1 parent 10e83da commit bad32489474eb60873dcd4de1e2163849364fa4e @azwad committed Apr 7, 2012
Showing with 17 additions and 32 deletions.
  1. +6 −6 500px.json
  2. +2 −2 pinterest.json
  3. +9 −24 pinterest_various.json
View
@@ -2,12 +2,12 @@
"created_at" : "2012-01-07T12:39:00+09:00",
"created_by" : "toshi",
"data" : {
- "nextLink" : "//div[@class='pagination']/a[@class='next_page']",
- "paragraph" : "//div[@class='photos profile clearfix']",
- "permalink" : "./div/a",
- "subRequest.caption" : ".//h1",
- "subRequest.imageSource" : "./div[2]/div/a/img",
- "subRequest.paragraph" : "//div[@class='wrapper clearfix']",
+ "nextLink" : "//a[@class='next_page']",
+ "paragraph" : "//div[@class='container']",
+ "permalink" : "./div[@class='col d4']//a",
+ "subRequest.caption" : "id('subheader')/h2",
+ "subRequest.imageSource" : ".//div[@class='center']//a/img",
+ "subRequest.paragraph" : "//div[@class='container']",
"url" : "http://500px.com/popular"
},
"database_resource_url" : "",
View
@@ -3,8 +3,8 @@
"created_by" : "toshi",
"data" : {
"paragraph" : "//div[@class='pin']",
- "permalink" : "./a",
- "subRequest.caption" : "./div[4]//text()",
+ "permalink" : "./div/a",
+ "subRequest.caption" : "./div[4]",
"subRequest.imageSource" : "./div[3]//img",
"subRequest.paragraph" : "//div[@class='WhiteContainer clearfix']",
"url" : "http://pinterest.com"
View
@@ -4,8 +4,8 @@
"created_by" : "toshi",
"data" : {
"paragraph" : "//div[@class='pin']",
- "permalink" : "./a",
- "subRequest.caption" : "./div[4]//text()",
+ "permalink" : "./div/a",
+ "subRequest.caption" : "./div[4]",
"subRequest.imageSource" : "./div[3]//img",
"subRequest.paragraph" : "//div[@class='WhiteContainer clearfix']",
"url" : "http://pinterest.com/toshi0104/pins/"
@@ -19,8 +19,8 @@
"created_by" : "toshi",
"data" : {
"paragraph" : "//div[@class='pin']",
- "permalink" : "./a",
- "subRequest.caption" : "./div[4]//text()",
+ "permalink" : "./div/a",
+ "subRequest.caption" : "./div[4]",
"subRequest.imageSource" : "./div[3]//img",
"subRequest.paragraph" : "//div[@class='WhiteContainer clearfix']",
"url" : "http://pinterest.com/all/?category=science"
@@ -34,8 +34,8 @@
"created_by" : "toshi",
"data" : {
"paragraph" : "//div[@class='pin']",
- "permalink" : "./a",
- "subRequest.caption" : "./div[4]//text()",
+ "permalink" : "./div/a",
+ "subRequest.caption" : "./div[4]",
"subRequest.imageSource" : "./div[3]//img",
"subRequest.paragraph" : "//div[@class='WhiteContainer clearfix']",
"url" : "http://pinterest.com/source/architecturaldigest.com/"
@@ -44,28 +44,13 @@
"name" : "Source::Architecuraldigest",
"resource_url" : ""
},
- {
- "created_at" : "2012-01-07T14:28:00+09:00",
- "created_by" : "toshi",
- "data" : {
- "paragraph" : "//div[@class='pin']",
- "permalink" : "./a",
- "subRequest.caption" : "./div[4]//text()",
- "subRequest.imageSource" : "./div[3]//img",
- "subRequest.paragraph" : "//div[@class='WhiteContainer clearfix']",
- "url" : "http://pinterest.com/theresamilstead/journal-arts/"
- },
- "database_resource_url" : "",
- "name" : "Board::theresamilstead/journal-arts/",
- "resource_url" : ""
- },
- {
+ {
"created_at" : "2012-01-07T14:28:00+09:00",
"created_by" : "toshi",
"data" : {
"paragraph" : "//div[@class='pin']",
- "permalink" : "./a",
- "subRequest.caption" : "./div[4]//text()",
+ "permalink" : "./div/a",
+ "subRequest.caption" : "./div[4]",
"subRequest.imageSource" : "./div[3]//img",
"subRequest.paragraph" : "//div[@class='WhiteContainer clearfix']",
"url" : "http://pinterest.com/soranyan/pins/?filter=likes"

0 comments on commit bad3248

Please sign in to comment.