mirror of https://github.com/scrapy/scrapy.git
Fix bad ports from the main PR
This commit is contained in:
parent
4ac921f389
commit
68f63e1430
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue