Fix bad ports from the main PR

This commit is contained in:
Adrián Chaves 2025-03-24 17:29:04 +01:00
parent 4ac921f389
commit 68f63e1430
2 changed files with 2 additions and 2 deletions

View File

@ -352,7 +352,7 @@ errors if needed:
"https://example.invalid/", # DNS error expected
]
async def yield_seeds(self):
async def start(self):
for u in self.start_urls:
yield scrapy.Request(
u,

View File

@ -201,7 +201,7 @@ class Request(object_ref):
#:
#: When defining the start URLs of a spider through
#: :attr:`~scrapy.Spider.start_urls`, this attribute is enabled by
#: default. See :meth:`~scrapy.Spider.yield_seeds`.
#: default. See :meth:`~scrapy.Spider.start`.
self.dont_filter: bool = dont_filter
self._meta: dict[str, Any] | None = dict(meta) if meta else None