# demo scraper (`aligned_safe/demo-scraper`) Actor

.....

- **URL**: https://apify.com/aligned\_safe/demo-scraper.md
- **Developed by:** [Vaidik Dubey](https://apify.com/aligned_safe) (community)
- **Categories:** Jobs, Lead generation, Developer tools
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $50.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## LinkedIn Jobs Scraper

A fast and reliable LinkedIn job scraper that works **without authentication**. Scrapes job listings with optional filters for location, experience level, job type, and more.

### ✨ Features

- ✅ **No Authentication Required** — Works with public LinkedIn job listings
- ✅ **Fast Scraping** — 60+ jobs per page in ~2 minutes
- ✅ **Smart Deduplication** — Skips previously scraped jobs
- ✅ **Multiple Filters** — Location, experience, workplace type, job type, etc.
- ✅ **Reliable Data** — Consistent results across runs
- ✅ **CSV & JSON Output** — Export in your preferred format

### 📊 Output Format

Returns jobs with the following fields:

- **job\_id** — LinkedIn job ID
- **job\_title** — Job title/role name
- **company\_name** — Hiring company
- **job\_location** — Location (city, region, or "Remote")
- **posted\_date** — When the job was posted
- **num\_applicants** — Number of applicants (when available)
- **job\_url** — Direct LinkedIn job link
- **scraped\_at** — Timestamp of scraping

### 🎯 Input Parameters

#### Required

| Parameter | Type | Description | Example |
|-----------|------|-------------|---------|
| **keyword** | string | Job title or keyword | "Full Stack Engineer" |
| **location** | string | Job location | "Singapore" / "Remote" |

#### Optional

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| **pages** | integer | 1 | Pages to scrape (1-20). 1 page ≈ 25-60 jobs |
| **workplace** | string | - | Filter: `remote`, `hybrid`, `onsite` |
| **experience** | string | - | Filter: `internship`, `entry`, `associate`, `mid-senior`, `director`, `executive` |
| **jobType** | string | - | Filter: `full-time`, `part-time`, `contract`, `temporary`, `volunteer` |
| **easyApply** | boolean | false | Show only Easy Apply jobs |
| **under10Applicants** | boolean | false | Show only jobs with <10 applicants |

### 💡 Example Usage

#### Search 1: Basic Search (3 pages)

```json
{
  "keyword": "Python Developer",
  "location": "Singapore",
  "pages": 3
}
```

**Result:** ~180 Python developer jobs in Singapore (≈6 minutes)

#### Search 2: Filtered Search

```json
{
  "keyword": "Data Scientist",
  "location": "Remote",
  "pages": 2,
  "experience": "mid-senior",
  "jobType": "full-time"
}
```

**Result:** ~120 remote mid-senior Data Scientist jobs (full-time only)

#### Search 3: Niche Search

```json
{
  "keyword": "Product Manager",
  "location": "New York",
  "pages": 1,
  "easyApply": true,
  "under10Applicants": true
}
```

**Result:** Product Manager jobs in NYC with <10 applicants and Easy Apply

### ⏱️ Performance

| Scope | Time | Est. Jobs |
|-------|------|-----------|
| 1 page | ~2 min | 25-60 |
| 3 pages | ~6 min | 75-180 |
| 5 pages | ~10 min | 125-300 |
| 10 pages | ~20 min | 250-600 |
| 20 pages | ~40 min | 500-1200 |

*Times vary based on network speed and LinkedIn response time*

### 💰 Pricing

This actor uses Actor compute time based on:

- **Memory:** 1024 MB
- **Runtime:** ~2 min per page

**Estimated cost:**

- 1 page search: $0.05-0.10
- 5 pages search: $0.25-0.50
- 20 pages search: $1.00-2.00

*Actual pricing depends on Apify's compute costs in your region*

### 🔧 Technical Details

- **Language:** Python 3.11
- **Browser:** Playwright (Chromium)
- **Parser:** BeautifulSoup4
- **Export:** CSV (default) / JSON (via Apify dataset)

### 📝 Notes

- Jobs are deduplicated using job\_id + company\_name + title hash
- Salary data is not available on public LinkedIn listing pages
- Some fields may be empty if LinkedIn doesn't display them
- Resume mode: Running the same search twice won't re-scrape existing jobs

### 🆘 Support

For issues or feature requests, check Apify documentation or create an issue in the repository.

***

**Version:** 1.0.0\
**Last Updated:** 2026-07-03

# Actor input Schema

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

Job title or keyword to search for (e.g., 'Full Stack Engineer', 'Python Developer')

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

Job location (e.g., 'Singapore', 'Remote', 'New York', 'London')

## `pages` (type: `integer`):

Number of pages to scrape. 1 page = ~25-60 jobs. (Max 20 pages)

## `workplace` (type: `string`):

Filter by workplace type

## `experience` (type: `string`):

Filter by experience level required

## `jobType` (type: `string`):

Filter by job type

## `easyApply` (type: `boolean`):

Show only jobs with Easy Apply option

## `under10Applicants` (type: `boolean`):

Show only jobs with less than 10 applicants

## Actor input object example

```json
{
  "keyword": "Full Stack Engineer",
  "location": "Singapore",
  "pages": 1,
  "workplace": "",
  "experience": "",
  "jobType": "",
  "easyApply": false,
  "under10Applicants": false
}
```

# 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("aligned_safe/demo-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("aligned_safe/demo-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 aligned_safe/demo-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,aligned_safe/demo-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/UnPldgi7CbmRjmfSC/builds/YeaHGQpfKdFJL4EB2/openapi.json
