import { Hyperbrowser } from '@hyperbrowser/sdk';
const client = new Hyperbrowser({ apiKey: 'your-api-key' });
await client.scrape.batch.get('job-id', {
page: 1
});{
"jobId": "<string>",
"status": "pending",
"data": [
{
"url": "<string>",
"status": "pending",
"error": "<string>",
"metadata": {},
"markdown": "<string>",
"html": "<string>",
"links": [
"<string>"
],
"screenshot": "<string>"
}
],
"error": "<string>",
"totalScrapedPages": 123,
"totalPageBatches": 123,
"currentPageBatch": 123,
"batchSize": 123
}import { Hyperbrowser } from '@hyperbrowser/sdk';
const client = new Hyperbrowser({ apiKey: 'your-api-key' });
await client.scrape.batch.get('job-id', {
page: 1
});{
"jobId": "<string>",
"status": "pending",
"data": [
{
"url": "<string>",
"status": "pending",
"error": "<string>",
"metadata": {},
"markdown": "<string>",
"html": "<string>",
"links": [
"<string>"
],
"screenshot": "<string>"
}
],
"error": "<string>",
"totalScrapedPages": 123,
"totalPageBatches": 123,
"currentPageBatch": 123,
"batchSize": 123
}