Skip to content

Commit 2e605ce

Browse files
authored
README.md: minor edit in example command
1 parent aa3e7fd commit 2e605ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ Quickstart
6161
6262
> curl "localhost:9080/crawl.json?spider_name=toscrape-css&url=http://quotes.toscrape.com/"
6363
64-
**5. run more complex query, e.g. specify callback**
64+
**5. run more complex query, e.g. specify callback for Scrapy request and zipcode argument for spider**
6565

6666
.. code-block:: shell
6767
68-
> curl --data '{"request": {"url": "http://quotes.toscrape.com/page/2/"}, "spider_name": "toscrape-css", "crawl_args": {"callback":"other"}}' http://localhost:9080/crawl.json -v
68+
> curl --data '{"request": {"url": "http://quotes.toscrape.com/page/2/", "callback":"some_callback"}, "spider_name": "toscrape-css", "crawl_args": {"zipcode":"14000"}}' http://localhost:9080/crawl.json -v
6969
7070
Scrapyrt will look for ``scrapy.cfg`` file to determine your project settings,
7171
and will raise error if it won't find one. Note that you need to have all

0 commit comments

Comments
 (0)