Scrapy, a fast high-level web crawling & scraping framework for Python.
minor fixes to scrapy shell docs
Mikhail Korobove713733edf7d
diff --git a/docs/topics/shell.rst b/docs/topics/shell.rstindex 561e299f4..be3411ccb 100644--- a/docs/topics/shell.rst+++ b/docs/topics/shell.rst@@ -25,8 +25,8 @@ We highly recommend you install `IPython`_, specially if you're working onUnix systems (where `IPython`_ excels). See the `IPython installation guide`_for more info.-.. _IPython: http://ipython.scipy.org/-.. _IPython installation guide: http://ipython.scipy.org/doc/rel-0.9.1/html/install/index.html+.. _IPython: http://ipython.org/+.. _IPython installation guide: http://ipython.org/install.htmlLaunch the shell================@@ -41,7 +41,7 @@ Where the ``<url>`` is the URL you want to scrape.Using the shell===============-The Scrapy shell is just a regular Python console (or `IPython` console if you+The Scrapy shell is just a regular Python console (or `IPython`_ console if youhave it available) which provides some additional shortcut functions forconvenience.@@ -59,10 +59,10 @@ Available ShortcutsNote, however,that this will create a temporary file in your computer,which won't be removed automatically.-.. _<base> tag: http://www.w3schools.com/TAGS/tag_base.asp+.. _<base> tag: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/baseAvailable Scrapy objects--------------------------+------------------------The Scrapy shell automatically creates some convenient objects from thedownloaded page, like the :class:`~scrapy.http.Response` object and the@@ -76,8 +76,8 @@ Those objects are:the current URL* ``request`` - a :class:`~scrapy.http.Request` object of the last fetched- page. You can modify this request using :meth:`~scrapy.http.Request.replace` or- fetch a new request (without leaving the shell) using the ``fetch``+ page. You can modify this request using :meth:`~scrapy.http.Request.replace`+ or fetch a new request (without leaving the shell) using the ``fetch``shortcut.* ``response`` - a :class:`~scrapy.http.Response` object containing the last@@ -104,7 +104,7 @@ shell works.First, we launch the shell::- scrapy shell http://scrapy.org --nolog+ scrapy shell 'http://scrapy.org' --nologThen, the shell fetches the URL (using the Scrapy downloader) and prints thelist of available objects and useful shortcuts (you'll notice that these lines@@ -150,7 +150,7 @@ After that, we can star playing with the objects::>>> fetch(request)2009-04-03 00:57:39-0300 [default] ERROR: Downloading <http://slashdot.org> from <None>: 405 Method Not Allowed- >>>+ >>>.. _topics-shell-inspect-response: