mirror of https://github.com/scrapy/scrapy.git
add import to the example.
This commit is contained in:
parent
fc2d1b2171
commit
b62c1263de
|
|
@ -106,6 +106,8 @@ within a spider callback:
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
from scrapy.utils.defer import maybe_deferred_to_future
|
||||
|
||||
class SingleRequestSpider(scrapy.Spider):
|
||||
name = "single"
|
||||
start_urls = ["https://example.org/product"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue