Robots.txt is a suicide note
archiveteam.org
archiveteam.org
The daftness: maybe the claim is true that robots.txt was only a stop-gap measure back when web servers sucked, however the de facto modern use for it goes far beyond that, and ignoring that standard is likely to piss off lots of people.
The insight: for crawlers, relying on robots.txt to prevent getting stuck indexing infinite hierarchies of data is a bad idea. It should be able to figure that much out for itself, so it doesn't explode when faced with sites that don't exclude such hierarchies using robots.txt.
For servers, relying on a client hint to ensure reliability is daft. It should have some form of rate limiting built in, as that's the only sensible design. This seems the only marginally sensible use of robots.txt from a server standpoint. Using it for any form of security (e.g. preventing DB scraping) is daft, and a more robust mechanism should be employed there too.
I think they're saying is that their archive is going to ignore it, and your website should just eliminate it.
We'll have to assume that archiveteam.org are by now real experts in guessing which buttons are going to be pissing people off. :-)
Archiveteam projects are different because we run closely-monitored, highly targeted crawls. If a site has an infinite hallway in it, we'll notice that and exclude it while taking steps to replicate enough of it to retain its valuable attributes. We also do our best to avoid retrieving content more times than necessary. If you operate a database, we try to get enough pages to replicate a good portion of the underlying data.
As the "some crazy reason" might be that the database contains data that is not publicly addressable for a reason and sanitising the data-set could be non-zero effort operation, letting you crawl the public pages and do some work at your side would be the sensible route from most points of view. Heck, even if there is definitely not anything not already displayed to the public in the DB, letting you go ahead and get the information the hard way is likely to be preferable to lifting a finger to send you a DB dump.
Sort of like a cat's attitude to playing fetch: You want it? You go get it. I've got more important things to do.
Maybe, but does that make robots.txt useless? I don't think so.
Your app may do the right thing but who's to say another app isn't? Why should someone ignore a tool because Archiveteam claims to do the right thing?
The file has more uses than just blocking a particular URL. What about adding a crawler delay for a site on a shared server that gets slammed sometimes? Or what about blocking a particular user-agent that misbehaves?
If someone shoots themselves in the foot with their robots.txt, it's their foot and their gun.
(2) is immensely valuable. Without it, search engines and the largest archive of web content, the Internet Archive (where I work on web archiving), could not exist at their current scales, as a practical matter.
There's a place for ArchiveTeam's style of in-your-face, adversarial archiving... but if it were the dominant approach, the backlash from publishers and the law could result in prevailing conventions that are much worse than robots.txt, such as a default-deny/always-ask-permission-first regime. Search and archiving activities would have to be surreptitious, or limited to those with much deeper pockets for obscuring their actions, requesting/buying permission, or legal defenses.
So, Jason, be careful what you wish for.
Robots.txt is a suicide note. It's utter short-sighted hubris to say "this is MY information and I don't want you spidering it". Are you volunteering to maintain that information forever? Are you promising to never go out of business? Never be ordered to remove it by the government? Never be bought out by Oracle?
Right now there seems to be a lot of confusion over the morality of information. People are possessed by the strange idea that you, mister content provider, own that content and have an inalienable right to control it any way you can get away with. But someday you will die, and your company will die, just like Geocities, Google Video, and the Library of Alexandria. Society should have a right to keep that information after you're gone.
Of course, the law disagrees. And without the efforts of criminals like geohot, the iPhone DevTeam, The Nomad, Muslix64 and, yes, The Archive Team, people of the future will have no way to access the information we've locked up through our own paranoia. You don't have to cast your mind to a thousand years in the future - it's happening right now. Vast swathes of data are disappearing as DRM servers go dark only a few years after they appear (thanks, MSN Music, Yahoo Music Store).
I believe that we owe it to our descendants to give them access to their history. I believe it's not our decision whether the things we make are too valuable or too uncomfortable to be preserved. And I believe that robots.txt is a suicide note, a product of the diseased minds that think our short-term desire for control outweighs our legacy.
But I don't know what the fuck the article's talking about. It seems to be making a bunch of points that don't matter. Use robots.txt to prevent technical problems if you like, I don't care. Just don't use it to stop people from crawling your content or you're shitting on the future.
Personally, I'd be ecstatic if there was some organization set up that is manufacturing high-quality archive copies of books, music, film and the like, and storing them with the date of initial publication, as well as the date they will enter public domain (where it is known - not the case for living authors) in various locales. Then have a site live-tracking the release of that content.
There's a site that keeps getting linked every year that posts things that would be public domain this year were it not for US copyright extensions, and something like that with accurate PD status and archive copies would be marvelous.
It's not just about the functionality, but also a show of good faith and basic respect. If you're a bot author who knowingly violates my site policy I'd rather you didn't communicate with my web server at all.
robots.txt isn't perfect. Ideally a web server would be configured to deny bots access to restricted content via some sort of dnsbl mechanism (or CPAN/whatever module.) Or do both and ban the non-conforming site-wide.
The above notwithstanding, I'm voting for this article. It doesn't betray the usual cowardice by hiding the assertion behind the presumptuous Why.
The broader points being made in the article are that the value of information is determined by the visitor, and that the burden of keeping the site up and running should fall on the host.
By that reasoning, the presence of a ROBOTS.TXT signifies "damage" or "temporary madness", and should therefore be ignored.
Also, keep in mind where this article came from - the Archive Team are bloody-minded about preserving information.
If the data has value to the user, shouldn't the user be paying the host for the cost of making that data available (or perhaps considerably more, if it has a lot of value to the user)?
If the answer is "nothing", then I guess you've just told me that all your comments are useless, and I should ignore them.
Drivingmenuts says the user should pay for hosting data. HN is hosting his data, but he doesn't pay for it. Is there some error in my logic, here, some flaw in my conclusion?
That may be so in a sense, unless the visitor has no means of making the call -- or does so poorly. I promise you that every robots.txt ignoring bot makes terrible judgments in that regard. (I'm not trying to overstate anything here; those that abide it make, on average, slightly less terrible judgments.)
But it's not just the visitor who gets to make judgment calls. The value of serving those pages is something the host can decide. Belligerent drunks who abuse the staff aren't allowed in the coffee shop, and if they do it often enough they're not allowed back in when they sober up either.
They won't do a good job of that if they encourage too many people to make IP blocks of their machines.
User-agent: *
Disallow: /
Does that count?1: http://bbot.org/blog/archives/2011/01/17/more_fun_with_wget/
At least, that's the way I used to roll.
Quite. My robots.txt reads:
User-agent: *
Disallow: /cgi-bin/
Disallow: /scratch/
I do not believe, as the archiveteam.org seem to think I do, that I have either stopped bots interfering with CGI scripts or spidering semi-private, temporary content. Indeed, my server logs show clearly enough that bots do these things all the time. Instead, the bot has violated my site's policy and its IP address will be considered for an iptables ban. It is a matter of which bots I consider fair game for rough treatment.This is a common attitude to robots.txt, I think, and it does not reflect well on archiveteam.org's competence that they seem to be unaware of it.
[1] http://www.groklaw.net/article.php?story=20070819090725314...
This is a bit of a legal grey area. The kind of thing that BigCos with expensive lawyers like to sue over. Would you really be willing to pay lawyers to settle it in court once and for all?
The other major one is to legally bar all crawling without express permission.
The current de facto world - crawling is OK unless robots.txt says otherwise - is pretty nice. If we want that to be a legal defense in court ("You didn't put up a robots.txt, so my indexing was legal, so you can't sue me."), which seems useful, then the necessary flipside of that is that violating robots.txt exposes the crawler to liability. That's a tradeoff I'm perfectly willing to accept to allow the web, and necessary services such as indexers and crawlers, to work while still allowing publishers to have some reasonable control over their content distribution.
I seem to remember one of the writers at Search Engine Land presenting a nice description of the robots.txt request in contract negotiation terms. Something like this:
Archiver: "Are there any limits on what I can archive or index from your site?" (translation: GET /robots.txt)
Site: "Nope." (translation: 404 Not Found)
or
Site: "Yep, here they are." (translation: 200 OK followed by restrictions in robots.txt format)
So, by asking for /robots.txt, the crawler can be construed as asking permission to index, and the response setting up the terms of indexing. That seems like a really useful defense and sane compromise in this age of "indexing so you can drive search users to our content is copyright infringement."
[EDIT: fix formatting]
And pragmatically, the vast majority of the non-robots.txt-respecting crawls I see are coming from countries that won't enforce such laws anyway, so enforcing them in western countries seems like a downside (more entanglement between the internet and various countries' national laws) with little upside (won't stop many crawls).
http://en.wikipedia.org/wiki/Common_law
Robots.txt has a lot of custom and implied authority behind it by now – and as others have noted, some recognition by courts as well.
I don't know if AT does or does not do anything illegal but what you have outlined is not illegal per se. archive.org and Google do it too.
I wonder how this made into 88 votes here on HN..
It certainly is an indicator of how seriously you should take this organisation.
So, dear archiveteam, please remember that when I put a server on the internet, it's a voluntary and public service, and putting 'Disallow:' lines in the robots.txt means that I set some rules. It's just rude to ignore those rules, whatever you motivations are.
You have no right to access my content, just as you have no right to walk into my house. If I invite you, please behave.
So, use it wisely, but don't abandon its usage altogether.
I do not want certain bots, especially so-called "archives" to automatically download all my content. And that's what robots.txt is for and works well.
The article is just stupid, sorry. There is not one real knowledgable argument.
Robots.txt doesn't stop anyone doing anything, it is simply a policy. Bots either respect it or they do not. Archiveteam.org have indicated that they wish to join the side of the spammers and incompetent spider authors.
A Good reason to honeypot if you aren't already.
It's expected. It's polite. Respect the site owner's published policy or expect to get IP banned like any other script kiddie because when a site admin see you ripping content, he isn't thinking "yay! archive team is here to do a free backup!" he thinks you are stealing his shit.
the onslaught of some social media hoo-hah
edit: just clicked through a few pages- whoever does the writing at Archiveteam is fantastic!
http://ascii.textfiles.com/ is his personal blog, and is as profanity-ridden as you would expect.
User-agent: ia_archiver
Disallow: /
There is no good reason to let old (and possibly embarrassing) website designs distract from the current version of your website.Many, many web designers are delighted to be able to see their old creations – or even recover past work from the Archive when all other copies are lost to organizational upheaval and system problems.
Finally, note that by blocking archiving, you're opting out of history. Those who look back to see the web of today won't see your contributions. Alternatives, competitors, and other projects that are open to archiving will be seen and vividly remembered. Being invisible to the future may be OK for your projects, but many others prefer to part of the shared memory.
(FYI: I work on web archiving at the Internet Archive.)
IIRC, technically you can have a 0 pixel image in some formats (gif) though I imagine some browsers won't like that.
FWIW I've been using robots.txt honeypots on two sites for the past few years to deter scrapers. Approx 1,600 IP addresses have been banned. Most of these are for data centers.
I'm not alone :-) see http://incredibill.blogspot.com/
Like Geocities, Yahoo! Video, Google Video, Friendster
Google and archive.org is one thing, I will be happy to support them.
Now we get a non-story which is essentially designed to piss off the people of HN. Looking forward to more of the same given it works.
Bored of having our machine killed by those bots, we use some robots.txt.
Sure, there are other solutions (proper blocking), but this one works perfectly fine and avoids having to modify 3rd party applications that we are running for an open-source development team.
Anything I don't want archived, I put behind a login wall.
e.g. Crawl-Delay, prevent DDOS from YAHOO! Slurp
Things like /search?q= are in my robots.txt because crawling those pages is just a waste of everyone's time and resources.