Skip to main content

Scrapy pipeline which allow you to store multiple scrapy items in AppSearch.

Project description

Description

Scrapy pipeline which allows you to store scrapy items in AppSearch. Using as base the Elastic Search pipeline.

Install

pip install ScrapyAppSearch

Usage (Configure settings.py:)

   ITEM_PIPELINES = {
       'scrapyappsearch.scrapyappsearch.AppSearchPipeline': 500
   }

   APP_SEARCH_URL = 'https://<...>.ent-search.us-central1.gcp.cloud.es.io'
   APP_SEARCH_KEY = 'private-xxxxxxxxxxxxxxxxx'
   APP_SEARCH_ENGINE = 'my_engine'

Available parameters (in settings.py)

   APP_SEARCH_URL - Url of your App search instance
   APP_SEARCH_KEY - API Key, starting with private-
   APP_SEARCH_ENGINE = Name of the search engine

Dependencies

See requirements.txt

Changelog

  • 0.1.0: Initial release

Coming Up

  • More authentication methods

Issues

If you find any bugs or have any questions, please report them to "issues" (https://github.com/llermaly/scrapy-appsearch/issues)

Contributors

License

Copyright 2020 Gustavo Llermaly

Expanded on the work by Julien Duponchelle and Michael Malocha

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ScrapyAppSearch-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file ScrapyAppSearch-0.1.0.tar.gz.

File metadata

  • Download URL: ScrapyAppSearch-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.6.9

File hashes

Hashes for ScrapyAppSearch-0.1.0.tar.gz
Algorithm Hash digest
SHA256 07ab8f70534470adcd90efad7d1e8b390aa55cde7305cfe086be2a70b2a530a4
MD5 81cf8586c405f46927f5b56159f74e2f
BLAKE2b-256 ff602ded2157c433258adc322599669643d8c22a8d75381f638a502e564b9dfd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page