Untitled

mail@pastecode.io avatar
unknown
plain_text
5 months ago
2.6 kB
12
Indexable
(andre) PS C:\Users\Usuario\projetos_scrapy\varredor_de_sites> scrapy crawl frasebot
2024-08-19 20:48:10 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: varredor_de_sites)
2024-08-19 20:48:10 [scrapy.utils.log] INFO: Versions: lxml 5.3.0.0, libxml2 2.11.7, cssselect 1.2.0, parsel 1.9.1, w3lib 2.2.1, Twisted 24.7.0, Python 3.11.4 | packaged by Anaconda, Inc. | (main, Jul  5 2023, 13:47:18) [MSC v.1916 64 bit (AMD64)], pyOpenSSL 24.2.1 (OpenSSL 3.3.1 4 Jun 2024), cryptography 43.0.0, Platform Windows-10-10.0.22631-SP0
Traceback (most recent call last):
  File "C:\Users\Usuario\projetos_scrapy\andre\Lib\site-packages\scrapy\spiderloader.py", line 87, in load
    return self._spiders[spider_name]
           ~~~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'frasebot'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\Usuario\projetos_scrapy\andre\scripts\scrapy.exe\__main__.py", line 7, in <module>
  File "C:\Users\Usuario\projetos_scrapy\andre\Lib\site-packages\scrapy\cmdline.py", line 161, in execute
    _run_print_help(parser, _run_command, cmd, args, opts)
  File "C:\Users\Usuario\projetos_scrapy\andre\Lib\site-packages\scrapy\cmdline.py", line 114, in _run_print_help
    func(*a, **kw)
  File "C:\Users\Usuario\projetos_scrapy\andre\Lib\site-packages\scrapy\cmdline.py", line 169, in _run_command
    cmd.run(args, opts)
  File "C:\Users\Usuario\projetos_scrapy\andre\Lib\site-packages\scrapy\commands\crawl.py", line 23, in run
    crawl_defer = self.crawler_process.crawl(spname, **opts.spargs)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Usuario\projetos_scrapy\andre\Lib\site-packages\scrapy\crawler.py", line 264, in crawl
    crawler = self.create_crawler(crawler_or_spidercls)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Usuario\projetos_scrapy\andre\Lib\site-packages\scrapy\crawler.py", line 300, in create_crawler
    return self._create_crawler(crawler_or_spidercls)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Usuario\projetos_scrapy\andre\Lib\site-packages\scrapy\crawler.py", line 385, in _create_crawler
    spidercls = self.spider_loader.load(spidercls)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Usuario\projetos_scrapy\andre\Lib\site-packages\scrapy\spiderloader.py", line 89, in load
    raise KeyError(f"Spider not found: {spider_name}")
KeyError: 'Spider not found: frasebot'
Leave a Comment