|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /proc/self/root/opt/alt/python37/lib/python3.7/site-packages/bs4/__pycache__/ |
Upload File : |
B
D.�`�t � @ s
d Z dZddlZddlmZ ddlZddlZddlZdZyddl Z dd� Z
W nF ek
r� yddlZdd� Z
W n ek
r� dd� Z
Y nX Y nX yddl
Z
W n ek
r� Y nX e�d �� ej�Ze�d
�� ej�ZG dd� de�ZG d
d� d�ZG dd� d�ZdS )aB Beautiful Soup bonus library: Unicode, Dammit
This library converts a bytestream to Unicode through any means
necessary. It is heavily based on code from Mark Pilgrim's Universal
Feed Parser. It works best on XML and HTML, but it does not rewrite the
XML or HTML to reflect a new encoding; that's the tree builder's job.
ZMIT� N)�codepoint2namec C s t �| �d S )N�encoding)�cchardet�detect)�s� r �;/opt/alt/python37/lib/python3.7/site-packages/bs4/dammit.py�chardet_dammit s r c C s t �| �d S )Nr )�chardetr )r r r r r ! s c C s d S )Nr )r r r r r '