-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Probe command (fix issue #33) #413
Conversation
I don't get the use case of this command, can you illustrate me? |
See issue description on #33 |
docs/topics/commands.rst
Outdated
|
||
Usage examples:: | ||
|
||
$ scrapy probe 'http://www.example.com/some/page.html' 'var sFeatures' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That url responds and not have the text searched, can be confusing.
I think we need a way to get a set of headers per scrapy project. |
@dangra Anything preventing this to be merged? Besides |
probe | ||
----- | ||
|
||
.. versionadded:: 0.18 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should be 0.25 or 0.26, I'm not sure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.26
Here's a first take at adding the probe command. Please review and comment.
How can we use the MockServer to add tests?