mirror of https://github.com/scrapy/scrapy.git
Merge pull request #3676 from Gallaecio/patch-1
Update developer-tools.rst
This commit is contained in:
commit
39a17aff3a
|
|
@ -233,7 +233,7 @@ also request each page to get every quote on the site::
|
|||
name = 'quote'
|
||||
allowed_domains = ['quotes.toscrape.com']
|
||||
page = 1
|
||||
start_urls = ['http://quotes.toscrape.com/api/quotes?page=1]
|
||||
start_urls = ['http://quotes.toscrape.com/api/quotes?page=1']
|
||||
|
||||
def parse(self, response):
|
||||
data = json.loads(response.text)
|
||||
|
|
|
|||
Loading…
Reference in New Issue