/opt/cloudlinux/venv/lib/python3.11/site-packages/lxml/html/__pycache__
NameSizeModeActions
builder.cpython-311.pyc43060644editdlrm
clean.cpython-311.pyc301400644editdlrm
defs.cpython-311.pyc37810644editdlrm
diff.cpython-311.pyc388760644editdlrm
ElementSoup.cpython-311.pyc7040644editdlrm
formfill.cpython-311.pyc145010644editdlrm
html5parser.cpython-311.pyc101880644editdlrm
soupparser.cpython-311.pyc132800644editdlrm
usedoctest.cpython-311.pyc5500644editdlrm
_diffcommand.cpython-311.pyc45610644editdlrm
_html5builder.cpython-311.pyc61320644editdlrm
_setmixin.cpython-311.pyc27840644editdlrm
__init__.cpython-311.pyc903810644editdlrm
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/lxml/html/__pycache__/html5parser.cpython-311.pyc (10188B)
§  (8ž:15Æãóž—dZddlZddlZddlmZddlmZddlm Z ddl m Z m Z m Z  eZn#e$reefZYnwxYw ddlmZn#e$r ddlmZYnwxYw ddlmZn#e$r ddlmZYnwxYwGd „d e¦«Z dd lmZGd „d e¦«Ze¦«Zn #e$rYnwxYwd„Zdd„Z dd„Z dd„Zdd„Z dd„Z!d„Z"e¦«Z#dS)z? An interface to html5lib that mimics the lxml.html interface. éN)Ú HTMLParser)Ú TreeBuilder)Úetree)ÚElementÚXHTML_NAMESPACEÚ_contains_block_level_tag)Úurlopen)Úurlparsecó—eZdZdZdd„ZdS)rz*An html5lib HTML parser with lxml as tree.Fc ó:—tj|f|tdœ|¤ŽdS©N)ÚstrictÚtree)Ú _HTMLParserÚ__init__r©ÚselfrÚkwargss úi/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib64/python3.11/site-packages/lxml/html/html5parser.pyrzHTMLParser.__init__s(€ÝÔ˜TÐM¨&µ{ÐMÐMÀfÐMÐMÐMÐMÐMóN©F©Ú__name__Ú __module__Ú __qualname__Ú__doc__r©rrrrs4€€€€€Ø4Ð4ðNðNðNðNðNðNrr)Ú XHTMLParsercó—eZdZdZdd„ZdS)rz+An html5lib XHTML Parser with lxml as tree.Fc ó:—tj|f|tdœ|¤ŽdSr )Ú _XHTMLParserrrrs rrzXHTMLParser.__init__*s(€Ý Ô ! $Ð R¨v½KÐ RÐ RÈ6Ð RÐ RÐ RÐ RÐ RrNrrrrrrr's4€€€€€Ø9Ð9ð Sð Sð Sð Sð Sð Srrcót—| |¦«}|�|S| dt›d|›�¦«S)NÚ{Ú})Úfindr)rÚtagÚelems rÚ _find_tagr(0s;€Ø �9Š9�S‰>Œ>€DØ ÐØˆ Ø �9Š9ˆ9¥  °#°#Ð6Ñ 7Ô 7Ð7rcóà—t|t¦«std¦«‚|€t}i}|€t|t¦«rd}|�||d<|j|fi|¤Ž ¦«S)zÍ Parse a whole document into a string. If `guess_charset` is true, or if the input is not Unicode but a byte string, the `chardet` library will perform charset guessing on the string. ústring requiredNTÚ useChardet)Ú isinstanceÚ_stringsÚ TypeErrorÚ html_parserÚbytesÚparseÚgetroot)ÚhtmlÚ guess_charsetÚparserÚoptionss rÚdocument_fromstringr77s†€õ �d�HÑ %Ô %ð+ÝÐ)Ñ*Ô*Ð*à €~݈à€GØÐ¥¨Dµ%Ñ!8Ô!8Ððˆ ØÐ Ø -ˆ� ÑØ ˆ6Œ<˜Ð (Ð ( Ð (Ð (× 0Ò 0Ñ 2Ô 2Ð2rFcót—t|t¦«std¦«‚|€t}i}|€t|t¦«rd}|�||d<|j|dfi|¤Ž}|rWt|dt¦«r<|r:|d ¦«rtjd|dz¦«‚|d=|S)a`Parses several HTML elements, returning a list of elements. The first item in the list may be a string. If no_leading_text is true, then it will be an error if there is leading text, and it will always be a list of only elements. If `guess_charset` is true, the `chardet` library will perform charset guessing on the string. r*NFr+ÚdivrzThere is leading text: %r) r,r-r.r/r0Ú parseFragmentÚstriprÚ ParserError)r3Úno_leading_textr4r5r6Úchildrens rÚfragments_fromstringr?Osé€õ �d�HÑ %Ô %ð+ÝÐ)Ñ*Ô*Ð*à €~݈à€GØÐ¥¨Dµ%Ñ!8Ô!8Ððˆ ØÐ Ø -ˆ� ÑØ#ˆvÔ# D¨%Ð;Ð;°7Ð;Ð;€HØð•J˜x¨œ{­HÑ5Ô5ðØ ð Ø˜Œ{× Ò Ñ"Ô"ð 5ÝÔ'Ð(CØ(0°¬ ñ)4ñ5ô5ð5à˜� Ø €Orcó|—t|t¦«std¦«‚t|¦«}t |||| ¬¦«}|rjt|t¦«sd}t |¦«}|r@t|dt¦«r|d|_|d=| |¦«|S|stj d¦«‚t|¦«dkrtj d¦«‚|d}|j r5|j   ¦«rtj d|j z¦«‚d |_ |S) aÂParses a single HTML element; it is an error if there is more than one element, or if anything but whitespace precedes or follows the element. If 'create_parent' is true (or is a tag name) then a parent node will be created to encapsulate the HTML in a single element. In this case, leading or trailing text is allowed. If `guess_charset` is true, the `chardet` library will perform charset guessing on the string. r*)r4r5r=r9rzNo elements foundézMultiple elements foundzElement followed by text: %rN) r,r-r.Úboolr?rÚtextÚextendrr<ÚlenÚtailr;)r3Ú create_parentr4r5Úaccept_leading_textÚelementsÚnew_rootÚresults rÚfragment_fromstringrLqsU€õ �d�HÑ %Ô %ð+ÝÐ)Ñ*Ô*Ð*å˜}Ñ-Ô-Ðå#Ø ˜M°&Ø/Ð/ð1ñ1ô1€Hðð ݘ-­Ñ2Ô2ð "Ø!ˆMݘ=Ñ)Ô)ˆØ ð &ݘ( 1œ+¥xÑ0Ô0ð Ø (¨¤ �” ؘQ�KØ �OŠO˜HÑ %Ô %Ð %؈à ð5ÝÔÐ 3Ñ4Ô4Ð4Ý ˆ8�}„}�qÒÐÝÔÐ 9Ñ:Ô:Ð:Ø �aŒ[€FØ „{ðN�v”{×(Ò(Ñ*Ô*ðNÝÔÐ >ÀÄÑ LÑMÔMÐMØ€F„KØ €Mrcóì—t|t¦«std¦«‚t|||¬¦«}|dd…}t|t¦«r| dd¦«}| ¦« ¦«}| d¦«s| d¦«r|St|d ¦«}t|¦«r|St|d ¦«}t|¦«d krT|j r|j   ¦«s4|d j r|d j   ¦«s|d St|¦«rd|_nd|_|S)a Parse the html, returning a single element/document. This tries to minimally parse the chunk of text, without knowing if it is a fragment or a document. 'base_url' will set the document's base_url attribute (and the tree's docinfo.URL) If `guess_charset` is true, or if the input is not Unicode but a byte string, the `chardet` library will perform charset guessing on the string. r*)r5r4Né2ÚasciiÚreplacezrus˜ðððð € € € Ø € € € à.Ð.Ð.Ð.Ð.Ð.Ø8Ð8Ð8Ð8Ð8Ð8ØÐÐÐÐÐØIÐIÐIÐIÐIÐIÐIÐIÐIÐIðØ€H€HøØðððØ�sˆ|€H€H€Hðøøøð'ØÐÐÐÐÐÐøØð'ð'ð'Ø&Ð&Ð&Ð&Ð&Ð&Ð&Ð&ð'øøøð&Ø!Ð!Ð!Ð!Ð!Ð!Ð!øØð&ð&ð&Ø%Ð%Ð%Ð%Ð%Ð%Ð%Ð%ð&øøøðNðNðNðNðN�ñNôNðNð !Ø4Ð4Ð4Ð4Ð4Ð4ðSðSðSðSðS�lñSôSðSð �;‘=”=€L€Løðð ð ð Ø€Dð øøøð8ð8ð8ð3ð3ð3ð3ð005Ø48ðððððD-2Ø37ð)ð)ð)ð)ðX3ð3ð3ð3ðl!'ð!'ð!'ð!'ðH ð ð ðˆj‰lŒl€ € € sA¨+« 7¶7»AÁ AÁAÁAÁ A)Á(A)Á;BÂB"Â!B"