Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

HTML to JSON backend

Name: Anonymous 2012-08-29 22:18

Does anyone know of a service similar http://apify.heroku.com ?
I was going to use this for a simple Android project but it doesn't seem to like query selections that are longer than 3 tags. Im trying to scrape a site with really shit code (tables inside of tables) and I can't fine tune it enough for the results to be useful using only 3 tags

Name: Anonymous 2012-08-29 23:08

What is it, a data scraper that transforms HTML data to JSON structure?

Name: Anonymous 2012-08-29 23:42

roll your own, ``faggot''

Name: Anonymous 2012-08-30 0:09

>>2
Thats exactly what it is. Pretty nice project, was hoping it wasn't unique

Name: Anonymous 2012-08-30 15:02

>>1
Roll your own OP. If I'm not misunderstanding what it is you want. You talking 'bout shit like:
<b id="xyz">suck <u>a</u> <i>fat cock</i></b>
becoming

{"tag": "b",
 "attrs": {"id": "xyz"},
 "content":
    ["suck",
     {"tag": "u",
      "content": ["a"]},
     {"tag": "i",
      "content": ["fat cock"]}]}


Then again I didn't look at your link and only what >>2 mentioned.

Name: >>5 2012-08-30 15:03

Shit, missed the one space:
{"tag": "b",
 "attrs": {"id": "xyz"},
 "content":
    ["suck",
     {"tag": "u",
      "content": ["a"]},
     " ",
     {"tag": "i",
      "content": ["fat cock"]}]}

Don't change these.
Name: Email:
Entire Thread Thread List