opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
lxml
/
includes
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
[DIR] __pycache__
N/A
[DIR] extlibs
N/A
[DIR] libexslt
N/A
[DIR] libxml
N/A
[DIR] libxslt
N/A
__init__.pxd
0 bytes
Rename
Delete
__init__.py
0 bytes
Rename
Delete
c14n.pxd
1.08 KB
Rename
Delete
config.pxd
96 bytes
Rename
Delete
dtdvalid.pxd
689 bytes
Rename
Delete
etree_defs.h
13.91 KB
Rename
Delete
etreepublic.pxd
9.95 KB
Rename
Delete
htmlparser.pxd
2.74 KB
Rename
Delete
lxml-version.h
71 bytes
Rename
Delete
relaxng.pxd
2.55 KB
Rename
Delete
schematron.pxd
1.57 KB
Rename
Delete
tree.pxd
19.91 KB
Rename
Delete
uri.pxd
145 bytes
Rename
Delete
xinclude.pxd
804 bytes
Rename
Delete
xmlerror.pxd
56.66 KB
Rename
Delete
xmlparser.pxd
11.17 KB
Rename
Delete
xmlschema.pxd
1.66 KB
Rename
Delete
xpath.pxd
5.47 KB
Rename
Delete
xslt.pxd
8.05 KB
Rename
Delete
from libc.string cimport const_char from lxml.includes.tree cimport xmlDoc from lxml.includes.tree cimport xmlInputReadCallback, xmlInputCloseCallback from lxml.includes.xmlparser cimport xmlParserCtxt, xmlSAXHandler, xmlSAXHandlerV1 cdef extern from "libxml/HTMLparser.h" nogil: ctypedef enum htmlParserOption: HTML_PARSE_NOERROR # suppress error reports HTML_PARSE_NOWARNING # suppress warning reports HTML_PARSE_PEDANTIC # pedantic error reporting HTML_PARSE_NOBLANKS # remove blank nodes HTML_PARSE_NONET # Forbid network access # libxml2 2.6.21+ only: HTML_PARSE_RECOVER # Relaxed parsing HTML_PARSE_COMPACT # compact small text nodes # libxml2 2.7.7+ only: HTML_PARSE_NOIMPLIED # Do not add implied html/body... elements # libxml2 2.7.8+ only: HTML_PARSE_NODEFDTD # do not default a doctype if not found # libxml2 2.8.0+ only: XML_PARSE_IGNORE_ENC # ignore internal document encoding hint xmlSAXHandlerV1 htmlDefaultSAXHandler cdef xmlParserCtxt* htmlCreateMemoryParserCtxt( char* buffer, int size) cdef xmlParserCtxt* htmlCreateFileParserCtxt( char* filename, char* encoding) cdef xmlParserCtxt* htmlCreatePushParserCtxt(xmlSAXHandler* sax, void* user_data, char* chunk, int size, char* filename, int enc) cdef void htmlFreeParserCtxt(xmlParserCtxt* ctxt) cdef void htmlCtxtReset(xmlParserCtxt* ctxt) cdef int htmlCtxtUseOptions(xmlParserCtxt* ctxt, int options) cdef int htmlParseDocument(xmlParserCtxt* ctxt) cdef int htmlParseChunk(xmlParserCtxt* ctxt, char* chunk, int size, int terminate) cdef xmlDoc* htmlCtxtReadFile(xmlParserCtxt* ctxt, char* filename, const_char* encoding, int options) cdef xmlDoc* htmlCtxtReadDoc(xmlParserCtxt* ctxt, char* buffer, char* URL, const_char* encoding, int options) cdef xmlDoc* htmlCtxtReadIO(xmlParserCtxt* ctxt, xmlInputReadCallback ioread, xmlInputCloseCallback ioclose, void* ioctx, char* URL, const_char* encoding, int options) cdef xmlDoc* htmlCtxtReadMemory(xmlParserCtxt* ctxt, char* buffer, int size, char* filename, const_char* encoding, int options)
Save