selectolax 0.3.26__cp310-cp310-win32.whl → 0.3.27__cp310-cp310-win32.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of selectolax might be problematic. Click here for more details.
- selectolax/__init__.py +1 -1
- selectolax/lexbor.c +14 -14
- selectolax/lexbor.cp310-win32.pyd +0 -0
- selectolax/parser.c +14 -14
- selectolax/parser.cp310-win32.pyd +0 -0
- selectolax/utils.pxi +1 -1
- {selectolax-0.3.26.dist-info → selectolax-0.3.27.dist-info}/METADATA +1 -1
- {selectolax-0.3.26.dist-info → selectolax-0.3.27.dist-info}/RECORD +11 -11
- {selectolax-0.3.26.dist-info → selectolax-0.3.27.dist-info}/WHEEL +1 -1
- {selectolax-0.3.26.dist-info → selectolax-0.3.27.dist-info}/LICENSE +0 -0
- {selectolax-0.3.26.dist-info → selectolax-0.3.27.dist-info}/top_level.txt +0 -0
selectolax/__init__.py
CHANGED
selectolax/lexbor.c
CHANGED
|
@@ -3489,7 +3489,6 @@ static const char __pyx_k_AssertionError[] = "AssertionError";
|
|
|
3489
3489
|
static const char __pyx_k_LexborNode_css[] = "LexborNode.css";
|
|
3490
3490
|
static const char __pyx_k_LexborSelector[] = "LexborSelector";
|
|
3491
3491
|
static const char __pyx_k_fused_sigindex[] = "_fused_sigindex";
|
|
3492
|
-
static const char __pyx_k_html_body_head[] = "<html|<body|<head";
|
|
3493
3492
|
static const char __pyx_k_parse_fragment[] = "parse_fragment";
|
|
3494
3493
|
static const char __pyx_k_LexborNode_iter[] = "LexborNode.iter";
|
|
3495
3494
|
static const char __pyx_k_LexborNode_text[] = "LexborNode.text";
|
|
@@ -3513,6 +3512,7 @@ static const char __pyx_k_LexborNode_unwrap[] = "LexborNode.unwrap";
|
|
|
3513
3512
|
static const char __pyx_k_any_text_contains[] = "any_text_contains";
|
|
3514
3513
|
static const char __pyx_k_do_parse_fragment[] = "do_parse_fragment";
|
|
3515
3514
|
static const char __pyx_k_get_fragment_type[] = "get_fragment_type";
|
|
3515
|
+
static const char __pyx_k_html_body_head_er[] = "<html|<body|<head(?!er)";
|
|
3516
3516
|
static const char __pyx_k_selectolax_lexbor[] = "selectolax.lexbor";
|
|
3517
3517
|
static const char __pyx_k_Can_t_extract_text[] = "Can't extract text";
|
|
3518
3518
|
static const char __pyx_k_LexborSelector_css[] = "LexborSelector.css";
|
|
@@ -4155,7 +4155,7 @@ typedef struct {
|
|
|
4155
4155
|
PyObject *__pyx_n_u_head_and_body;
|
|
4156
4156
|
PyObject *__pyx_n_s_html;
|
|
4157
4157
|
PyObject *__pyx_kp_u_html_2;
|
|
4158
|
-
PyObject *
|
|
4158
|
+
PyObject *__pyx_kp_u_html_body_head_er;
|
|
4159
4159
|
PyObject *__pyx_n_s_html_len;
|
|
4160
4160
|
PyObject *__pyx_n_s_html_re;
|
|
4161
4161
|
PyObject *__pyx_n_s_i;
|
|
@@ -4719,7 +4719,7 @@ static int __pyx_m_clear(PyObject *m) {
|
|
|
4719
4719
|
Py_CLEAR(clear_module_state->__pyx_n_u_head_and_body);
|
|
4720
4720
|
Py_CLEAR(clear_module_state->__pyx_n_s_html);
|
|
4721
4721
|
Py_CLEAR(clear_module_state->__pyx_kp_u_html_2);
|
|
4722
|
-
Py_CLEAR(clear_module_state->
|
|
4722
|
+
Py_CLEAR(clear_module_state->__pyx_kp_u_html_body_head_er);
|
|
4723
4723
|
Py_CLEAR(clear_module_state->__pyx_n_s_html_len);
|
|
4724
4724
|
Py_CLEAR(clear_module_state->__pyx_n_s_html_re);
|
|
4725
4725
|
Py_CLEAR(clear_module_state->__pyx_n_s_i);
|
|
@@ -5261,7 +5261,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
|
|
|
5261
5261
|
Py_VISIT(traverse_module_state->__pyx_n_u_head_and_body);
|
|
5262
5262
|
Py_VISIT(traverse_module_state->__pyx_n_s_html);
|
|
5263
5263
|
Py_VISIT(traverse_module_state->__pyx_kp_u_html_2);
|
|
5264
|
-
Py_VISIT(traverse_module_state->
|
|
5264
|
+
Py_VISIT(traverse_module_state->__pyx_kp_u_html_body_head_er);
|
|
5265
5265
|
Py_VISIT(traverse_module_state->__pyx_n_s_html_len);
|
|
5266
5266
|
Py_VISIT(traverse_module_state->__pyx_n_s_html_re);
|
|
5267
5267
|
Py_VISIT(traverse_module_state->__pyx_n_s_i);
|
|
@@ -5903,7 +5903,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
|
|
|
5903
5903
|
#define __pyx_n_u_head_and_body __pyx_mstate_global->__pyx_n_u_head_and_body
|
|
5904
5904
|
#define __pyx_n_s_html __pyx_mstate_global->__pyx_n_s_html
|
|
5905
5905
|
#define __pyx_kp_u_html_2 __pyx_mstate_global->__pyx_kp_u_html_2
|
|
5906
|
-
#define
|
|
5906
|
+
#define __pyx_kp_u_html_body_head_er __pyx_mstate_global->__pyx_kp_u_html_body_head_er
|
|
5907
5907
|
#define __pyx_n_s_html_len __pyx_mstate_global->__pyx_n_s_html_len
|
|
5908
5908
|
#define __pyx_n_s_html_re __pyx_mstate_global->__pyx_n_s_html_re
|
|
5909
5909
|
#define __pyx_n_s_i __pyx_mstate_global->__pyx_n_s_i
|
|
@@ -7293,7 +7293,7 @@ static PyObject *__pyx_pf_10selectolax_6lexbor_4get_fragment_type(CYTHON_UNUSED
|
|
|
7293
7293
|
* tree = parser_cls(html)
|
|
7294
7294
|
*
|
|
7295
7295
|
* import re # <<<<<<<<<<<<<<
|
|
7296
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE)
|
|
7296
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE)
|
|
7297
7297
|
*
|
|
7298
7298
|
*/
|
|
7299
7299
|
__pyx_t_3 = __Pyx_ImportDottedModule(__pyx_n_s_re, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 36, __pyx_L1_error)
|
|
@@ -7304,7 +7304,7 @@ static PyObject *__pyx_pf_10selectolax_6lexbor_4get_fragment_type(CYTHON_UNUSED
|
|
|
7304
7304
|
/* "selectolax/utils.pxi":37
|
|
7305
7305
|
*
|
|
7306
7306
|
* import re
|
|
7307
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE) # <<<<<<<<<<<<<<
|
|
7307
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE) # <<<<<<<<<<<<<<
|
|
7308
7308
|
*
|
|
7309
7309
|
* has_html = False
|
|
7310
7310
|
*/
|
|
@@ -7327,7 +7327,7 @@ static PyObject *__pyx_pf_10selectolax_6lexbor_4get_fragment_type(CYTHON_UNUSED
|
|
|
7327
7327
|
}
|
|
7328
7328
|
#endif
|
|
7329
7329
|
{
|
|
7330
|
-
PyObject *__pyx_callargs[3] = {__pyx_t_7,
|
|
7330
|
+
PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_kp_u_html_body_head_er, __pyx_t_5};
|
|
7331
7331
|
__pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_6, 2+__pyx_t_6);
|
|
7332
7332
|
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
7333
7333
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
@@ -7339,7 +7339,7 @@ static PyObject *__pyx_pf_10selectolax_6lexbor_4get_fragment_type(CYTHON_UNUSED
|
|
|
7339
7339
|
__pyx_t_3 = 0;
|
|
7340
7340
|
|
|
7341
7341
|
/* "selectolax/utils.pxi":39
|
|
7342
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE)
|
|
7342
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE)
|
|
7343
7343
|
*
|
|
7344
7344
|
* has_html = False # <<<<<<<<<<<<<<
|
|
7345
7345
|
* has_head = False
|
|
@@ -33914,7 +33914,7 @@ static PyObject *__pyx_pf_10selectolax_6lexbor_12get_fragment_type(CYTHON_UNUSED
|
|
|
33914
33914
|
* tree = parser_cls(html)
|
|
33915
33915
|
*
|
|
33916
33916
|
* import re # <<<<<<<<<<<<<<
|
|
33917
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE)
|
|
33917
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE)
|
|
33918
33918
|
*
|
|
33919
33919
|
*/
|
|
33920
33920
|
__pyx_t_3 = __Pyx_ImportDottedModule(__pyx_n_s_re, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(8, 36, __pyx_L1_error)
|
|
@@ -33925,7 +33925,7 @@ static PyObject *__pyx_pf_10selectolax_6lexbor_12get_fragment_type(CYTHON_UNUSED
|
|
|
33925
33925
|
/* "selectolax/utils.pxi":37
|
|
33926
33926
|
*
|
|
33927
33927
|
* import re
|
|
33928
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE) # <<<<<<<<<<<<<<
|
|
33928
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE) # <<<<<<<<<<<<<<
|
|
33929
33929
|
*
|
|
33930
33930
|
* has_html = False
|
|
33931
33931
|
*/
|
|
@@ -33948,7 +33948,7 @@ static PyObject *__pyx_pf_10selectolax_6lexbor_12get_fragment_type(CYTHON_UNUSED
|
|
|
33948
33948
|
}
|
|
33949
33949
|
#endif
|
|
33950
33950
|
{
|
|
33951
|
-
PyObject *__pyx_callargs[3] = {__pyx_t_7,
|
|
33951
|
+
PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_kp_u_html_body_head_er, __pyx_t_5};
|
|
33952
33952
|
__pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_6, 2+__pyx_t_6);
|
|
33953
33953
|
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
33954
33954
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
@@ -33960,7 +33960,7 @@ static PyObject *__pyx_pf_10selectolax_6lexbor_12get_fragment_type(CYTHON_UNUSED
|
|
|
33960
33960
|
__pyx_t_3 = 0;
|
|
33961
33961
|
|
|
33962
33962
|
/* "selectolax/utils.pxi":39
|
|
33963
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE)
|
|
33963
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE)
|
|
33964
33964
|
*
|
|
33965
33965
|
* has_html = False # <<<<<<<<<<<<<<
|
|
33966
33966
|
* has_head = False
|
|
@@ -43674,7 +43674,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
|
|
|
43674
43674
|
{&__pyx_n_u_head_and_body, __pyx_k_head_and_body, sizeof(__pyx_k_head_and_body), 0, 1, 0, 1},
|
|
43675
43675
|
{&__pyx_n_s_html, __pyx_k_html, sizeof(__pyx_k_html), 0, 0, 1, 1},
|
|
43676
43676
|
{&__pyx_kp_u_html_2, __pyx_k_html_2, sizeof(__pyx_k_html_2), 0, 1, 0, 0},
|
|
43677
|
-
{&
|
|
43677
|
+
{&__pyx_kp_u_html_body_head_er, __pyx_k_html_body_head_er, sizeof(__pyx_k_html_body_head_er), 0, 1, 0, 0},
|
|
43678
43678
|
{&__pyx_n_s_html_len, __pyx_k_html_len, sizeof(__pyx_k_html_len), 0, 0, 1, 1},
|
|
43679
43679
|
{&__pyx_n_s_html_re, __pyx_k_html_re, sizeof(__pyx_k_html_re), 0, 0, 1, 1},
|
|
43680
43680
|
{&__pyx_n_s_i, __pyx_k_i, sizeof(__pyx_k_i), 0, 0, 1, 1},
|
|
Binary file
|
selectolax/parser.c
CHANGED
|
@@ -3476,7 +3476,6 @@ static const char __pyx_k_HTMLParser_css[] = "HTMLParser.css";
|
|
|
3476
3476
|
static const char __pyx_k_Node_css_first[] = "Node.css_first";
|
|
3477
3477
|
static const char __pyx_k_Node_decompose[] = "Node.decompose";
|
|
3478
3478
|
static const char __pyx_k_fused_sigindex[] = "_fused_sigindex";
|
|
3479
|
-
static const char __pyx_k_html_body_head[] = "<html|<body|<head";
|
|
3480
3479
|
static const char __pyx_k_parse_fragment[] = "parse_fragment";
|
|
3481
3480
|
static const char __pyx_k_Attributes_keys[] = "_Attributes.keys";
|
|
3482
3481
|
static const char __pyx_k_Attributes_sget[] = "_Attributes.sget";
|
|
@@ -3507,6 +3506,7 @@ static const char __pyx_k_Node_replace_with[] = "Node.replace_with";
|
|
|
3507
3506
|
static const char __pyx_k_any_text_contains[] = "any_text_contains";
|
|
3508
3507
|
static const char __pyx_k_do_parse_fragment[] = "do_parse_fragment";
|
|
3509
3508
|
static const char __pyx_k_get_fragment_type[] = "get_fragment_type";
|
|
3509
|
+
static const char __pyx_k_html_body_head_er[] = "<html|<body|<head(?!er)";
|
|
3510
3510
|
static const char __pyx_k_selectolax_parser[] = "selectolax.parser";
|
|
3511
3511
|
static const char __pyx_k_Can_t_parse_HTML_s[] = "Can't parse HTML:\n%s";
|
|
3512
3512
|
static const char __pyx_k_HTMLParser_chars_s[] = "<HTMLParser chars=%s>";
|
|
@@ -4113,7 +4113,7 @@ typedef struct {
|
|
|
4113
4113
|
PyObject *__pyx_n_u_head_and_body;
|
|
4114
4114
|
PyObject *__pyx_n_s_html;
|
|
4115
4115
|
PyObject *__pyx_kp_u_html_2;
|
|
4116
|
-
PyObject *
|
|
4116
|
+
PyObject *__pyx_kp_u_html_body_head_er;
|
|
4117
4117
|
PyObject *__pyx_n_s_html_len;
|
|
4118
4118
|
PyObject *__pyx_n_s_html_re;
|
|
4119
4119
|
PyObject *__pyx_n_s_html_tree;
|
|
@@ -4657,7 +4657,7 @@ static int __pyx_m_clear(PyObject *m) {
|
|
|
4657
4657
|
Py_CLEAR(clear_module_state->__pyx_n_u_head_and_body);
|
|
4658
4658
|
Py_CLEAR(clear_module_state->__pyx_n_s_html);
|
|
4659
4659
|
Py_CLEAR(clear_module_state->__pyx_kp_u_html_2);
|
|
4660
|
-
Py_CLEAR(clear_module_state->
|
|
4660
|
+
Py_CLEAR(clear_module_state->__pyx_kp_u_html_body_head_er);
|
|
4661
4661
|
Py_CLEAR(clear_module_state->__pyx_n_s_html_len);
|
|
4662
4662
|
Py_CLEAR(clear_module_state->__pyx_n_s_html_re);
|
|
4663
4663
|
Py_CLEAR(clear_module_state->__pyx_n_s_html_tree);
|
|
@@ -5179,7 +5179,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
|
|
|
5179
5179
|
Py_VISIT(traverse_module_state->__pyx_n_u_head_and_body);
|
|
5180
5180
|
Py_VISIT(traverse_module_state->__pyx_n_s_html);
|
|
5181
5181
|
Py_VISIT(traverse_module_state->__pyx_kp_u_html_2);
|
|
5182
|
-
Py_VISIT(traverse_module_state->
|
|
5182
|
+
Py_VISIT(traverse_module_state->__pyx_kp_u_html_body_head_er);
|
|
5183
5183
|
Py_VISIT(traverse_module_state->__pyx_n_s_html_len);
|
|
5184
5184
|
Py_VISIT(traverse_module_state->__pyx_n_s_html_re);
|
|
5185
5185
|
Py_VISIT(traverse_module_state->__pyx_n_s_html_tree);
|
|
@@ -5801,7 +5801,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
|
|
|
5801
5801
|
#define __pyx_n_u_head_and_body __pyx_mstate_global->__pyx_n_u_head_and_body
|
|
5802
5802
|
#define __pyx_n_s_html __pyx_mstate_global->__pyx_n_s_html
|
|
5803
5803
|
#define __pyx_kp_u_html_2 __pyx_mstate_global->__pyx_kp_u_html_2
|
|
5804
|
-
#define
|
|
5804
|
+
#define __pyx_kp_u_html_body_head_er __pyx_mstate_global->__pyx_kp_u_html_body_head_er
|
|
5805
5805
|
#define __pyx_n_s_html_len __pyx_mstate_global->__pyx_n_s_html_len
|
|
5806
5806
|
#define __pyx_n_s_html_re __pyx_mstate_global->__pyx_n_s_html_re
|
|
5807
5807
|
#define __pyx_n_s_html_tree __pyx_mstate_global->__pyx_n_s_html_tree
|
|
@@ -29011,7 +29011,7 @@ static PyObject *__pyx_pf_10selectolax_6parser_4get_fragment_type(CYTHON_UNUSED
|
|
|
29011
29011
|
* tree = parser_cls(html)
|
|
29012
29012
|
*
|
|
29013
29013
|
* import re # <<<<<<<<<<<<<<
|
|
29014
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE)
|
|
29014
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE)
|
|
29015
29015
|
*
|
|
29016
29016
|
*/
|
|
29017
29017
|
__pyx_t_3 = __Pyx_ImportDottedModule(__pyx_n_s_re, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(5, 36, __pyx_L1_error)
|
|
@@ -29022,7 +29022,7 @@ static PyObject *__pyx_pf_10selectolax_6parser_4get_fragment_type(CYTHON_UNUSED
|
|
|
29022
29022
|
/* "selectolax/utils.pxi":37
|
|
29023
29023
|
*
|
|
29024
29024
|
* import re
|
|
29025
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE) # <<<<<<<<<<<<<<
|
|
29025
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE) # <<<<<<<<<<<<<<
|
|
29026
29026
|
*
|
|
29027
29027
|
* has_html = False
|
|
29028
29028
|
*/
|
|
@@ -29045,7 +29045,7 @@ static PyObject *__pyx_pf_10selectolax_6parser_4get_fragment_type(CYTHON_UNUSED
|
|
|
29045
29045
|
}
|
|
29046
29046
|
#endif
|
|
29047
29047
|
{
|
|
29048
|
-
PyObject *__pyx_callargs[3] = {__pyx_t_7,
|
|
29048
|
+
PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_kp_u_html_body_head_er, __pyx_t_5};
|
|
29049
29049
|
__pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_6, 2+__pyx_t_6);
|
|
29050
29050
|
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
29051
29051
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
@@ -29057,7 +29057,7 @@ static PyObject *__pyx_pf_10selectolax_6parser_4get_fragment_type(CYTHON_UNUSED
|
|
|
29057
29057
|
__pyx_t_3 = 0;
|
|
29058
29058
|
|
|
29059
29059
|
/* "selectolax/utils.pxi":39
|
|
29060
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE)
|
|
29060
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE)
|
|
29061
29061
|
*
|
|
29062
29062
|
* has_html = False # <<<<<<<<<<<<<<
|
|
29063
29063
|
* has_head = False
|
|
@@ -31530,7 +31530,7 @@ static PyObject *__pyx_pf_10selectolax_6parser_16get_fragment_type(CYTHON_UNUSED
|
|
|
31530
31530
|
* tree = parser_cls(html)
|
|
31531
31531
|
*
|
|
31532
31532
|
* import re # <<<<<<<<<<<<<<
|
|
31533
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE)
|
|
31533
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE)
|
|
31534
31534
|
*
|
|
31535
31535
|
*/
|
|
31536
31536
|
__pyx_t_3 = __Pyx_ImportDottedModule(__pyx_n_s_re, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(7, 36, __pyx_L1_error)
|
|
@@ -31541,7 +31541,7 @@ static PyObject *__pyx_pf_10selectolax_6parser_16get_fragment_type(CYTHON_UNUSED
|
|
|
31541
31541
|
/* "selectolax/utils.pxi":37
|
|
31542
31542
|
*
|
|
31543
31543
|
* import re
|
|
31544
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE) # <<<<<<<<<<<<<<
|
|
31544
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE) # <<<<<<<<<<<<<<
|
|
31545
31545
|
*
|
|
31546
31546
|
* has_html = False
|
|
31547
31547
|
*/
|
|
@@ -31564,7 +31564,7 @@ static PyObject *__pyx_pf_10selectolax_6parser_16get_fragment_type(CYTHON_UNUSED
|
|
|
31564
31564
|
}
|
|
31565
31565
|
#endif
|
|
31566
31566
|
{
|
|
31567
|
-
PyObject *__pyx_callargs[3] = {__pyx_t_7,
|
|
31567
|
+
PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_kp_u_html_body_head_er, __pyx_t_5};
|
|
31568
31568
|
__pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_6, 2+__pyx_t_6);
|
|
31569
31569
|
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
31570
31570
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
@@ -31576,7 +31576,7 @@ static PyObject *__pyx_pf_10selectolax_6parser_16get_fragment_type(CYTHON_UNUSED
|
|
|
31576
31576
|
__pyx_t_3 = 0;
|
|
31577
31577
|
|
|
31578
31578
|
/* "selectolax/utils.pxi":39
|
|
31579
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE)
|
|
31579
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE)
|
|
31580
31580
|
*
|
|
31581
31581
|
* has_html = False # <<<<<<<<<<<<<<
|
|
31582
31582
|
* has_head = False
|
|
@@ -41210,7 +41210,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
|
|
|
41210
41210
|
{&__pyx_n_u_head_and_body, __pyx_k_head_and_body, sizeof(__pyx_k_head_and_body), 0, 1, 0, 1},
|
|
41211
41211
|
{&__pyx_n_s_html, __pyx_k_html, sizeof(__pyx_k_html), 0, 0, 1, 1},
|
|
41212
41212
|
{&__pyx_kp_u_html_2, __pyx_k_html_2, sizeof(__pyx_k_html_2), 0, 1, 0, 0},
|
|
41213
|
-
{&
|
|
41213
|
+
{&__pyx_kp_u_html_body_head_er, __pyx_k_html_body_head_er, sizeof(__pyx_k_html_body_head_er), 0, 1, 0, 0},
|
|
41214
41214
|
{&__pyx_n_s_html_len, __pyx_k_html_len, sizeof(__pyx_k_html_len), 0, 0, 1, 1},
|
|
41215
41215
|
{&__pyx_n_s_html_re, __pyx_k_html_re, sizeof(__pyx_k_html_re), 0, 0, 1, 1},
|
|
41216
41216
|
{&__pyx_n_s_html_tree, __pyx_k_html_tree, sizeof(__pyx_k_html_tree), 0, 0, 1, 1},
|
|
Binary file
|
selectolax/utils.pxi
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
selectolax/__init__.py,sha256=
|
|
1
|
+
selectolax/__init__.py,sha256=H6D0G54OTy7vXxMudUXEbzIw-3rU9JcnyuRxJEv1L18,185
|
|
2
2
|
selectolax/base.pxi,sha256=zOj3BrCA71xd-mJFtkMIAglP4ZybfrHVoCoy6ljTBDQ,93
|
|
3
|
-
selectolax/lexbor.c,sha256=
|
|
4
|
-
selectolax/lexbor.cp310-win32.pyd,sha256=
|
|
3
|
+
selectolax/lexbor.c,sha256=uXyEWGEy7YzKjk2IR48gYbrYKZeKKHPez854gjvsRRg,2354397
|
|
4
|
+
selectolax/lexbor.cp310-win32.pyd,sha256=yPi-82ZPVQgZy8jp39T_uoJd0gzoe4kdK81yR2lBwac,4544512
|
|
5
5
|
selectolax/lexbor.pxd,sha256=1d9nvZd9rZl27gwPwVV5BlbR2LAi6jDK69Xm9Guz5Kk,21538
|
|
6
6
|
selectolax/lexbor.pyi,sha256=DXQejzmWT7FbWCXcakLzOYGEs-rOMMdaLIZaNSu2uiM,6716
|
|
7
7
|
selectolax/lexbor.pyx,sha256=H3-Y78orz2Hop0Qqf8JulJo6f3yBR0kbHRqNPyDOsAc,11097
|
|
8
|
-
selectolax/parser.c,sha256=
|
|
9
|
-
selectolax/parser.cp310-win32.pyd,sha256=
|
|
8
|
+
selectolax/parser.c,sha256=rGXXnE3kJJDElEps9cQMYaIfXCCxVpDk5ELR-RQF5nk,2215098
|
|
9
|
+
selectolax/parser.cp310-win32.pyd,sha256=gvTjI70NOq3JCm9r8jRb6KWMASvz13531urlCkV2FVc,1483776
|
|
10
10
|
selectolax/parser.pxd,sha256=4pM_CcZlvJlaR8EMjZCnSmnCcJbwcYOldRTBEbfwm48,25145
|
|
11
11
|
selectolax/parser.pyi,sha256=Ud_hBY54PJEVJX6WZ07L7s0uzs3u1FLD7TAGhES1y7Q,11887
|
|
12
12
|
selectolax/parser.pyx,sha256=lQW4qJ6nCDraCupvcT61zUkgo-S-KIzl9JIGV6hh6hA,13386
|
|
13
13
|
selectolax/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
|
-
selectolax/utils.pxi,sha256=
|
|
14
|
+
selectolax/utils.pxi,sha256=4rtdRcLWuemxN1qe7Eul5jvAmHZ65r7Gvf67_Wg8Bt4,3566
|
|
15
15
|
selectolax/lexbor/attrs.pxi,sha256=TEJUCGAkFwb14Emecyx4yljKSJMRmFbq8mOcNs35G_c,3204
|
|
16
16
|
selectolax/lexbor/node.pxi,sha256=P-KXzAk6fOo8ilEKAm0yjFQa90xkAXhWhSdce-YDauo,30213
|
|
17
17
|
selectolax/lexbor/selection.pxi,sha256=nRGiDYvpSAQcsWQ_2Z9-4kqebahIJmKWXQBtd3MPsis,6626
|
|
@@ -19,8 +19,8 @@ selectolax/lexbor/util.pxi,sha256=0I4ElWIwXxrZCfMmGCtyDU127oMsPCqC3IcUk4QmMAc,58
|
|
|
19
19
|
selectolax/modest/node.pxi,sha256=xDJTFhcvkF7FGSObnCftZJSIBj7wV1--IdLJbFoIItw,33519
|
|
20
20
|
selectolax/modest/selection.pxi,sha256=0elY7JwnpPVaw0QZE1T7A78s9FIph5uWIhwy4sEXGU8,6586
|
|
21
21
|
selectolax/modest/util.pxi,sha256=o2nPGGGtRlLqOCa7yPk94CfBzNlVr7ull7osFy6NRX4,570
|
|
22
|
-
selectolax-0.3.
|
|
23
|
-
selectolax-0.3.
|
|
24
|
-
selectolax-0.3.
|
|
25
|
-
selectolax-0.3.
|
|
26
|
-
selectolax-0.3.
|
|
22
|
+
selectolax-0.3.27.dist-info/LICENSE,sha256=Gy4WGsmAwV9QtqH0HaBHJQ35bt_0irn77fIt1iBncUo,1087
|
|
23
|
+
selectolax-0.3.27.dist-info/METADATA,sha256=g5nfZhPsJ3nCoIEH4W-fnujzcB2-SchMCeC0U1oPSXw,6105
|
|
24
|
+
selectolax-0.3.27.dist-info/WHEEL,sha256=IJJUxdZyjrGcLR3XjvKOCbzRR0h6oB7KSRhSaDzEI7U,97
|
|
25
|
+
selectolax-0.3.27.dist-info/top_level.txt,sha256=e5MuEM2PrQzoDlWetkFli9uXSlxa_ktW5jJEihhaI1c,11
|
|
26
|
+
selectolax-0.3.27.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|