python (3.11.7)
    e$                         	 d dl Z d dlZd dlZdgZ e j        dd          Z G d d          Z G d d          Z G d d	          Z	dS )
    NRobotFileParserRequestRatezrequests secondsc                   Z    e Zd Z	 ddZd Zd Zd Zd Zd Zd Z	d	 Z
d
 Zd Zd Z
d
 ZdS )r    c                     g | _         g | _        d | _        d| _        d| _        |                     |           d| _        d S )NFr   )entriessitemaps
default_entrydisallow_all	allow_allset_urllast_checkedselfurls     F/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/urllib/robotparser.py__init__zRobotFileParser.__init__   sG    
!!S    c                     	 | j         S N)r   r   s    r   mtimezRobotFileParser.mtime%   s    	   r   c                 B    	 dd l }|                                 | _        d S )Nr   )timer   )r   r   s     r   modifiedzRobotFileParser.modified.   s(    	 	 IIKKr   c                 ~    	 || _         t          j                            |          dd         \  | _        | _        d S )N      )r   urllibparseurlparsehostpathr   s     r   r
   zRobotFileParser.set_url6   s7    :%|44S99!A#>	4999r   c                    	 	 t           j                            | j                  }|                                }|                     |                    d                                                     d S # t           j        j	        $ rK}|j
        dv rd| _        n)|j
        dk    r|j
        dk     rd| _        Y d }~d S Y d }~d S Y d }~d S Y d }~d S d }~ww xY w)Nzutf-8)i  i  Ti  i  )
r   requesturlopenr   readr    decode
splitlineserror	HTTPErrorcoder   r   )r   frawerrs       r   r'