News for hackers. Stuff that matters.
Re:Show HN: Link.fish – API to extract data from websites as... by janober on Thursday November 02, 2017 @12:17PM (#15611752)
Hi just launched this API. So would love to get feedback like what could be improved or what is missing. Is a first version so any kind comments are welcome!
Re:Show HN: Link.fish – API to extract data from websites as... by wiradikusuma on Thursday November 02, 2017 @01:18PM (#15612304)
I tried a link to some product in some ecommerce (http://www.lazada.com.my/samsung-galaxy-note-8-6gb-ram64gb-r...), and it does extract the content.. but I only care about the "hero" item. Is it safe to just always take the 1st item in mainEntity>offers>offers[0]?
Re:Show HN: Link.fish – API to extract data from websites as... by linkfish on Thursday November 02, 2017 @02:01PM (#15612678)
It did actually just extract the data of the "hero" item. The thing is that it gets offered by multiple companies for different prices. So all the prices are valid and none is right or wrong. So really depends what you want. If you want simply "a" price, you can take the first. If you want the cheapest one you would have to itterate over them to find it.