# DOU.ua public jobs scraper (`codingfrontend/dou-ua-scraper`) Actor

Extracts publicly visible DOU.ua job listings from jobs.dou.ua with bounded requests. Security challenges are reported without bypassing them.

- **URL**: https://apify.com/codingfrontend/dou-ua-scraper.md
- **Developed by:** [Coding Frontned](https://apify.com/codingfrontend) (community)
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 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 [DOU.ua](https://jobs.dou.ua/) and emits source-backed Ukrainian IT job records. It prefers public `JobPosting` JSON-LD, checks embedded page state, and supplements structured data with explicit public vacancy links. The default source is `https://jobs.dou.ua/`; supplied URLs must remain on the public `dou.ua` host family.

The Actor is intentionally bounded and public-only. It limits pages, requests, response size, retries, and timeouts; it follows same-site pagination only; and it can emit a minimal diagnostic when DOU.ua returns a Cloudflare/security page, rate limit, unavailable response, or a reachable page with no explicit jobs. It does not log in, use credentials, call private APIs, solve CAPTCHAs, bypass WAF/security checks, or use a proxy configuration.

### Why use this Actor?

Use it for a repeatable snapshot of public DOU.ua vacancies for hiring research, market analysis, or a matching pipeline. Normal rows have a source-provided or URL-derived job ID, title, company, provenance, and conservative optional fields such as location, work mode, employment type, date, salary, skills, description, and application URL. Missing values are omitted rather than guessed. Inventory rank, raw HTML, crawler instrumentation, and legacy page metadata are not written to the Dataset.

### How to use DOU.ua public job data

1. Run the Actor with the default input to request the public jobs home page.
2. Add public DOU.ua listing or vacancy URLs to `startUrls` when you already know the pages to inspect.
3. Set `maxItems`, `maxPages`, and `maxRequests` to the smallest useful bounds.
4. Keep diagnostics enabled while testing so access boundaries are visible.
5. Download the Dataset or use the `OUTPUT_SUMMARY` key-value record for run health.

For a local run from this directory:

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

### Input

```json
{
  "startUrls": [{ "url": "https://jobs.dou.ua/" }],
  "maxItems": 20,
  "maxPages": 3,
  "maxRequests": 10,
  "timeoutSecs": 30,
  "maxRetries": 1,
  "includeDiagnostics": true,
  "deduplicate": true
}
```

`startUrls` defaults to the DOU.ua jobs home page. `sourceUrls`, `urls`, and singular `url` are accepted aliases for public source URLs. `maxItems` limits normal records; `maxPages` and `maxRequests` bound the crawl. `requestDelayMs`, `maxResponseBytes`, `timeoutSecs`, `requestTimeoutSecs`, `requestTimeoutMs`, and `maxRetries` control resource use and request behavior. `includeDiagnostics` controls diagnostic rows, and `deduplicate` suppresses repeated public IDs or URLs.

### Output

```json
{
  "jobId": "dou-42",
  "jobTitle": "Senior JavaScript Engineer",
  "company": "Example UA",
  "location": "Kyiv, UA",
  "workplaceType": "remote",
  "employmentType": "FULL_TIME",
  "description": "Build public products.",
  "datePosted": "2026-09-02T00:00:00.000Z",
  "salaryCurrency": "UAH",
  "salaryMin": 100000,
  "salaryMax": 160000,
  "url": "https://jobs.dou.ua/vacancies/dou-42/",
  "canonicalUrl": "https://jobs.dou.ua/vacancies/dou-42/",
  "sourceUrl": "https://jobs.dou.ua/",
  "pageUrl": "https://jobs.dou.ua/",
  "sourceDomain": "jobs.dou.ua",
  "pageNumber": 1,
  "position": 1,
  "scrapedAt": "2026-09-10T00:00:00.000Z"
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel. 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 key-value store summary contains status, request counts, retries, and bounded failure URLs.

### Data table

| Field | Meaning |
| --- | --- |
| `jobId`, `jobTitle`, `company` | Public job identity and hiring organization. |
| `companyUrl`, `location`, `department` | Public company and role context. |
| `workplaceType`, `employmentType` | Advertised work mode and employment type. |
| `description`, `skills` | Public listing content when published. |
| `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 access/no-data diagnostic fields. |

### Pricing / cost estimation

How much does it cost to scrape DOU.ua? Apify platform usage and any applicable plan charges are separate from this Actor. Cost depends on runtime resources, latency, and pages requested. The Actor caps its own request work, but no particular platform bill is guaranteed. Apify’s API access, scheduling, integrations, monitoring, and platform storage can be used around the local logic when you choose to deploy it.

### Tips or advanced options

Start with one page and a small item limit. Use a modest request delay for repeated snapshots. Keep the default response-size cap and retry budget unless the public source demonstrably needs different limits. A source challenge is operational data: do not treat it as an empty job market or attempt to bypass it.

### FAQ, disclaimers, and support

**Why did I receive `source_challenge`?** DOU.ua may have returned Cloudflare/security verification, HTTP 403/429, or another access boundary. The Actor reports it and stops within its limits.

**Does this Actor access private vacancies?** No. Only public DOU.ua pages are in scope.

**Are missing fields inferred?** No. Optional values are emitted only when published in public structured data or a conservative public link.

Respect DOU.ua’s terms, applicable law, robots guidance, and rate limits. This Actor does not guarantee completeness, freshness, availability, or continued compatibility with source markup. For feedback, use the project’s Issues tab; custom public-data solutions can be scoped separately.

# Actor input Schema

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

Optional public jobs.dou.ua listing or vacancy URLs. The public jobs home page is used when omitted.

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

Alias for public DOU.ua listing or vacancy URLs.

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

Alias for public DOU.ua listing or vacancy URLs.

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

Alias for one public DOU.ua listing or vacancy URL.

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

Maximum public DOU.ua pages requested.

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

Hard cap on public page requests.

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

Maximum normal job records emitted.

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

Timeout per public request.

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

Alias for timeoutSecs.

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

Alias for timeoutSecs in milliseconds.

## `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 diagnostics.

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

Suppress repeated public job IDs or URLs.

## Actor input object example

```json
{
  "startUrls": [],
  "maxPages": 3,
  "maxRequests": 10,
  "maxItems": 20,
  "timeoutSecs": 30,
  "maxRetries": 1,
  "requestDelayMs": 0,
  "maxResponseBytes": 2000000,
  "includeDiagnostics": true,
  "deduplicate": true
}
```

# Actor output Schema

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

Normal jobs 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/dou-ua-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/dou-ua-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/dou-ua-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,codingfrontend/dou-ua-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/NWFuNnvAS3kyOJ4Zp/builds/uq8deYBzBIXLYJimC/openapi.json
