mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Merge Issue #22558.
This commit is contained in:
commit
4da945f361
224 changed files with 542 additions and 136 deletions
|
@ -4,8 +4,10 @@
|
|||
.. module:: urllib.robotparser
|
||||
:synopsis: Load a robots.txt file and answer questions about
|
||||
fetchability of other URLs.
|
||||
|
||||
.. sectionauthor:: Skip Montanaro <skip@pobox.com>
|
||||
|
||||
**Source code:** :source:`Lib/urllib/robotparser.py`
|
||||
|
||||
.. index::
|
||||
single: WWW
|
||||
|
@ -13,6 +15,8 @@
|
|||
single: URL
|
||||
single: robots.txt
|
||||
|
||||
--------------
|
||||
|
||||
This module provides a single class, :class:`RobotFileParser`, which answers
|
||||
questions about whether or not a particular user agent can fetch a URL on the
|
||||
Web site that published the :file:`robots.txt` file. For more details on the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue