Scrapy, a fast high-level web crawling & scraping framework for Python.
Fix settings repr on the logs of the shell and tutorial docs topics
Julia Medinabdca06240c2c
diff --git a/docs/intro/tutorial.rst b/docs/intro/tutorial.rstindex 64b9dca62..1df7fe366 100644--- a/docs/intro/tutorial.rst+++ b/docs/intro/tutorial.rst@@ -262,7 +262,7 @@ This is what the shell looks like::[s] item {}[s] request <GET http://www.dmoz.org/Computers/Programming/Languages/Python/Books/>[s] response <200 http://www.dmoz.org/Computers/Programming/Languages/Python/Books/>- [s] settings <CrawlerSettings module=None>+ [s] settings <scrapy.settings.Settings object at 0x3fadc50>[s] spider <Spider 'default' at 0x3cebf50>[s] Useful shortcuts:[s] shelp() Shell help (print this help)diff --git a/docs/topics/shell.rst b/docs/topics/shell.rstindex 8827f7fb6..f0c14dc76 100644--- a/docs/topics/shell.rst+++ b/docs/topics/shell.rst@@ -118,7 +118,7 @@ all start with the ``[s]`` prefix)::[s] request <GET http://scrapy.org>[s] response <200 http://scrapy.org>[s] sel <Selector xpath=None data=u'<html>\n <head>\n <meta charset="utf-8'>- [s] settings <CrawlerSettings module=None>+ [s] settings <scrapy.settings.Settings object at 0x2bfd650>[s] spider <Spider 'default' at 0x20c6f50>[s] Useful shortcuts:[s] shelp() Shell help (print this help)@@ -139,7 +139,7 @@ After that, we can star playing with the objects::[s] request <GET http://slashdot.org>[s] response <200 http://slashdot.org>[s] sel <Selector xpath=None data=u'<html lang="en">\n<head>\n\n\n\n\n<script id="'>- [s] settings <CrawlerSettings module=None>+ [s] settings <scrapy.settings.Settings object at 0x2bfd650>[s] spider <Spider 'default' at 0x20c6f50>[s] Useful shortcuts:[s] shelp() Shell help (print this help)