selectolax 0.3.26__cp39-cp39-macosx_10_9_x86_64.whl → 0.3.27__cp39-cp39-macosx_10_9_x86_64.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.cpython-39-darwin.so +0 -0
- selectolax/parser.c +14 -14
- selectolax/parser.cpython-39-darwin.so +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
|
@@ -3494,7 +3494,6 @@ static const char __pyx_k_AssertionError[] = "AssertionError";
|
|
|
3494
3494
|
static const char __pyx_k_LexborNode_css[] = "LexborNode.css";
|
|
3495
3495
|
static const char __pyx_k_LexborSelector[] = "LexborSelector";
|
|
3496
3496
|
static const char __pyx_k_fused_sigindex[] = "_fused_sigindex";
|
|
3497
|
-
static const char __pyx_k_html_body_head[] = "<html|<body|<head";
|
|
3498
3497
|
static const char __pyx_k_parse_fragment[] = "parse_fragment";
|
|
3499
3498
|
static const char __pyx_k_LexborNode_iter[] = "LexborNode.iter";
|
|
3500
3499
|
static const char __pyx_k_LexborNode_text[] = "LexborNode.text";
|
|
@@ -3518,6 +3517,7 @@ static const char __pyx_k_LexborNode_unwrap[] = "LexborNode.unwrap";
|
|
|
3518
3517
|
static const char __pyx_k_any_text_contains[] = "any_text_contains";
|
|
3519
3518
|
static const char __pyx_k_do_parse_fragment[] = "do_parse_fragment";
|
|
3520
3519
|
static const char __pyx_k_get_fragment_type[] = "get_fragment_type";
|
|
3520
|
+
static const char __pyx_k_html_body_head_er[] = "<html|<body|<head(?!er)";
|
|
3521
3521
|
static const char __pyx_k_selectolax_lexbor[] = "selectolax.lexbor";
|
|
3522
3522
|
static const char __pyx_k_Can_t_extract_text[] = "Can't extract text";
|
|
3523
3523
|
static const char __pyx_k_LexborSelector_css[] = "LexborSelector.css";
|
|
@@ -4160,7 +4160,7 @@ typedef struct {
|
|
|
4160
4160
|
PyObject *__pyx_n_u_head_and_body;
|
|
4161
4161
|
PyObject *__pyx_n_s_html;
|
|
4162
4162
|
PyObject *__pyx_kp_u_html_2;
|
|
4163
|
-
PyObject *
|
|
4163
|
+
PyObject *__pyx_kp_u_html_body_head_er;
|
|
4164
4164
|
PyObject *__pyx_n_s_html_len;
|
|
4165
4165
|
PyObject *__pyx_n_s_html_re;
|
|
4166
4166
|
PyObject *__pyx_n_s_i;
|
|
@@ -4724,7 +4724,7 @@ static int __pyx_m_clear(PyObject *m) {
|
|
|
4724
4724
|
Py_CLEAR(clear_module_state->__pyx_n_u_head_and_body);
|
|
4725
4725
|
Py_CLEAR(clear_module_state->__pyx_n_s_html);
|
|
4726
4726
|
Py_CLEAR(clear_module_state->__pyx_kp_u_html_2);
|
|
4727
|
-
Py_CLEAR(clear_module_state->
|
|
4727
|
+
Py_CLEAR(clear_module_state->__pyx_kp_u_html_body_head_er);
|
|
4728
4728
|
Py_CLEAR(clear_module_state->__pyx_n_s_html_len);
|
|
4729
4729
|
Py_CLEAR(clear_module_state->__pyx_n_s_html_re);
|
|
4730
4730
|
Py_CLEAR(clear_module_state->__pyx_n_s_i);
|
|
@@ -5266,7 +5266,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
|
|
|
5266
5266
|
Py_VISIT(traverse_module_state->__pyx_n_u_head_and_body);
|
|
5267
5267
|
Py_VISIT(traverse_module_state->__pyx_n_s_html);
|
|
5268
5268
|
Py_VISIT(traverse_module_state->__pyx_kp_u_html_2);
|
|
5269
|
-
Py_VISIT(traverse_module_state->
|
|
5269
|
+
Py_VISIT(traverse_module_state->__pyx_kp_u_html_body_head_er);
|
|
5270
5270
|
Py_VISIT(traverse_module_state->__pyx_n_s_html_len);
|
|
5271
5271
|
Py_VISIT(traverse_module_state->__pyx_n_s_html_re);
|
|
5272
5272
|
Py_VISIT(traverse_module_state->__pyx_n_s_i);
|
|
@@ -5908,7 +5908,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
|
|
|
5908
5908
|
#define __pyx_n_u_head_and_body __pyx_mstate_global->__pyx_n_u_head_and_body
|
|
5909
5909
|
#define __pyx_n_s_html __pyx_mstate_global->__pyx_n_s_html
|
|
5910
5910
|
#define __pyx_kp_u_html_2 __pyx_mstate_global->__pyx_kp_u_html_2
|
|
5911
|
-
#define
|
|
5911
|
+
#define __pyx_kp_u_html_body_head_er __pyx_mstate_global->__pyx_kp_u_html_body_head_er
|
|
5912
5912
|
#define __pyx_n_s_html_len __pyx_mstate_global->__pyx_n_s_html_len
|
|
5913
5913
|
#define __pyx_n_s_html_re __pyx_mstate_global->__pyx_n_s_html_re
|
|
5914
5914
|
#define __pyx_n_s_i __pyx_mstate_global->__pyx_n_s_i
|
|
@@ -7298,7 +7298,7 @@ static PyObject *__pyx_pf_10selectolax_6lexbor_4get_fragment_type(CYTHON_UNUSED
|
|
|
7298
7298
|
* tree = parser_cls(html)
|
|
7299
7299
|
*
|
|
7300
7300
|
* import re # <<<<<<<<<<<<<<
|
|
7301
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE)
|
|
7301
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE)
|
|
7302
7302
|
*
|
|
7303
7303
|
*/
|
|
7304
7304
|
__pyx_t_3 = __Pyx_ImportDottedModule(__pyx_n_s_re, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 36, __pyx_L1_error)
|
|
@@ -7309,7 +7309,7 @@ static PyObject *__pyx_pf_10selectolax_6lexbor_4get_fragment_type(CYTHON_UNUSED
|
|
|
7309
7309
|
/* "selectolax/utils.pxi":37
|
|
7310
7310
|
*
|
|
7311
7311
|
* import re
|
|
7312
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE) # <<<<<<<<<<<<<<
|
|
7312
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE) # <<<<<<<<<<<<<<
|
|
7313
7313
|
*
|
|
7314
7314
|
* has_html = False
|
|
7315
7315
|
*/
|
|
@@ -7332,7 +7332,7 @@ static PyObject *__pyx_pf_10selectolax_6lexbor_4get_fragment_type(CYTHON_UNUSED
|
|
|
7332
7332
|
}
|
|
7333
7333
|
#endif
|
|
7334
7334
|
{
|
|
7335
|
-
PyObject *__pyx_callargs[3] = {__pyx_t_7,
|
|
7335
|
+
PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_kp_u_html_body_head_er, __pyx_t_5};
|
|
7336
7336
|
__pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_6, 2+__pyx_t_6);
|
|
7337
7337
|
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
7338
7338
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
@@ -7344,7 +7344,7 @@ static PyObject *__pyx_pf_10selectolax_6lexbor_4get_fragment_type(CYTHON_UNUSED
|
|
|
7344
7344
|
__pyx_t_3 = 0;
|
|
7345
7345
|
|
|
7346
7346
|
/* "selectolax/utils.pxi":39
|
|
7347
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE)
|
|
7347
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE)
|
|
7348
7348
|
*
|
|
7349
7349
|
* has_html = False # <<<<<<<<<<<<<<
|
|
7350
7350
|
* has_head = False
|
|
@@ -33919,7 +33919,7 @@ static PyObject *__pyx_pf_10selectolax_6lexbor_12get_fragment_type(CYTHON_UNUSED
|
|
|
33919
33919
|
* tree = parser_cls(html)
|
|
33920
33920
|
*
|
|
33921
33921
|
* import re # <<<<<<<<<<<<<<
|
|
33922
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE)
|
|
33922
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE)
|
|
33923
33923
|
*
|
|
33924
33924
|
*/
|
|
33925
33925
|
__pyx_t_3 = __Pyx_ImportDottedModule(__pyx_n_s_re, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(8, 36, __pyx_L1_error)
|
|
@@ -33930,7 +33930,7 @@ static PyObject *__pyx_pf_10selectolax_6lexbor_12get_fragment_type(CYTHON_UNUSED
|
|
|
33930
33930
|
/* "selectolax/utils.pxi":37
|
|
33931
33931
|
*
|
|
33932
33932
|
* import re
|
|
33933
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE) # <<<<<<<<<<<<<<
|
|
33933
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE) # <<<<<<<<<<<<<<
|
|
33934
33934
|
*
|
|
33935
33935
|
* has_html = False
|
|
33936
33936
|
*/
|
|
@@ -33953,7 +33953,7 @@ static PyObject *__pyx_pf_10selectolax_6lexbor_12get_fragment_type(CYTHON_UNUSED
|
|
|
33953
33953
|
}
|
|
33954
33954
|
#endif
|
|
33955
33955
|
{
|
|
33956
|
-
PyObject *__pyx_callargs[3] = {__pyx_t_7,
|
|
33956
|
+
PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_kp_u_html_body_head_er, __pyx_t_5};
|
|
33957
33957
|
__pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_6, 2+__pyx_t_6);
|
|
33958
33958
|
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
33959
33959
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
@@ -33965,7 +33965,7 @@ static PyObject *__pyx_pf_10selectolax_6lexbor_12get_fragment_type(CYTHON_UNUSED
|
|
|
33965
33965
|
__pyx_t_3 = 0;
|
|
33966
33966
|
|
|
33967
33967
|
/* "selectolax/utils.pxi":39
|
|
33968
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE)
|
|
33968
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE)
|
|
33969
33969
|
*
|
|
33970
33970
|
* has_html = False # <<<<<<<<<<<<<<
|
|
33971
33971
|
* has_head = False
|
|
@@ -43679,7 +43679,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
|
|
|
43679
43679
|
{&__pyx_n_u_head_and_body, __pyx_k_head_and_body, sizeof(__pyx_k_head_and_body), 0, 1, 0, 1},
|
|
43680
43680
|
{&__pyx_n_s_html, __pyx_k_html, sizeof(__pyx_k_html), 0, 0, 1, 1},
|
|
43681
43681
|
{&__pyx_kp_u_html_2, __pyx_k_html_2, sizeof(__pyx_k_html_2), 0, 1, 0, 0},
|
|
43682
|
-
{&
|
|
43682
|
+
{&__pyx_kp_u_html_body_head_er, __pyx_k_html_body_head_er, sizeof(__pyx_k_html_body_head_er), 0, 1, 0, 0},
|
|
43683
43683
|
{&__pyx_n_s_html_len, __pyx_k_html_len, sizeof(__pyx_k_html_len), 0, 0, 1, 1},
|
|
43684
43684
|
{&__pyx_n_s_html_re, __pyx_k_html_re, sizeof(__pyx_k_html_re), 0, 0, 1, 1},
|
|
43685
43685
|
{&__pyx_n_s_i, __pyx_k_i, sizeof(__pyx_k_i), 0, 0, 1, 1},
|
|
Binary file
|
selectolax/parser.c
CHANGED
|
@@ -3482,7 +3482,6 @@ static const char __pyx_k_HTMLParser_css[] = "HTMLParser.css";
|
|
|
3482
3482
|
static const char __pyx_k_Node_css_first[] = "Node.css_first";
|
|
3483
3483
|
static const char __pyx_k_Node_decompose[] = "Node.decompose";
|
|
3484
3484
|
static const char __pyx_k_fused_sigindex[] = "_fused_sigindex";
|
|
3485
|
-
static const char __pyx_k_html_body_head[] = "<html|<body|<head";
|
|
3486
3485
|
static const char __pyx_k_parse_fragment[] = "parse_fragment";
|
|
3487
3486
|
static const char __pyx_k_Attributes_keys[] = "_Attributes.keys";
|
|
3488
3487
|
static const char __pyx_k_Attributes_sget[] = "_Attributes.sget";
|
|
@@ -3513,6 +3512,7 @@ static const char __pyx_k_Node_replace_with[] = "Node.replace_with";
|
|
|
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_parser[] = "selectolax.parser";
|
|
3517
3517
|
static const char __pyx_k_Can_t_parse_HTML_s[] = "Can't parse HTML:\n%s";
|
|
3518
3518
|
static const char __pyx_k_HTMLParser_chars_s[] = "<HTMLParser chars=%s>";
|
|
@@ -4119,7 +4119,7 @@ typedef struct {
|
|
|
4119
4119
|
PyObject *__pyx_n_u_head_and_body;
|
|
4120
4120
|
PyObject *__pyx_n_s_html;
|
|
4121
4121
|
PyObject *__pyx_kp_u_html_2;
|
|
4122
|
-
PyObject *
|
|
4122
|
+
PyObject *__pyx_kp_u_html_body_head_er;
|
|
4123
4123
|
PyObject *__pyx_n_s_html_len;
|
|
4124
4124
|
PyObject *__pyx_n_s_html_re;
|
|
4125
4125
|
PyObject *__pyx_n_s_html_tree;
|
|
@@ -4663,7 +4663,7 @@ static int __pyx_m_clear(PyObject *m) {
|
|
|
4663
4663
|
Py_CLEAR(clear_module_state->__pyx_n_u_head_and_body);
|
|
4664
4664
|
Py_CLEAR(clear_module_state->__pyx_n_s_html);
|
|
4665
4665
|
Py_CLEAR(clear_module_state->__pyx_kp_u_html_2);
|
|
4666
|
-
Py_CLEAR(clear_module_state->
|
|
4666
|
+
Py_CLEAR(clear_module_state->__pyx_kp_u_html_body_head_er);
|
|
4667
4667
|
Py_CLEAR(clear_module_state->__pyx_n_s_html_len);
|
|
4668
4668
|
Py_CLEAR(clear_module_state->__pyx_n_s_html_re);
|
|
4669
4669
|
Py_CLEAR(clear_module_state->__pyx_n_s_html_tree);
|
|
@@ -5185,7 +5185,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
|
|
|
5185
5185
|
Py_VISIT(traverse_module_state->__pyx_n_u_head_and_body);
|
|
5186
5186
|
Py_VISIT(traverse_module_state->__pyx_n_s_html);
|
|
5187
5187
|
Py_VISIT(traverse_module_state->__pyx_kp_u_html_2);
|
|
5188
|
-
Py_VISIT(traverse_module_state->
|
|
5188
|
+
Py_VISIT(traverse_module_state->__pyx_kp_u_html_body_head_er);
|
|
5189
5189
|
Py_VISIT(traverse_module_state->__pyx_n_s_html_len);
|
|
5190
5190
|
Py_VISIT(traverse_module_state->__pyx_n_s_html_re);
|
|
5191
5191
|
Py_VISIT(traverse_module_state->__pyx_n_s_html_tree);
|
|
@@ -5807,7 +5807,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
|
|
|
5807
5807
|
#define __pyx_n_u_head_and_body __pyx_mstate_global->__pyx_n_u_head_and_body
|
|
5808
5808
|
#define __pyx_n_s_html __pyx_mstate_global->__pyx_n_s_html
|
|
5809
5809
|
#define __pyx_kp_u_html_2 __pyx_mstate_global->__pyx_kp_u_html_2
|
|
5810
|
-
#define
|
|
5810
|
+
#define __pyx_kp_u_html_body_head_er __pyx_mstate_global->__pyx_kp_u_html_body_head_er
|
|
5811
5811
|
#define __pyx_n_s_html_len __pyx_mstate_global->__pyx_n_s_html_len
|
|
5812
5812
|
#define __pyx_n_s_html_re __pyx_mstate_global->__pyx_n_s_html_re
|
|
5813
5813
|
#define __pyx_n_s_html_tree __pyx_mstate_global->__pyx_n_s_html_tree
|
|
@@ -29017,7 +29017,7 @@ static PyObject *__pyx_pf_10selectolax_6parser_4get_fragment_type(CYTHON_UNUSED
|
|
|
29017
29017
|
* tree = parser_cls(html)
|
|
29018
29018
|
*
|
|
29019
29019
|
* import re # <<<<<<<<<<<<<<
|
|
29020
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE)
|
|
29020
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE)
|
|
29021
29021
|
*
|
|
29022
29022
|
*/
|
|
29023
29023
|
__pyx_t_3 = __Pyx_ImportDottedModule(__pyx_n_s_re, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(5, 36, __pyx_L1_error)
|
|
@@ -29028,7 +29028,7 @@ static PyObject *__pyx_pf_10selectolax_6parser_4get_fragment_type(CYTHON_UNUSED
|
|
|
29028
29028
|
/* "selectolax/utils.pxi":37
|
|
29029
29029
|
*
|
|
29030
29030
|
* import re
|
|
29031
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE) # <<<<<<<<<<<<<<
|
|
29031
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE) # <<<<<<<<<<<<<<
|
|
29032
29032
|
*
|
|
29033
29033
|
* has_html = False
|
|
29034
29034
|
*/
|
|
@@ -29051,7 +29051,7 @@ static PyObject *__pyx_pf_10selectolax_6parser_4get_fragment_type(CYTHON_UNUSED
|
|
|
29051
29051
|
}
|
|
29052
29052
|
#endif
|
|
29053
29053
|
{
|
|
29054
|
-
PyObject *__pyx_callargs[3] = {__pyx_t_7,
|
|
29054
|
+
PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_kp_u_html_body_head_er, __pyx_t_5};
|
|
29055
29055
|
__pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_6, 2+__pyx_t_6);
|
|
29056
29056
|
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
29057
29057
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
@@ -29063,7 +29063,7 @@ static PyObject *__pyx_pf_10selectolax_6parser_4get_fragment_type(CYTHON_UNUSED
|
|
|
29063
29063
|
__pyx_t_3 = 0;
|
|
29064
29064
|
|
|
29065
29065
|
/* "selectolax/utils.pxi":39
|
|
29066
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE)
|
|
29066
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE)
|
|
29067
29067
|
*
|
|
29068
29068
|
* has_html = False # <<<<<<<<<<<<<<
|
|
29069
29069
|
* has_head = False
|
|
@@ -31536,7 +31536,7 @@ static PyObject *__pyx_pf_10selectolax_6parser_16get_fragment_type(CYTHON_UNUSED
|
|
|
31536
31536
|
* tree = parser_cls(html)
|
|
31537
31537
|
*
|
|
31538
31538
|
* import re # <<<<<<<<<<<<<<
|
|
31539
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE)
|
|
31539
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE)
|
|
31540
31540
|
*
|
|
31541
31541
|
*/
|
|
31542
31542
|
__pyx_t_3 = __Pyx_ImportDottedModule(__pyx_n_s_re, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(7, 36, __pyx_L1_error)
|
|
@@ -31547,7 +31547,7 @@ static PyObject *__pyx_pf_10selectolax_6parser_16get_fragment_type(CYTHON_UNUSED
|
|
|
31547
31547
|
/* "selectolax/utils.pxi":37
|
|
31548
31548
|
*
|
|
31549
31549
|
* import re
|
|
31550
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE) # <<<<<<<<<<<<<<
|
|
31550
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE) # <<<<<<<<<<<<<<
|
|
31551
31551
|
*
|
|
31552
31552
|
* has_html = False
|
|
31553
31553
|
*/
|
|
@@ -31570,7 +31570,7 @@ static PyObject *__pyx_pf_10selectolax_6parser_16get_fragment_type(CYTHON_UNUSED
|
|
|
31570
31570
|
}
|
|
31571
31571
|
#endif
|
|
31572
31572
|
{
|
|
31573
|
-
PyObject *__pyx_callargs[3] = {__pyx_t_7,
|
|
31573
|
+
PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_kp_u_html_body_head_er, __pyx_t_5};
|
|
31574
31574
|
__pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_6, 2+__pyx_t_6);
|
|
31575
31575
|
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
31576
31576
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
@@ -31582,7 +31582,7 @@ static PyObject *__pyx_pf_10selectolax_6parser_16get_fragment_type(CYTHON_UNUSED
|
|
|
31582
31582
|
__pyx_t_3 = 0;
|
|
31583
31583
|
|
|
31584
31584
|
/* "selectolax/utils.pxi":39
|
|
31585
|
-
* html_re = re.compile(r"<html|<body|<head", re.IGNORECASE)
|
|
31585
|
+
* html_re = re.compile(r"<html|<body|<head(?!er)", re.IGNORECASE)
|
|
31586
31586
|
*
|
|
31587
31587
|
* has_html = False # <<<<<<<<<<<<<<
|
|
31588
31588
|
* has_head = False
|
|
@@ -41216,7 +41216,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
|
|
|
41216
41216
|
{&__pyx_n_u_head_and_body, __pyx_k_head_and_body, sizeof(__pyx_k_head_and_body), 0, 1, 0, 1},
|
|
41217
41217
|
{&__pyx_n_s_html, __pyx_k_html, sizeof(__pyx_k_html), 0, 0, 1, 1},
|
|
41218
41218
|
{&__pyx_kp_u_html_2, __pyx_k_html_2, sizeof(__pyx_k_html_2), 0, 1, 0, 0},
|
|
41219
|
-
{&
|
|
41219
|
+
{&__pyx_kp_u_html_body_head_er, __pyx_k_html_body_head_er, sizeof(__pyx_k_html_body_head_er), 0, 1, 0, 0},
|
|
41220
41220
|
{&__pyx_n_s_html_len, __pyx_k_html_len, sizeof(__pyx_k_html_len), 0, 0, 1, 1},
|
|
41221
41221
|
{&__pyx_n_s_html_re, __pyx_k_html_re, sizeof(__pyx_k_html_re), 0, 0, 1, 1},
|
|
41222
41222
|
{&__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,20 +1,15 @@
|
|
|
1
|
-
selectolax-0.3.26.dist-info/RECORD,,
|
|
2
|
-
selectolax-0.3.26.dist-info/LICENSE,sha256=kYggm2ZJzBgL79x1gCsYsx8rFIYP2IE-BdXRV3Rm0NU,1077
|
|
3
|
-
selectolax-0.3.26.dist-info/WHEEL,sha256=ATOmOAMz13qz5V-b8lMpYjChDpPmoGD7nZ3z-U2mJPU,108
|
|
4
|
-
selectolax-0.3.26.dist-info/top_level.txt,sha256=e5MuEM2PrQzoDlWetkFli9uXSlxa_ktW5jJEihhaI1c,11
|
|
5
|
-
selectolax-0.3.26.dist-info/METADATA,sha256=HqNPkDK0NqFA-N4HsTn3QtHYktNEwobUdCj7kw-e4VU,5928
|
|
6
1
|
selectolax/lexbor.pyi,sha256=X2PMQR2XLd2rOPliKSpeFZ_VEf6mOQFTcFm0ChQbzsQ,6544
|
|
7
2
|
selectolax/parser.pyx,sha256=o1HkYE_nQr3TS7EPlldJx2-ygU9B5FI2uWYFzdF-VaI,12953
|
|
8
|
-
selectolax/parser.cpython-39-darwin.so,sha256=
|
|
9
|
-
selectolax/lexbor.cpython-39-darwin.so,sha256=
|
|
10
|
-
selectolax/__init__.py,sha256=
|
|
3
|
+
selectolax/parser.cpython-39-darwin.so,sha256=RFKXK65WIYeXlvhXH7B0hKrfrq6zb5Y9oexUHmVGKYc,3046016
|
|
4
|
+
selectolax/lexbor.cpython-39-darwin.so,sha256=FG41w_Qb4oCNpQKrOQfotr3QQnRBrqmjoHsDgvq5pr8,11509736
|
|
5
|
+
selectolax/__init__.py,sha256=c_YcZI0XHUarueRv6JL0z5WjcrLiV5ygw8PGIGFQiKs,175
|
|
11
6
|
selectolax/lexbor.pxd,sha256=PwygBdb1blWAQcxXubZS5uffhgcXaqgySNMPFMT02-c,20958
|
|
12
7
|
selectolax/lexbor.pyx,sha256=ffEzBnZjGTsI-H5qck7bfjVRE9vteOhQnDp6RjVD7G0,10750
|
|
13
8
|
selectolax/parser.pyi,sha256=kbR5eWvkJEy-9Hx3L_4JmGy3caIl0ki4SiagWz-fnhw,11557
|
|
14
|
-
selectolax/utils.pxi,sha256=
|
|
15
|
-
selectolax/lexbor.c,sha256=
|
|
9
|
+
selectolax/utils.pxi,sha256=uB0-0naFQPy1JpR2DiIlKnyLyC76yWLnUHSuH11xg6s,3459
|
|
10
|
+
selectolax/lexbor.c,sha256=VXue3SvGjvljWCyWa2ntEKkF-sRWTRY2kWpNrkdI0PQ,2353665
|
|
16
11
|
selectolax/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
-
selectolax/parser.c,sha256=
|
|
12
|
+
selectolax/parser.c,sha256=B6KXGW2ItH2oWhyUpALnCxeuDspYkUHuWEsa4ChfbTE,2214827
|
|
18
13
|
selectolax/base.pxi,sha256=eiPKlY9gG3l49qJoRQVLl1Ljza6z1k0A-met6sDPcqE,89
|
|
19
14
|
selectolax/parser.pxd,sha256=zZlg1vHUg6o4MXaiwKAo5S5hO_DqBGc4_E10qJ2EcM4,24564
|
|
20
15
|
selectolax/modest/selection.pxi,sha256=S55MMxEW2B1oPExB_DRwPM46WoWZU73J3rFRZU1URuQ,6393
|
|
@@ -24,3 +19,8 @@ selectolax/lexbor/selection.pxi,sha256=PqjvpL6H9uFcmcQWVGfML8FDsTO7tGoZujpA00g9p
|
|
|
24
19
|
selectolax/lexbor/util.pxi,sha256=Zq7S-zlyU3wOo49wGHQHnmmhpbkrcJm59ZCTPENcZQA,563
|
|
25
20
|
selectolax/lexbor/node.pxi,sha256=1XNzUwCbTYXy4D6rZtHxMpoJ9M-xoprB9wjdsiaWhr0,29346
|
|
26
21
|
selectolax/lexbor/attrs.pxi,sha256=-518D5v70GgMJhtsxWrWcgIMnXg8afECpUubzq8kqqs,3102
|
|
22
|
+
selectolax-0.3.27.dist-info/RECORD,,
|
|
23
|
+
selectolax-0.3.27.dist-info/LICENSE,sha256=kYggm2ZJzBgL79x1gCsYsx8rFIYP2IE-BdXRV3Rm0NU,1077
|
|
24
|
+
selectolax-0.3.27.dist-info/WHEEL,sha256=HsW8X292attiRy14pNbZE_UdA2E2TlNbkZM7wTfmN70,108
|
|
25
|
+
selectolax-0.3.27.dist-info/top_level.txt,sha256=e5MuEM2PrQzoDlWetkFli9uXSlxa_ktW5jJEihhaI1c,11
|
|
26
|
+
selectolax-0.3.27.dist-info/METADATA,sha256=QwBuZChcMfcqnAmJByM0BzfEPHvJXT2wIA4Acp_6DVU,5928
|
|
File without changes
|
|
File without changes
|