Scrapy Cloud
⛔ Retired
[!CAUTION] This connector has been retired. Scrapinghub rebranded to Zyte in 2021. The legacy Scrapy Cloud API is being retired in favor of the Zyte API.
Official documentation: Scrapy Cloud API docs
Authentication
Scrapy Cloud uses API key authentication.
- Go to the Connections page and create a New Connection
- Select Scrapy Cloud API from the Connector dropdown
- Enter a Connection name
- Fill in the following credentials:
| Field | Required |
|---|---|
| Api Key | ✅ |
In order to start using the hibase connector to the Scrapy Cloud API (v1), you need to create an API Key for your account.
Log into your Scrapinghub account and navigate to API key
In hibase, provide the API Key you see in your account when adding the Scrapy Cloud API connector
Endpoints
Jobs List (API docs)
Retrieve a list of spider jobs from the Scrapy Cloud platform.
| Parameter | Description | Required |
|---|---|---|
project |
The Scrapy Cloud project ID. | ✅ |
job |
Filter by specific job ID. | — |
spider |
Filter jobs by spider name. | — |
state |
Filter by job state. Values: pending, running, finished, deleted |
— |
has_tag |
Filter to jobs that have this tag. | — |
lacks_tag |
Filter to jobs that do not have this tag. | — |
limit |
Maximum number of jobs to return. | — |
Returned Data
| Column | Type |
|---|---|
responses_received |
integer |
items_scraped |
integer |
logs |
integer |
tags |
json |
spider |
string |
elapsed |
integer |
priority |
integer |
state |
string |
version |
string |
spider_type |
string |
started_time |
datetime |
id |
string |
errors_count |
integer |
updated_time |
datetime |