Start a new topic

Fetching latest spider data with the file extension included

With reference to this topic:


https://support.scrapinghub.com/support/solutions/articles/22000200409-fetching-latest-spider-data


https://app.scrapinghub.com/api/items.csv? project=PROJECTNUMBER&spider=SPIDERNAME&include_headers=1&fields=FIELDNAME1,FIELDNAME2&apikey=APIKEY


When I add the relevant details to the above URL the file downloads the latest crawl data correctly, however it doesn't include the .csv file extension. It downloads as an extensionless "1"


Can you please tell me if it's possible to download the file from the URL with the extension included?


Much apprecaited,


Peter.


https://storage.scrapinghub.com/items/286094/?format=csv&apikey=b3bfcd806b334fb98eb022&include_headers=1&fields=one,two


This seems to download okay but it's the whole project, not the latest crawl data.

Are you using the URL on a browser? If so, which?

Hi nestor,


Apologies, there was a space in my URL, rookie mistake.


Please delete this thread admins. 


Thank you.