MCPcopy
hub / github.com/scrapy/scrapy / open

Method open

scrapy/extensions/feedexport.py:100–102  ·  view source on GitHub ↗

Open the storage for the given spider. It must return a file-like object that will be used for the exporters

(spider)

Source from the content-addressed store, hash-verified

98 feed-specific options (see :setting:`FEEDS`)"""
99
100 def open(spider): # type: ignore[no-untyped-def]
101 """Open the storage for the given spider. It must return a file-like
102 object that will be used for the exporters"""
103
104 def store(file): # type: ignore[no-untyped-def]
105 """Store the given file stream"""

Callers 5

openMethod · 0.45
start_exportingMethod · 0.45
open_spiderMethod · 0.45
spider_closedMethod · 0.45
spider_openedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected