Skip to content

issues Search Results · repo:scrapy/itemloaders language:Python

Filter by

33 results
 (79 ms)

33 results

inscrapy/itemloaders (press backspace or delete to remove)

If xpath in nested_xpath not exists Code info = loader.nested_xpath( .//div[@class= product-card__more-info ] ) info.add_xpath( artikul , p[1][span/text() = Код товара: ]/text() ) Assertion ...
  • tonal
  • 5
  • Opened 
    on Jun 1, 2024
  • #87

Looks like https://github.com/python/cpython/issues/86951 has been fixed and so we will need to update the test expectations depending on the version.
  • wRAR
  • 1
  • Opened 
    on Apr 5, 2024
  • #76

https://github.com/scrapy/itemloaders/blob/68e8701432bd8bebb990668a8938145477f60d37/itemloaders/init.py#L205C25-L205C25 will not set the value to 0 in case 0 is being passed, instead the value will be ...
  • sla-te
  • 7
  • Opened 
    on Jul 19, 2023
  • #73

Hello, I would like to suggest implementing pre-commit in this repo, with checks for Black, isort, and a linter like flake8 or ruff. Adding checks for Black and isort can ensure that code formatting ...
enhancement
good first issue
  • VMRuiz
  • Opened 
    on Apr 19, 2023
  • #69

For cleanup purposes. See https://github.com/scrapy/itemloaders/issues/32#issuecomment-1445939658.
  • Gallaecio
  • Opened 
    on Feb 27, 2023
  • #64

When adding typing I ve discovered some strange (to me) code which is covered by tests and is present since CSS/XPath were added in 2013. Quoting tests: l.replace_css( name , [ p::text , div::text ]) ...
  • wRAR
  • 1
  • Opened 
    on Feb 26, 2023
  • #63

Description If I create an Item using a dataclass and define a default value, that default value is appended at the start of the resulting array of the output-processor input. Should not the default value ...
  • sergiogup
  • 2
  • Opened 
    on Feb 8, 2023
  • #62

Error when add_xpath/add_css in re set re.Pattern itemloaders==1.0.5 Code: re_price = re.compile(r ([\d\s]*\d) ) loader = itemloaders.ItemLoader(item=dict(), response=response) loader.add_xpath( ...
bug
  • tonal
  • 1
  • Opened 
    on Aug 26, 2022
  • #56

Hi, it should be very helpfull if you add ability to call ItemLoader s methods (like add_xpath, add_css etc) fluently: loader = (ItemLoader(selector=Selector(html_data)) .add_xpath( name , //div[@class= ...
enhancement
  • suspectinside
  • Opened 
    on Aug 22, 2022
  • #54
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub