@@ -0,0 +1,60 @@
1+diff --git a/linkcheck/checker/httpurl.py b/linkcheck/checker/httpurl.py
2+index 6f207b6..161619c 100644
3+--- a/linkcheck/checker/httpurl.py
4++++ b/linkcheck/checker/httpurl.py
5+@@ -75,7 +75,7 @@ def allows_robots (self, url):
6+ @return: True if access is granted, otherwise False
7+ @rtype: bool
8+ """
9+- return self.aggregate.robots_txt.allows_url(self)
10++ return not self.aggregate.config['robotstxt'] or self.aggregate.robots_txt.allows_url(self)
11+
12+ def content_allows_robots (self):
13+ """
14+diff --git a/linkcheck/configuration/__init__.py b/linkcheck/configuration/__init__.py
15+index fc2c148..234fa05 100644
16+--- a/linkcheck/configuration/__init__.py
17++++ b/linkcheck/configuration/__init__.py
18+@@ -163,6 +163,7 @@ def __init__ (self):
19+ ## checking options
20+ self["allowedschemes"] = []
21+ self['cookiefile'] = None
22++ self['robotstxt'] = True
23+ self["debugmemory"] = False
24+ self["localwebroot"] = None
25+ self["maxfilesizeparse"] = 1*1024*1024
26+diff --git a/linkcheck/configuration/confparse.py b/linkcheck/configuration/confparse.py
27+index 67751ed..845fa95 100644
28+--- a/linkcheck/configuration/confparse.py
29++++ b/linkcheck/configuration/confparse.py
30+@@ -149,6 +149,7 @@ def read_checking_config (self):
31+ self.get(section, 'allowedschemes').split(',')]
32+ self.read_boolean_option(section, "debugmemory")
33+ self.read_string_option(section, "cookiefile")
34++ self.read_boolean_option(section, "robotstxt")
35+ self.read_string_option(section, "localwebroot")
36+ try:
37+ self.read_boolean_option(section, "sslverify")
38+diff --git a/linkchecker b/linkchecker
39+index 199532c..9e91fa5 100755
40+--- a/linkchecker
41++++ b/linkchecker
42+@@ -321,6 +321,9 @@ group.add_argument("--cookiefile", dest="cookiefile", metavar="FILENAME",
43+ help=_(
44+ """Read a file with initial cookie data. The cookie data format is
45+ explained below."""))
46++# const because store_false doesn't detect absent flags
47++group.add_argument("--no-robots", action="store_const", const=False,
48++ dest="norobotstxt", help=_("Disable robots.txt checks"))
49+ group.add_argument("--check-extern", action="store_true",
50+ dest="checkextern", help=_("""Check external URLs."""))
51+ group.add_argument("--ignore-url", action="append", metavar="REGEX",
52+@@ -431,6 +434,8 @@ if options.externstrict:
53+ if options.extern:
54+ pats = [linkcheck.get_link_pat(arg) for arg in options.extern]
55+ config["externlinks"].extend(pats)
56++if options.norobotstxt is not None:
57++ config['robotstxt'] = options.norobotstxt
58+ if options.checkextern:
59+ config["checkextern"] = True
60+ elif not config["checkextern"]: