opt
/
alt
/
python310
/
lib64
/
python3.10
/
urllib
/
__pycache__
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
__init__.cpython-310.opt-1.pyc
147 bytes
Rename
Delete
__init__.cpython-310.opt-2.pyc
147 bytes
Rename
Delete
__init__.cpython-310.pyc
147 bytes
Rename
Delete
error.cpython-310.opt-1.pyc
2.80 KB
Rename
Delete
error.cpython-310.opt-2.pyc
2.15 KB
Rename
Delete
error.cpython-310.pyc
2.80 KB
Rename
Delete
parse.cpython-310.opt-1.pyc
33.76 KB
Rename
Delete
parse.cpython-310.opt-2.pyc
23.40 KB
Rename
Delete
parse.cpython-310.pyc
33.76 KB
Rename
Delete
request.cpython-310.opt-1.pyc
69.83 KB
Rename
Delete
request.cpython-310.opt-2.pyc
58.07 KB
Rename
Delete
request.cpython-310.pyc
69.92 KB
Rename
Delete
response.cpython-310.opt-1.pyc
3.40 KB
Rename
Delete
response.cpython-310.opt-2.pyc
2.86 KB
Rename
Delete
response.cpython-310.pyc
3.40 KB
Rename
Delete
robotparser.cpython-310.opt-1.pyc
7.18 KB
Rename
Delete
robotparser.cpython-310.opt-2.pyc
5.89 KB
Rename
Delete
robotparser.cpython-310.pyc
7.18 KB
Rename
Delete
o �?Og�$ � @ s\ d Z ddlZddlZddlZdgZe�dd�ZG dd� d�ZG dd� d�Z G d d � d �Z dS )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 � N�RobotFileParser�RequestRatezrequests secondsc @ sr e Zd ZdZddd�Zdd� Zdd� Zd d � Zdd� Zd d� Z dd� Z dd� Zdd� Zdd� Z dd� Zdd� ZdS )r zs This class provides a set of methods to read, parse and answer questions about a single robots.txt file. � c C s2 g | _ g | _d | _d| _d| _| �|� d| _d S )NFr )�entries�sitemaps� default_entry�disallow_all� allow_all�set_url�last_checked��self�url� r �9/opt/alt/python310/lib64/python3.10/urllib/robotparser.py�__init__ s zRobotFileParser.__init__c C s | j S )z�Returns 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 r r r �mtime% s zRobotFileParser.mtimec C s ddl }|� � | _dS )zYSets the time the robots.txt file was last fetched to the current time. r N)�timer )r r r r r �modified. s zRobotFileParser.modifiedc C s&