Opera News Scraper

Receiving Opera News Scraping Results

Poll this endpoint to retrieve the result of a submitted Opera News scraping task.

Endpoint

GET /api/parsing/v1/result/opera-news/{requestId}

Keep polling until status is no longer "parsing".

Path Parameters

NameTypeRequiredDescription
requestIdstring (uuid)yesTask ID returned from the submit endpoint

Example Request

curl https://app.scrapering.com/api/parsing/v1/result/opera-news/YOUR_REQUEST_ID \
  --header 'Authorization: Bearer YOUR_API_KEY'

Responses

In progress — task is still being processed:

{
  "status": "parsing"
}

Ready — task completed successfully:

{
  "success": true,
  "data": [ ... ]
}

Failed — scraping did not succeed:

{
  "success": false,
  "error": "Error message"
}

Response Fields

FieldTypeDescription
successbooleanWhether the scraping succeeded
dataanyOpera News feed items for the requested country, language and category, up to limit
errorstringError message, present when scraping failed

Next steps