Home
last modified time | relevance | path

Searched refs:add_xpath (Results 1 – 6 of 6) sorted by relevance

/dports/www/py-scrapy/Scrapy-2.5.1/tests/
H A Dtest_loader.py297 l.add_xpath('name', '//div/text()')
312 l.add_xpath('name', '//div/text()')
326 l.add_xpath('name', '//div/text()')
329 l.add_xpath('url', '//img/@src')
340 l.add_xpath('name', '//div/text()')
446 nl.add_xpath('name', 'div/text()')
461 nl.add_xpath('name', 'div/text()')
490 nl1.add_xpath('url', 'img/@src')
492 nl2.add_xpath('url', 'text()')
508 nl1.add_xpath('url', 'a/@href')
[all …]
/dports/www/py-scrapy/Scrapy-2.5.1/docs/topics/
H A Dloaders.rst56 l.add_xpath('name', '//div[@class="product_name"]')
57 l.add_xpath('name', '//div[@class="product_title"]')
58 l.add_xpath('price', '//p[@id="price"]')
70 locations, using the :meth:`~ItemLoader.add_xpath` method. This is the
80 previously extracted and collected with the :meth:`~ItemLoader.add_xpath`,
128 l.add_xpath('name', xpath1) # (1)
129 l.add_xpath('name', xpath2) # (2)
330 loader.add_xpath('social', '//footer/a[@class = "social"]/@href')
331 loader.add_xpath('email', '//footer/a[@class = "email"]/@href')
343 footer_loader.add_xpath('social', 'a[@class = "social"]/@href')
[all …]
/dports/devel/py-itemloaders/itemloaders-1.0.4/
H A DREADME.rst53 loader.add_xpath('name', '//div[@class="product_name"]/text()')
54 loader.add_xpath('name', '//div[@class="product_title"]/text()')
H A DPKG-INFO63 loader.add_xpath('name', '//div[@class="product_name"]/text()')
64 loader.add_xpath('name', '//div[@class="product_title"]/text()')
/dports/devel/py-itemloaders/itemloaders-1.0.4/itemloaders.egg-info/
H A DPKG-INFO63 loader.add_xpath('name', '//div[@class="product_name"]/text()')
64 loader.add_xpath('name', '//div[@class="product_title"]/text()')
/dports/devel/py-itemloaders/itemloaders-1.0.4/itemloaders/
H A D__init__.py330 def add_xpath(self, field_name, xpath, *processors, **kw): member in ItemLoader