Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Cloudflare Quick Tunnels(cloudflare.com ↗)
    50comments
  2. An Empirical Study of Harness Design for Coding Agents(arxiv.org ↗)
    25comments
  3. North Korean nuclear test sets off years of earthquakes(science.org ↗)
    30comments
  4. OpenJev(openjev.com ↗)
    193comments
  5. Show HN: Rickub – The Smartest Git in the Universe(rickub.com ↗)
    4comments
  6. I don't like passkeys(hawksley.dev ↗)
    405comments
  7. Mathematicians Build Long-Awaited Graph Sandwich(quantamagazine.org ↗)
    discuss
  8. The Shadows Lurking in the Equations – Underwater Islands(gods.art ↗)
    8comments
  9. Bend 2 and the Vibe-Coding Trap(liampwll.com ↗)
    196comments
  10. NATS publishes preliminary report on technical incident of 8 September(nats.aero ↗)
    13comments
  11. GrassLobster: AI Agentic Generation of Parametric Geometry Workflows(miro.vision ↗)
    discuss
  12. Jemalloc 5.4.0(github.com/jemalloc ↗)
    67comments
  13. Build Faster Feedback Loops Using Qualitative User Research(nseldeib.com ↗)
    discuss
  14. Cekura (YC F24) Is Hiring(ycombinator.com ↗)
    discuss
  15. The scourge of x86 emulation(fex-emu.com ↗)
    63comments
  16. Warren Buffett Steps Down as Berkshire Chairman, Names Son to Replace Him(nytimes.com ↗)
    129comments
  17. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    172comments
  18. ZCode, the GLM coding agent, silently uploads your Git history(tokenstead.ai ↗)
    53comments
  19. Bend – A language that blocks AI mistakes via proof, on CPU and GPU(bend-lang.com ↗)
    287comments
  20. Qwen 3.8 Omni Flash(qwen.ai ↗)
    106comments
  21. Microsoft exec called AI scraping 'the largest theft of labor in human history'(techcrunch.com ↗)
    566comments
  22. BeanShell3 in Development(beanshell.github.io ↗)
    7comments
  23. Second Circuit Allows Government to Search Electronic Devices at the Border(knightcolumbia.org ↗)
    28comments
  24. How to Write with an LLM(sockpuppet.org ↗)
    175comments
  25. When the fractional part of a float fixes your shader(crocidb.com ↗)
    16comments
  26. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    57comments
  27. US Treasuries Have Become Unappetizing for Foreign Central Banks and Governments(wolfstreet.com ↗)
    1comments
  28. HEIF Heist: image parser RCE exploit(heif-heist.com ↗)
    2comments
  29. AI is an elite crime spree(thebignewsletter.com ↗)
    1comments
  30. Replacing Pull Requests with Delta(zed.dev ↗)
    60comments

Import.io – Structured Web Data Scraping

100 pointsby 12y agoimport.io
34 comments
12y agoHN ↗

HN,

So who do you guys use more? Import.io or Kimono? I have heard good things about both.

12y agoHN ↗

I prefer to rely on code that doesn't rely on an API that could just vanish the next day or cost a bucket to run.

12y agoHN ↗

What do you use for scraping? I may have a scraping project later this year and would love recommendations.

12y agoHN ↗

I've written a couple "polite" crawlers in Go (i.e. obeys robots.txt, delays between requests to the same host).

- Fetchbot: https://github.com/PuerkitoBio/fetchbot

Flexible, similar API to net/http (uses a Handler interface with a simple mux provided, supports middleware, etc.)

- gocrawl: https://github.com/PuerkitoBio/gocrawl

Higher-level, more framework than library.

