We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 367add4 commit ed2ca00Copy full SHA for ed2ca00
README.rst
@@ -162,6 +162,18 @@ Alternatively, you can use regular scrapy.Request and
162
}
163
})
164
165
+It is also possible to configure Splash for all requests in a Spider by default
166
+using a ``splash`` spider attribute::
167
+
168
+ class MySpider(Spider):
169
+ name = 'myspider'
170
+ splash = {
171
+ # …
172
+ }
173
174
+If you use a ``splash`` spider attribute, you can still override those Splash
175
+settings for specific requests using the ``splash`` request meta key.
176
177
Use ``request.meta['splash']`` API in middlewares or when scrapy.Request
178
subclasses are used (there is also ``SplashFormRequest`` described below).
179
For example, ``meta['splash']`` allows to create a middleware which enables
0 commit comments