Module robotparser
[hide private]
[frames] | no frames]

Module robotparser

Copyright (C) 2000 Bastian Kleineidam

You can choose between two licenses when using this package: 1) GNU GPLv2 2) PSF license for Python 2.2

The robots.txt Exclusion Protocol is implemented as specified in

Classes [hide private]
This class provides a set of methods to read, parse and answer questions about a single robots.txt file.
A rule line is a single "Allow:" (allowance==True) or "Disallow:" (allowance==False) followed by a path.
An entry has one or more user-agents and zero or more rulelines
Functions [hide private]
_check(a, b)
Variables [hide private]
  debug = 0

Imports: urlparse, urllib