0

I've made a Kimono Labs scraper to grab data from this website which has a few tables with empty cells.

Rather than returning that empty cell, the scraper is returning the next value down the list, so the values in the rows don't correspond to what's in the html table. How do I adjust the settings so that the data stays ordered correctly?

To illustrate, here's what's happening.

Original    Kimono

  1 2 3     1 2 3 
a x y z   a x y z 
b n   o   b n e o
c d e f   c d   f

1 Answers1

0

Goto the "Modify Results" tab in your API dashboard and create a simple javascript routine (IF...THEN) that checks if the data is "nil" and instead placed a "-" to fill in the cell that was empty.

The great thing is that you can see the results in realtime as you make your function, so you can see if its working.

Ryan Z
  • 11
  • 2