Git Product home page Git Product logo

books_crawler's People

Contributors

stummjr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

books_crawler's Issues

No module name scrapy_magicfields

While running the script as per instructions available on this blog post INCREMENTAL CRAWLS WITH SCRAPY AND DELTAFETCH, I got this error No module name scrapy_magicfields.

Full output of error:

Unhandled error in Deferred:
2017-08-13 22:02:52 [twisted] CRITICAL: Unhandled error in Deferred:

2017-08-13 22:02:52 [twisted] CRITICAL: 
Traceback (most recent call last):
  File "/home/kapil/Projects/scrape_techchrunch/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1386, in _inlineCallbacks
    result = g.send(result)
  File "/home/kapil/Projects/scrape_techchrunch/venv/local/lib/python2.7/site-packages/scrapy/crawler.py", line 95, in crawl
    six.reraise(*exc_info)
  File "/home/kapil/Projects/scrape_techchrunch/venv/local/lib/python2.7/site-packages/scrapy/crawler.py", line 77, in crawl
    self.engine = self._create_engine()
  File "/home/kapil/Projects/scrape_techchrunch/venv/local/lib/python2.7/site-packages/scrapy/crawler.py", line 102, in _create_engine
    return ExecutionEngine(self, lambda _: self.stop())
  File "/home/kapil/Projects/scrape_techchrunch/venv/local/lib/python2.7/site-packages/scrapy/core/engine.py", line 70, in __init__
    self.scraper = Scraper(crawler)
  File "/home/kapil/Projects/scrape_techchrunch/venv/local/lib/python2.7/site-packages/scrapy/core/scraper.py", line 69, in __init__
    self.spidermw = SpiderMiddlewareManager.from_crawler(crawler)
  File "/home/kapil/Projects/scrape_techchrunch/venv/local/lib/python2.7/site-packages/scrapy/middleware.py", line 58, in from_crawler
    return cls.from_settings(crawler.settings, crawler)
  File "/home/kapil/Projects/scrape_techchrunch/venv/local/lib/python2.7/site-packages/scrapy/middleware.py", line 34, in from_settings
    mwcls = load_object(clspath)
  File "/home/kapil/Projects/scrape_techchrunch/venv/local/lib/python2.7/site-packages/scrapy/utils/misc.py", line 44, in load_object
    mod = import_module(module)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: No module named scrapy_magicfields

But after installing scrapy_magicfields with pip, it solved the issue. But there was no mention about need to install this module as well.

issue while installing scrapy-deltafetch.

Hi,
I want to add scrapy-deltafetch on my scrapy project. Then
I have an issue while installing scrapy-deltafetch.

My Python Version in Python 2.7.12

Here're the logs from terminal :

Using cached scrapy_deltafetch-1.2.0-py2.py3-none-any.whl
Requirement already satisfied: Scrapy>=1.0 in /home/hendisantika/Documents/python/ENV/lib/python2.7/site-packages (from scrapy-deltafetch)
Collecting bsddb3 (from scrapy-deltafetch)
  Using cached bsddb3-6.2.1.tar.gz
    Complete output from command python setup.py egg_info:
    Can't find a local Berkeley DB installation.
    (suggestion: try the --berkeley-db=/path/to/bsddb option)
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-Jzfv8A/bsddb3/

I already install bsddb3. But it is still show the error like above.

Do you have any solution for my case?

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.