Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

docs: fix typo

谭九鼎3243aa2cd54c
diff --git a/docs/topics/loaders.rst b/docs/topics/loaders.rst
index c0f534493..0d63700c8 100644
--- a/docs/topics/loaders.rst
+++ b/docs/topics/loaders.rst
@@ -56,7 +56,7 @@ chapter <topics-items>`::
l.add_xpath('name', '//div[@class="product_name"]')
l.add_xpath('name', '//div[@class="product_title"]')
l.add_xpath('price', '//p[@id="price"]')
- l.add_css('stock', 'p#stock]')
+ l.add_css('stock', 'p#stock')
l.add_value('last_updated', 'today') # you can also use literal values
return l.load_item()