Skip to main content

A RabbitMQ Item Publisher for Scrapy Framework.

Scrapy-RabbitMQ-Publisher allows you to save publish items to RabbitMQ.

Installation

Using pip, type in your command-line prompt

pip install scrapy-rabbitmq-publisher

Or clone the repo and inside the scrapy-rabbitmq-publisher directory, type

python setup.py install

Usage

Add following code to your scrapy settings.

RABBITMQ_HOST = "localhost"
RABBITMQ_PORT = 5672
RABBITMQ_USER = "guest"
RABBITMQ_PASSWORD = "guest"
RABBITMQ_VIRTUAL_HOST = "/"
RABBITMQ_EXCHANGE = "scrapy"
RABBITMQ_ROUTING_KEY = "item"
RABBITMQ_QUEUE = "item"

ITEM_PIPELINES = {
    "scrapy_rabbitmq_publisher.pipelines.RabbitMQItemPublisherPipeline": 1,
}

Copyright (c) 2019 Artem Rys - Released under The MIT License.

Metadata

Release files for scrapy-rabbitmq-publisher 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scrapy-rabbitmq-publisher 0.1.4
File Size Uploaded
scrapy-rabbitmq-publisher-0.1.4.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scrapy-rabbitmq-publisher 0.1.4
File Interpreter ABI Platform
scrapy_rabbitmq_publisher-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / scrapy-rabbitmq-publisher-0.1.4.tar.gz

Download URL scrapy-rabbitmq-publisher-0.1.4.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2f222db6a1b7e05e0650701932c48b4238994cc965bc535aa6f9395d9d1026c6
BLAKE2b-256 checksum
How to use checksums
61504d459e53ab1d4c49a3fab37dc50d5329a20940ef1be52e075131ac87f2f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

Release files / scrapy_rabbitmq_publisher-0.1.4-py3-none-any.whl

Download URL scrapy_rabbitmq_publisher-0.1.4-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d28657d22f6a55f30f96f391bdc7504728bd4a9a65761e73c5cd077e372108ee
BLAKE2b-256 checksum
How to use checksums
e1e1cef7f5d9ef39c6831c33d114f13d9449a0a3b2054bd36635ea36e2702744
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page