Coder Social home page Coder Social logo

yhjohn163 / scrapyd-mongodb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from intelivix/scrapyd-mongodb

0.0 1.0 0.0 9 KB

library intended to replace the SQLite backend for MongoDB backend of scrapyd queue management

License: MIT License

Python 100.00%

scrapyd-mongodb's Introduction

Scrapyd-mongodb

PyPI version

The scrapyd library is a fantastic open-source tool for management of spiders implemented using scrapy-framework. However, the builtin backend queue management library is implemented to work with SQLite, which ends up being a problem when we need to scale.

This library is designed to replace the SQLite backend for MongoDB backend. In other words, all queue management will be done using MongoDB with the help of pymongo library.

Install

To use this library you need to have installed mongodb on the machine. The documentation can be found at: https://docs.mongodb.org/manual/installation/

The scrapyd-mongo library is available at pypi:

$ pip install scrapyd-mongodb

Config

The configuration to use this library in your scrapy project is pretty simple. You just need to override the application in your scrapy.cfg file:

[scrapyd]
application = scrapyd_mongodb.application.get_application
...

If you want to customize the info to access the mongodb, you can add into your scrapy.cfg file:

[scrapyd]
mongodb_name = scrapyd_mongodb
mongodb_host = 127.0.0.1
mongodb_port = 27017
...

Contributing

Having trouble? have suggestions?
Report bugs or suggestions on the issue tracker.

scrapyd-mongodb's People

Contributors

tiago-lira avatar luizbraga avatar

Watchers

 avatar

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.