Coupled with goquery (https://github.com/PuerkitoBio/goquery ) to scrape the dom (well, the net/html nodes), this makes custom scrapers trivial to write.

(sorry for the self-promoting comment, but this is quite on topic)

edit: polite crawlers, not scrapers.

12y agoHN ↗

rely on an API that could just vanish the next day

Kind of ironic that you are saying this about web scraping ...

12y agoHN ↗

But then his data source is gone and what he was doing is pointless. Losing your processor of said data source while said data source is still available is frustrating.

12y agoHN ↗

I'm evaluating these to augment a system I'm building on top of casper. This is the first I've seen of this one, but right out of the gate I think I prefer Kimono.

12y agoHN ↗

I tried Komono, but it cannot auth into the sites I want to pull the data from....

Just grabbed import.io - will see if it can loginto sites and grab the data from services I am already paying thousands per month for.

EDIT:

To add some context: I pay about $3,000 per month for some monitoring services which do not have any real reportin mechanisms. So for my daily and weekly reports, I have to manually compile them and screen shot a ton of things, compose an email and send.

I want to configure a scraper to automatically grab screens of things I want regularly and email them.

I want to have a script that will grab many diff pieces of data (visual graphs, typically) and put them all into one email.

I am working with my monitoring vendors to get them to add reporting... but until that can happen - I am tired of spending a couple hours per week screen capping graphs...

12y agoHN ↗

Can someone tell me more about the law and scrapping websites?

12y agoHN ↗

As a PoC, I would be willing to "turn the web into data", i.e., produce one of the formats offered by these "services": CSV.

I will use only standard UNIX utilities, no Python, etc. As such, you "own" the code. No SaaS. The result will be portable and run on any UNIX.

I believe I can deliver in fewer words of code and that the result will be easier to modify when sites change.

You pay nothing. Post your scraping "challenges" to HN.

I enjoy turning web into data.

Some people enjoy working with HTML, CSS, Javascript, etc. I prefer working with raw data.

It is interesting to hear that some people are willing to pay to have the HTML, CSS, Javascript, etc. stripped out.

12y agoHN ↗

For anyone that wants to do this full time and work with a really cool team, shoot me an email: kevin@mattermark.com

12y agoHN ↗

Unfortunately, this doesn't seem to work too well on my mac. And, why do you want to know who my friends on Facebook are?

12y agoHN ↗

Heads up, the application is placed in ~/Desktop and not /Applications

12y agoHN ↗

There are a bunch of comments about rolling your own scraper instead of relying upon a possibly unreliable SaaS app.

That makes me think -- would it be viable to run a service that, instead of running the scraping on their own servers, simply gave you a custom binary to run?

Assuming that you trusted the executable, you would never have to worry about the company failing. It'd just be a one-time fee, and yours to use in perpetuity. Presumably updates would be free.

12y agoHN ↗

That's a really neat idea I'd pay for. Not sure about the sustainability of the model though.

12y agoHN ↗

if you use scrapy (which is an awesome python scraping framework) you can plug a different third party solutions such as: http://crawlera.com/

Not really server level hosting, but you get the benefits of their network.

12y agoHN ↗

Great to see these guys are now out of Beta!

While their real-time Extractors aren't quite as quick as doing it yourself, we've found them to be particularly useful for sites requiring JavaScript and/or cookies to use.

It's also worth mentioning that it's quick to get started. You can start playing around with real data without having to dig into a site's URL structure, and then write your own scraper later if needed.

12y agoHN ↗

What kind of legitimate uses are there for something like this? This is not a sarcastic question. It seems like an obvious spam magnet, but if people are using it legitimately wouldn't their sources already be providing an API or RSS key?

12y agoHN ↗

Very few companies can figure out how to provide proper api's. Unless it's part of their core business, it'll always be lacking.

12y agoHN ↗

I've my own use case for it and it will probably mirror other sites. I run my own blog and thus have ads and affiliate links there. The thing is, as good as Google Adsense is, it's shitty for my site and my topic (Web Dev).

What am I left with? Great affiliates like Team Treehouse, Lynda.com, framework themes, and Udemy. The problem is that none of those offer any kind of a good API. All they have is a link and possibly an image that they provide.

By using Kimono, I can scrape (but I don't) all of Udemy's programs, categorize them with custom categories, build a full-text search engine around it and serve relevant ads per post. For instance, my "Best Bootstrap Themes" post would yield "Learn bootstrap" udemy course and an on-the-fly-but-cached image for it thus serving relevant ads to my users.

Same goes for Lynda. If someone lands on "Why C# is a great language to learn" (one of my unreleased articles), my custom API built on top of scraped data could serve them with a "ASP.NET Essentials" course.

So why use something like this for framework themes? Take Wrapbootstrap.com, they have a great affiliate program. Using Kimono, you can easily get daily refreshes of their main page which usually has: sales priced themes, featured themes, and new rising themes. This way, you can serve users with an ad that has up-to-date prices and themes that are hot right now.

What about non-ad uses? You can create custom search, weighted according to YOUR metrics and build your own marketplace front and aggregate several sources in order to serve users with better content.

12y agoHN ↗

Doing something like http://openstates.org/ is a perfect example. State government data is shitty most of the time and doesn't have a public api you can query so open states runs 50+ scrapers to get the data and normalize it.

12y agoHN ↗

We use scraping to gather product prices from online shops for a price comparison site. I have permission from the sites who are not bothered to provide us with a price list other than their public website. Legal and necessary - so there is a market for this I believe, I am not sure about its size though.

12y agoHN ↗

Isn't it illegal to scrape without permission? How would import.io handle the case when a large site comes back with legal threats when a user of their site has used scraped the wrong site? Can they claim non-responsibility?

Also what happens when sites start blocking their IPs due to repeated scraping or is this unlikely to happen?

12y agoHN ↗

They presented last year at Yahoo!'s Hack Europe: London hackathon. It's an interesting concept, they've come far since their initial presentation and while the app has its quirks I have come to use it occasionally for some tasks.

I hope that they'll manage to properly monetize on this - I don't see why I should pay for using a scraping rule if I can just write the scraper myself which doesn't cost me that much more time.

12y agoHN ↗

I suspect the real, top-secret business behind import.io is in either training a system to crawl the web and see structured data, and/or gathering over time a very rich crowd-sourced database of structured data.