Disambiguate method refenrece in the docs

This commit is contained in:
Adrián Chaves 2025-03-19 20:27:38 +01:00
parent dfc7cd58e7
commit f91723628a
1 changed files with 3 additions and 2 deletions

View File

@ -261,8 +261,9 @@ Return multiple Requests and items from a single callback:
for href in response.xpath("//a/@href").getall():
yield scrapy.Request(response.urljoin(href), self.parse)
Instead of :attr:`~.start_urls` you can use :meth:`~.start` directly;
to give data more structure you can use :class:`~scrapy.Item` objects:
Instead of :attr:`~.start_urls` you can use :meth:`~scrapy.Spider.start`
directly; to give data more structure you can use :class:`~scrapy.Item`
objects:
.. skip: next
.. code-block:: python