Skip to content

Commit 34543c2

Browse files
committed
DOCS removed .tld suffix for spider names for the sake of consistency.
1 parent c2ced9a commit 34543c2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/intro/overview.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Finally, here's the spider code::
137137

138138
class MininovaSpider(CrawlSpider):
139139

140-
name = 'mininova.org'
140+
name = 'mininova'
141141
allowed_domains = ['mininova.org']
142142
start_urls = ['http://www.mininova.org/today']
143143
rules = [Rule(SgmlLinkExtractor(allow=['/tor/\d+']), 'parse_torrent')]
@@ -161,7 +161,7 @@ Run the spider to extract the data
161161
Finally, we'll run the spider to crawl the site an output file
162162
``scraped_data.json`` with the scraped data in JSON format::
163163

164-
scrapy crawl mininova.org -o scraped_data.json -t json
164+
scrapy crawl mininova -o scraped_data.json -t json
165165

166166
This uses :ref:`feed exports <topics-feed-exports>` to generate the JSON file.
167167
You can easily change the export format (XML or CSV, for example) or the

docs/topics/settings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Settings attribute.
5656

5757
Example::
5858

59-
scrapy crawl domain.com -s LOG_FILE=scrapy.log
59+
scrapy crawl myspider -s LOG_FILE=scrapy.log
6060

6161
2. Project settings module
6262
--------------------------

0 commit comments

Comments
 (0)