/usr/lib64/python3.12/urllib/__pycache__
Edit: /usr/lib64/python3.12/urllib/__pycache__/robotparser.cpython-312.pyc (12295B)
֦i$ d Z ddlZddlZddlZddlZdgZ ej dd Z G d d Z G d d Z
G d d
Zy)a% robotparser.py
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
http://www.robotstxt.org/norobots-rfc.txt
NRobotFileParserRequestRatezrequests secondsc Z e Zd ZdZddZd Zd Zd Zd Zd Z d Z
d Zd
Zd Z
d Zd
Zy)r zs This class provides a set of methods to read, parse and answer
questions about a single robots.txt file.
c z g | _ g | _ d | _ d| _ d| _ | j | d| _ y )NFr )entriessitemaps
default_entrydisallow_all allow_allset_urllast_checkedselfurls +/usr/lib64/python3.12/urllib/robotparser.py__init__zRobotFileParser.__init__ s;
!!S c | j S )zReturns the time the robots.txt file was last fetched.
This is useful for long-running web spiders that need to
check for new robots.txt files periodically.
)r
r s r mtimezRobotFileParser.mtime&