Skip to content

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

minor selectors doc fix

Pablo Hoffman9baa6bb2a885
diff --git a/docs/topics/selectors.rst b/docs/topics/selectors.rst
index 0728922e5..ebb333cf3 100644
--- a/docs/topics/selectors.rst
+++ b/docs/topics/selectors.rst
@@ -194,7 +194,7 @@ inside ``<div>`` elements::
This is the proper way to do it (note the dot prefixing the ``.//p`` XPath)::
- >>> for p in divs.x('//p') # extracts all <p> inside
+ >>> for p in divs.x('.//p') # extracts all <p> inside
>>> print p.extract()
Another common case would be to extract all direct ``<p>`` children::