mirror of https://github.com/scrapy/scrapy.git
Update docs/topics/asyncio.rst
Co-authored-by: Adrián Chaves <adrian@chaves.io>
This commit is contained in:
parent
87d10161cd
commit
57f3140daa
|
|
@ -101,8 +101,10 @@ Futures. Scrapy provides two helpers for this:
|
|||
Async additional requests
|
||||
=========================
|
||||
|
||||
The spider below shows a single use-case of scraping a page and gathering a price from a separate URL::
|
||||
The spider below shows how to send a request and await its response all from
|
||||
within a spider callback:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
class SingleRequestSpider(scrapy.Spider):
|
||||
name = "single"
|
||||
|
|
|
|||
Loading…
Reference in New Issue