Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Cloudflare Quick Tunnels(cloudflare.com ↗)
    179comments
  2. Saving another 100TB of RAM with math (and Rust)(cloudflare.com ↗)
    1comments
  3. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    5comments
  4. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    25comments
  5. Apple releases iPhone Duo simulator and Xcode 27.1 beta(developer.apple.com ↗)
    1comments
  6. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    50comments
  7. Cache-to-Cache: Direct Semantic Communication Between Large Language Models(arxiv.org ↗)
    discuss
  8. US Military had close call after using AI for hallucinated intelligence report(cnn.com ↗)
    137comments
  9. OpenJev(openjev.com ↗)
    228comments
  10. North Korean nuclear test sets off years of earthquakes(science.org ↗)
    113comments
  11. The Implications of Linguistic Illegibility for LLM Security(arxiv.org ↗)
    3comments
  12. Systemd is a suite of basic building blocks(systemd.io ↗)
    35comments
  13. C++26: Trivial infinite loops are no longer undefined behaviour(sandordargo.com ↗)
    131comments
  14. Show HN: Ax-check.com – Can agents use your product?(ax-check.com ↗)
    15comments
  15. I vibed a proof of Conway's conjecture(overreacted.io ↗)
    141comments
  16. A heap overflow and SSO misconfiguration to compromise OpenAI internal repos(hacktron.ai ↗)
    189comments
  17. Inside ZCode: Silently uploading your Git history to the cloud(ferstar.org ↗)
    84comments
  18. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    6comments
  19. Our brain evolved from two primitive nervous systems that merged: Study(newscientist.com ↗)
    12comments
  20. A search-and-inference database from scratch in pure Zig(antfly.io ↗)
    4comments
  21. Mathematicians Build Long-Awaited Graph Sandwich(quantamagazine.org ↗)
    11comments
  22. Cekura (YC F24) Is Hiring(ycombinator.com ↗)
    discuss
  23. How SpaceX streamlined the Raptor engine(construction-physics.com ↗)
    3comments
  24. Minimal Phone 2(minimalcompany.com ↗)
    74comments
  25. Border agents can search cellphones without a warrant or reasonable suspicion(lawandcrime.com ↗)
    28comments
  26. Warez: The Infrastructure and Aesthetics of Piracy (2021)(archive.org ↗)
    4comments
  27. How to Write with an LLM(sockpuppet.org ↗)
    207comments
  28. Show HN: Scry, programmable internet search w/ congestion pricing(scry.io ↗)
    11comments
  29. Jemalloc 5.4.0(github.com/jemalloc ↗)
    79comments
  30. AI chatbots are becoming experts at changing people's minds(science.org ↗)
    88comments

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.