To get the scraped items, you can use the Items API.
In some cases, it's convenient to have a static URL that points to the last job, in a specific format. Here is an example.
CSV of the latest spider data
To get the items of the latest completed job of a spider in CSV format use the following URL:
https://app.zyte.com/api/items.csv?project=PROJECTNUMBER&spider=SPIDERNAME&include_headers=1&fields=FIELDNAME1,FIELDNAME2&apikey=APIKEY
Replace:
PROJECTNUMBER
with your project numberSPIDERNAME
with your spider nameFIELDNAME1
,FIELDNAME2
with the name of the fields, in the order you want them to appear in the CSV columnsAPIKEY
with your Apikey
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article