-z d dl mZmZmZ d dlmZ d dlmZ d dlm Z mZ e e_ ee_ dgZ G d de Z G d de Z G d d e ZdS ) )absolute_importdivisionunicode_literalsstr)urllib)parserequestRobotFileParserc J e Zd ZdZd dZd Zd Zd Zd Zd Z d Z d Zd ZdS )r zs This class provides a set of methods to read, parse and answer questions about a single robots.txt file. c v g | _ d | _ d| _ d| _ | | d| _ d S )NFr )entries default_entrydisallow_all allow_allset_urllast_checkedselfurls u/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/future/backports/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&