Hi,

sorry my english ist very bad.

i make the tutorial, and don´t work.

the message in my terminal:

computername:tutorial username$ scrapy crawl dmoz
Traceback (most recent call last):
  File "/usr/local/bin/scrapy", line 11, in <module>
    sys.exit(execute())
  File "/Library/Python/2.7/site-packages/scrapy/cmdline.py", line 143, in 
execute
    _run_print_help(parser, _run_command, cmd, args, opts)
  File "/Library/Python/2.7/site-packages/scrapy/cmdline.py", line 89, in 
_run_print_help
    func(*a, **kw)
  File "/Library/Python/2.7/site-packages/scrapy/cmdline.py", line 150, in 
_run_command
    cmd.run(args, opts)
  File "/Library/Python/2.7/site-packages/scrapy/commands/crawl.py", line 
57, in run
    crawler = self.crawler_process.create_crawler()
  File "/Library/Python/2.7/site-packages/scrapy/crawler.py", line 87, in 
create_crawler
    self.crawlers[name] = Crawler(self.settings)
  File "/Library/Python/2.7/site-packages/scrapy/crawler.py", line 25, in 
__init__
    self.spiders = spman_cls.from_crawler(self)
  File "/Library/Python/2.7/site-packages/scrapy/spidermanager.py", line 
35, in from_crawler
    sm = cls.from_settings(crawler.settings)
  File "/Library/Python/2.7/site-packages/scrapy/spidermanager.py", line 
31, in from_settings
    return cls(settings.getlist('SPIDER_MODULES'))
  File "/Library/Python/2.7/site-packages/scrapy/spidermanager.py", line 
22, in __init__
    for module in walk_modules(name):
  File "/Library/Python/2.7/site-packages/scrapy/utils/misc.py", line 68, 
in walk_modules
    submod = import_module(fullpath)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py",
 
line 37, in import_module
    __import__(name)
  File 
"/Users/username/Documents/script/python/tutorial/tutorial/spiders/dmoz_spider.py",
 
line 5
    allowed_domains = ["dmoz.org"]
                                 ^
IndentationError: unindent does not match any outer indentation level

please help me.

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to