# CV-Library UK public job scraper (`codingfrontend/cv-library-uk-jobs-scraper`) Actor

Extracts publicly visible CV-Library UK JobPosting fields and job links with bounded requests. Access challenges are reported as diagnostics; no controls are bypassed.

- **URL**: https://apify.com/codingfrontend/cv-library-uk-jobs-scraper.md
- **Developed by:** [Coding Frontned](https://apify.com/codingfrontend) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What does this Actor do?

This Actor reads public pages on [CV-Library UK](https://www.cv-library.co.uk/) and emits source-backed vacancy records. With no `startUrls`, it creates a bounded public search for the requested keyword and location. With `startUrls`, it inspects the supplied public CV-Library search or job pages. The source host is restricted to `cv-library.co.uk` and its public subdomains.

The parser prefers standards-based `JobPosting` JSON-LD, then checks public embedded page state and explicit job-detail links. It extracts only fields that the source publishes. Missing salary, location, workplace, employment, date, company, and description values are omitted rather than guessed. A normal row includes the job URL and source provenance so downstream users can trace it back to the public page.

### Why use this Actor?

Use it for a bounded snapshot of UK vacancies for research, hiring analysis, or a job-matching workflow. The Actor has explicit request and response-size limits, bounded retries, optional delay, same-site pagination, and duplicate suppression. These controls keep a run predictable and reduce unnecessary source load.

If CV-Library returns an access challenge, a rate limit, or an empty page, the Actor can emit a minimal diagnostic row. A diagnostic accurately records the condition; it is not a fabricated job and does not claim that the source was fully crawled.

### How to scrape public CV-Library jobs

Run with the default input for a software-engineering search in London. Set `keyword` and `location` for a different public search, or provide one or more `startUrls` to inspect known public pages. Keep `maxPages` and `maxRequests` small while testing. If you want to see why a run returned no jobs, keep `includeDiagnostics` enabled.

The Actor never attempts to defeat authentication, paywalls, CAPTCHAs, robots restrictions, rate limits, or other access controls. It does not use a proxy configuration, private API, hidden browser state, or credentialed session.

### Input

```json
{
  "keyword": "software engineer",
  "location": "London",
  "maxItems": 10,
  "maxPages": 2,
  "maxRequests": 10,
  "timeoutSecs": 20,
  "maxRetries": 1,
  "includeDiagnostics": true,
  "deduplicate": true
}
```

`startUrls` is optional and defaults to a public CV-Library search URL. `maxItems` limits normal vacancy rows. `maxPages` and `maxRequests` bound pagination and requests. `timeoutSecs`, `maxRetries`, `requestDelayMs`, and `maxResponseBytes` bound resource use. `deduplicate` removes repeated IDs or URLs. `includeDiagnostics` controls diagnostic rows only; run summaries still explain the result.

### Output

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

Normal output resembles:

```json
{
  "jobId": "cv-1001",
  "jobTitle": "Senior Platform Engineer",
  "company": "Example Systems",
  "location": "London, England, GB",
  "workplaceType": "remote",
  "employmentType": "FULL_TIME",
  "description": "Build reliable public services.",
  "datePosted": "2026-09-05T00:00:00.000Z",
  "salaryCurrency": "GBP",
  "salaryMin": 70000,
  "salaryMax": 90000,
  "url": "https://www.cv-library.co.uk/job/1001/senior-platform-engineer",
  "canonicalUrl": "https://www.cv-library.co.uk/job/1001/senior-platform-engineer",
  "sourceUrl": "https://www.cv-library.co.uk/search-jobs?search_term=software",
  "pageUrl": "https://www.cv-library.co.uk/search-jobs?search_term=software",
  "sourceDomain": "www.cv-library.co.uk",
  "pageNumber": 1,
  "position": 1,
  "scrapedAt": "2026-09-10T00:00:00.000Z"
}
```

Download vacancies and diagnostic rows from the Dataset tab. Normal vacancy rows contain source-backed business and crawl-provenance fields; diagnostic rows use `recordType: "diagnostic"` and include `diagnosticType`, `errorCode`, `sourceUrl`, and `scrapedAt`. Internal extraction and transport metadata is not emitted in normal rows. The `OUTPUT_SUMMARY` key-value record contains status, request counts, retry count, and bounded failure URLs.

### Data fields

| Field | Meaning |
| --- | --- |
| `jobId`, `jobTitle`, `company` | Source or URL identity, title, and hiring organization. |
| `companyUrl`, `location`, `department` | Public company and role context when published. |
| `workplaceType`, `employmentType` | Public work arrangement and contract type. |
| `description`, `skills` | Public listing content when available. |
| `datePosted`, `salaryCurrency`, `salaryMin`, `salaryMax` | Conservative structured fields. |
| `url`, `applyUrl` | Public job and application links. |
| `canonicalUrl`, `sourceDomain` | Stable URL identity and public source provenance. |
| `sourceUrl`, `pageUrl`, `pageNumber`, `position` | Crawl provenance. |
| `scrapedAt` | UTC normalization timestamp. |
| `errorCode`, `error` | Minimal fields for access/no-data diagnostics. |

### Pricing

Apify platform usage and any applicable plan charges are separate from this Actor. Cost depends on the platform environment, run duration, and resources allocated. This Actor keeps its public request work bounded, but it cannot guarantee a particular platform bill.

### Tips

Start with one page and a small `maxItems` value. Use a modest `requestDelayMs` for repeated public snapshots. Save the Dataset output if you need a historical record because vacancies and public source markup change over time. Treat access diagnostics as useful operational data when monitoring source availability.

### FAQ and disclaimers

**Why did I receive `source_challenge`?** CV-Library may have returned a visible security action, HTTP 403/429, or another access boundary. The Actor stops within its limits and does not bypass it.

**Does this Actor access private jobs?** No. Only publicly accessible CV-Library pages are in scope.

**Are values inferred?** No. Optional values are emitted only from public structured data, embedded state, or a conservative public job link.

Respect CV-Library's terms, applicable law, and published rate limits. This Actor is for lawful public-data use and does not guarantee completeness, freshness, availability, or continued compatibility with source markup.

### Local development

```bash
npm ci
npm run check
apify run --purge --input-file .actor/input.json
```

# Actor input Schema

## `keyword` (type: `string`):

Public UK job search keyword.

## `location` (type: `string`):

Optional public UK job location.

## `startUrls` (type: `array`):

Optional public CV-Library search or job pages. The keyword/location search is used when omitted.

## `sourceUrls` (type: `array`):

Alias for startUrls; public CV-Library search or job pages.

## `urls` (type: `array`):

Alias for startUrls; public CV-Library search or job pages.

## `url` (type: `string`):

Singular alias for one public CV-Library page.

## `maxItems` (type: `integer`):

Maximum normal vacancies to emit.

## `maxPages` (type: `integer`):

Maximum same-site pages to inspect.

## `maxRequests` (type: `integer`):

Hard cap on public HTTP requests.

## `timeoutSecs` (type: `integer`):

Timeout per public request.

## `requestTimeoutSecs` (type: `integer`):

Alias for timeoutSecs.

## `requestTimeoutMs` (type: `integer`):

Alias for timeoutSecs.

## `maxRetries` (type: `integer`):

Bounded transient/network retries.

## `requestDelayMs` (type: `integer`):

Optional delay between page requests.

## `maxResponseBytes` (type: `integer`):

Maximum accepted HTML response size.

## `includeDiagnostics` (type: `boolean`):

Emit minimal access and no-data rows.

## `deduplicate` (type: `boolean`):

Suppress repeated job IDs or URLs.

## Actor input object example

```json
{
  "keyword": "software engineer",
  "location": "London",
  "maxItems": 10,
  "maxPages": 2,
  "maxRequests": 10,
  "timeoutSecs": 20,
  "maxRetries": 1,
  "requestDelayMs": 0,
  "maxResponseBytes": 2000000,
  "includeDiagnostics": true,
  "deduplicate": true
}
```

# Actor output Schema

## `dataset` (type: `string`):

Normal vacancies and minimal diagnostics.

## `summary` (type: `string`):

Structured OUTPUT_SUMMARY record.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("codingfrontend/cv-library-uk-jobs-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("codingfrontend/cv-library-uk-jobs-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call codingfrontend/cv-library-uk-jobs-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,codingfrontend/cv-library-uk-jobs-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/woI1L4viMzLyZPNHn/builds/Q29HfNQgvAJYMpt8N/openapi.json
