| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/openid/yadis/__pycache__/ |
Upload File : |
�
|=�^� � � � d dgZ ddlmZ ddlZddlZddlZddlmZ dZ G d� de
� � Z G d � de
� � Zej
ej z ej z Zd
Z ej ee� � Zd� Zd� Z G d
� de� � Zd� ZdS )�findHTMLMeta�MetaNotFound� )�
HTMLParserN)�YADIS_HEADER_NAMEi @ c � � e Zd ZdZdS )� ParseDonez�Exception to hold the URI that was located when the parse is
finished. If the parse finishes without finding the URI, set it to
None.N��__name__�
__module__�__qualname__�__doc__� � �8/usr/lib/python3/dist-packages/openid/yadis/parsehtml.pyr r s � � � � � �
�
�
�
r r c � � e Zd ZdZdS )r z[Exception to hold the content of the page if we did not find
the appropriate <meta> tagNr r r r r r s � � � � � �"� "� "� "r zO
&
(?: \#x (?P<hex> [a-f0-9]+ )
| \# (?P<dec> \d+ )
| (?P<word> \w+ )
)
;c � � | j dk r$t | � d� � d� � }nr| j dk r#t | � d� � � � }nD| j dk sJ �t j j � | � d� � � � }|�| � � � S t |� � S )N�hex� �dec�word)� lastgroup�int�group�html�entities�name2codepoint�get�chr)�mo� codepoints r �substituteMOr! ( s� � � �|�u�����������,�,� � � ��� � ��������(�(� � ��|�v�%�%�%�%��M�0�4�4�R�X�X�f�5E�5E�F�F� ����x�x�z�z���9�~�~�r c �B � t � t | � � S �N)�ent_re�subr! )�ss r �substituteEntitiesr'