MCPcopy Create free account

hub / github.com/scrapy/parsel / functions

Functions186 in github.com/scrapy/parsel

Functiontest_has_class_tab
()
tests/test_xpathfuncs.py:82
Functiontest_has_class_unicode
()
tests/test_xpathfuncs.py:57
Functiontest_has_class_uppercase
()
tests/test_xpathfuncs.py:65
Methodtest_html_has_json
(self)
tests/test_selector_jmespath.py:48
Methodtest_html_root
(self)
tests/test_selector.py:1026
Methodtest_http_header_encoding_precedence
(self)
tests/test_selector.py:679
Methodtest_invalid_json
(self)
tests/test_selector.py:1054
Methodtest_invalid_type
(self)
tests/test_selector.py:1011
Methodtest_invalid_xpath
Test invalid xpath raises ValueError with the invalid xpath
tests/test_selector.py:665
Methodtest_invalid_xpath_unicode
Test *Unicode* invalid xpath raises ValueError with the invalid xpath
tests/test_selector.py:672
Methodtest_jmestpath_with_re
(self)
tests/test_selector_jmespath.py:93
Methodtest_json_css
(self)
tests/test_selector.py:1046
Methodtest_json_has_html
Sometimes the information is returned in a json wrapper
tests/test_selector_jmespath.py:12
Methodtest_json_root
(self)
tests/test_selector.py:1032
Methodtest_json_selector_representation
(self)
tests/test_selector.py:1072
Methodtest_json_type
(self)
tests/test_selector.py:1020
Methodtest_json_types
(self)
tests/test_selector_jmespath.py:148
Methodtest_json_xpath
(self)
tests/test_selector.py:1038
Methodtest_list_elements_type
Test Selector returning the same type in selection methods
tests/test_selector.py:290
Methodtest_make_links_absolute
(self)
tests/test_selector.py:589
Methodtest_mixed_nested_selectors
(self)
tests/test_selector.py:419
Methodtest_namespaces_adhoc
(self)
tests/test_selector.py:445
Methodtest_namespaces_adhoc_variables
(self)
tests/test_selector.py:459
Methodtest_namespaces_multiple
(self)
tests/test_selector.py:475
Methodtest_namespaces_multiple_adhoc
(self)
tests/test_selector.py:502
Methodtest_namespaces_simple
(self)
tests/test_selector.py:432
Methodtest_nested_select_on_text_nodes
(self)
tests/test_selector.py:730
Methodtest_nested_selector
(self)
tests/test_selector_csstranslator.py:200
Methodtest_nested_selectors
Nested selector tests
tests/test_selector.py:347
Methodtest_null_bytes_shouldnt_raise_errors
(self)
tests/test_selector.py:697
Methodtest_pickle_selector
(self)
tests/test_selector.py:37
Methodtest_pickle_selector_list
(self)
tests/test_selector.py:42
Methodtest_pseudo_function_exception
(self, css: str, exc: type[Exception])
tests/test_selector_csstranslator.py:130
Methodtest_pseudoclass_has
(self)
tests/test_selector_csstranslator.py:210
Methodtest_re
(self)
tests/test_selector.py:595
Methodtest_re_first
Test if re_first() returns first matched element
tests/test_selector.py:246
Methodtest_re_intl
(self)
tests/test_selector.py:653
Methodtest_re_replace_entities
(self)
tests/test_selector.py:620
Methodtest_regexp
EXSLT regular expression tests
tests/test_selector.py:1096
Methodtest_remove_attributes_namespaces
(self)
tests/test_selector.py:795
Methodtest_remove_namespace_json
(self)
tests/test_selector.py:1084
Methodtest_remove_namespaces
(self)
tests/test_selector.py:745
Methodtest_remove_namespaces_embedded
(self)
tests/test_selector.py:762
Methodtest_remove_pseudo_element_selector
(self)
tests/test_selector.py:910
Methodtest_remove_pseudo_element_selector_list
(self)
tests/test_selector.py:898
Methodtest_remove_root_element_selector
(self)
tests/test_selector.py:922
Methodtest_remove_selector
(self)
tests/test_selector.py:889
Methodtest_remove_selector_list
(self)
tests/test_selector.py:880
Methodtest_replacement_char_from_badly_encoded_body
(self)
tests/test_selector.py:701
Methodtest_replacement_null_char_from_body
(self)
tests/test_selector.py:876
Methodtest_representation_slice
(self)
tests/test_selector.py:171
Methodtest_representation_slice
(self)
tests/test_selector.py:1251
Methodtest_representation_unicode_query
(self)
tests/test_selector.py:179
Methodtest_representation_unicode_query
(self)
tests/test_selector.py:1254
Methodtest_select_on_text_nodes
(self)
tests/test_selector.py:717
Methodtest_select_on_unevaluable_nodes
(self)
tests/test_selector.py:706
Methodtest_select_unicode_query
(self)
tests/test_selector.py:285
Methodtest_selector_get_alias
Test if get() returns extracted value on a Selector
tests/test_selector.py:222
Methodtest_selector_getall_alias
Test if get() returns extracted value on a Selector
tests/test_selector.py:230
Methodtest_selector_over_text
(self)
tests/test_selector.py:658
Methodtest_selector_simple
(self)
tests/test_selector_csstranslator.py:178
Methodtest_selectorlist_get_alias
Test if get() returns first element for a selection call
tests/test_selector.py:238
Methodtest_selectorlist_getall_alias
Nested selector tests using getall()
tests/test_selector.py:383
Methodtest_set
EXSLT set manipulation tests
tests/test_selector.py:1145
Functiontest_set_xpathfunc
()
tests/test_xpathfuncs.py:90
Functiontest_shorten
( text: str, width: int, suffix: str, expected: str | type[Exception] )
tests/test_utils.py:34
Methodtest_simple_selection
Simple selector tests
tests/test_selector.py:55
Methodtest_simple_selection_with_variables
Using XPath variables
tests/test_selector.py:85
Methodtest_simple_selection_with_variables_escape_friendly
Using XPath variables with quotes that would need escaping with string formatting
tests/test_selector.py:117
Methodtest_slicing
(self)
tests/test_selector.py:338
Methodtest_smart_strings
Lxml smart strings return values
tests/test_selector.py:810
Methodtest_text_and_root_warning
(self)
tests/test_selector.py:1060
Methodtest_text_or_root_is_required
(self)
tests/test_selector.py:322
Methodtest_text_pseudo_element
(self, css: str, xpath: str)
tests/test_selector_csstranslator.py:119
Methodtest_text_pseudo_element
(self)
tests/test_selector_csstranslator.py:185
Methodtest_unknown_pseudo_class
(self, css: str, exc: type[Exception])
tests/test_selector_csstranslator.py:151
Methodtest_unknown_pseudo_element
(self, css: str, exc: type[Exception])
tests/test_selector_csstranslator.py:140
Methodtest_weakref_slots
Check that classes are using slots and are weak-referenceable
tests/test_selector.py:737
Methodtest_weakref_slots
(self)
tests/test_selector.py:1257
Methodtest_xml_entity_expansion
(self)
tests/test_selector.py:843
Methodxpath
Call the ``.xpath()`` method for each element in this list and return their results flattened as another :class:`SelectorList`.
parsel/selector.py:161
Methodxpath_attr_functional_pseudo_element
Support selecting attribute values using ::attr() pseudo-element
parsel/csstranslator.py:114
Methodxpath_element
(self, selector: Element)
parsel/csstranslator.py:70
Methodxpath_element
(self: TranslatorProtocol, selector: Element)
parsel/csstranslator.py:83
Methodxpath_pseudo_element
Dispatch method that transforms XPath to support pseudo-element
parsel/csstranslator.py:88
Methodxpath_text_simple_pseudo_element
Support selecting text nodes using ::text pseudo-element
parsel/csstranslator.py:124
← previous101–186 of 186, ranked by callers