-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an option to send requests to Splash by default #11
Comments
I would imagine this could work by just adding spider attribute |
From my experience - it's convenient to be able to enable splash for entire spider. Maybe if we add support for 'splash' spider argument with splash options - it would be enough? For example
|
@pawelmhm if you just set Spider.splash = True it's not clear how to pass splash options per spider |
right @chekunkov if you only add |
I like it, but I'm not sure this
is better than this:
|
@kmike good point main idea of |
also question is: do we need 'meta' key for all splash requests? I think we don't need it if splash middleware is enabled in spider attribute. |
@pawelmhm please check comment above :)
|
We could create a middleware which adds 'splash' meta key to all requests, or to all requests matching some pattern. It could also decode the results to make the whole thing more or less transparent.
Is it a good idea? Or are explicit requests enough?
The text was updated successfully, but these errors were encountered: