# Line Today Scraper (`futurizerush/line-today-scraper`) Actor

Extract news articles from LINE TODAY. High-quality structured data for news monitoring, research, and analysis.

- **URL**: https://apify.com/futurizerush/line-today-scraper.md
- **Developed by:** [Rush](https://apify.com/futurizerush) (community)
- **Categories:** Automation, News, Social media
- **Stats:** 17 total users, 0 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $5.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/platform/actors/running/actors-in-store#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

## LINE TODAY Taiwan News Scraper

Extract news articles from LINE TODAY Taiwan - one of Taiwan's most popular news platforms. Access the latest news across multiple categories with structured, ready-to-use data.

### Features

- **13 News Categories** - Focus, domestic, global, finance, entertainment, sports, health, life, movie, food, video, anime, and breaking news
- **Full Article Content** - Complete article text automatically extracted
- **High-Quality Images** - Multiple resolution options (580px, 644px, 1200px)
- **Structured JSON Output** - Clean, consistent data format for easy integration
- **Automatic Deduplication** - No duplicate articles across categories

### Use Cases

- **News Monitoring** - Track breaking news and trends across categories
- **Content Research** - Gather articles for analysis and insights
- **Market Intelligence** - Monitor industry-specific news and developments
- **Data Analysis** - Extract structured news data for trend analysis
- **Media Monitoring** - Track news coverage on specific topics

### Quick Start

1. Open this Actor on [Apify](https://apify.com)
2. Select your news categories
3. Click "Start" to collect articles

#### Input Configuration

Select one or more news categories:

| Category | Description |
|----------|-------------|
| Focus | Featured top stories (焦點) |
| Domestic | Taiwan local news (國內) |
| Global | International news (國際) |
| Finance | Business and economy (財經) |
| Entertainment | Celebrity and entertainment (娛樂) |
| Sports | Sports news and events (運動) |
| Health | Health and wellness (健康) |
| Life | Lifestyle and culture (生活) |
| Movie | Film and cinema (電影) |
| Food | Food and travel (美食) |
| Video | Video content (影音) |
| Anime | Anime and manga (動漫) |
| Breaking | Latest breaking news (即時) |

**Example Input:**

```json
{
  "categories": ["domestic", "finance", "sports"]
}
```

### Output Format

Each article includes:

| Field | Description |
|-------|-------------|
| `id` | Unique article identifier |
| `title` | Article headline |
| `url` | Direct link to article |
| `urlHash` | Article URL identifier |
| `publisher` | News publisher name |
| `publisherId` | Publisher identifier |
| `publishTimeUnix` | Publication timestamp (13-digit milliseconds) |
| `category` | News category |
| `contentType` | Article type (GENERAL, TOPIC, POLL) |
| `thumbnail` | High-quality image URL (1200px) |
| `thumbnail_w580` | Medium image (580px) |
| `thumbnail_w644` | Medium image (644px) |
| `thumbnail_w1200` | High-quality image (1200px) |
| `shortDescription` | Article summary |
| `bodyText` | Full article content (plain text) |
| `collectedAt` | Data collection timestamp (ISO 8601) |

#### Example Output

```json
{
  "id": "276124443",
  "title": "醫美負責人遭開槍 曾1億債務慘遭黑道吞千萬",
  "url": "https://today.line.me/tw/v3/article/zN22xKj",
  "urlHash": "zN22xKj",
  "publisher": "鏡報",
  "publisherId": "107676",
  "publishTimeUnix": 1771672440000,
  "category": "domestic",
  "contentType": "GENERAL",
  "thumbnail": "https://today-obs.line-scdn.net/0heutWuObiOlpJLiWk0JBFDXF4Nit6SCBTa0EhPmoqY2pjAnsPIEFpOTkoYXZsFi4OaUlwaGktZWhsF31fcg/w1200",
  "thumbnail_w580": "https://today-obs.line-scdn.net/.../w580",
  "thumbnail_w644": "https://today-obs.line-scdn.net/.../w644",
  "thumbnail_w1200": "https://today-obs.line-scdn.net/.../w1200",
  "shortDescription": "醫美診所初五團拜遭槍擊，警方清查發現負責人過去曾與人發生債務糾紛...",
  "bodyText": "醫美診所初五團拜遭槍擊，警方清查發現負責人過去曾與人發生債務糾紛...",
  "collectedAt": "2026-02-21T13:11:47.454Z"
}
```

### Performance

- Collects all available articles per category
- 4 categories typically complete in under 30 seconds
- Automatic deduplication across categories

### Data Quality

- **Verified Source** - Official LINE TODAY content
- **Real-Time** - Latest published articles
- **Structured** - Clean, consistent JSON format
- **Deduplicated** - Automatic removal of duplicate articles across categories
- **Complete** - Full article text and metadata

### Best Practices

1. **Start with 1-2 categories** to understand the data structure
2. **Select relevant categories** for your specific needs
3. **Schedule regular runs** to monitor new articles
4. **Use the category filter** for targeted news tracking

### Limitations

- Taiwan region only
- Public news content only
- Special article types (TOPIC, POLL) may have limited metadata
- Promotional/partner content (EXTERNAL) is automatically filtered out

# Actor input Schema

## `categories` (type: `array`):

Select one or more news categories to collect articles from. Each category returns the latest available articles.

## Actor input object example

```json
{
  "categories": [
    "domestic",
    "focus"
  ]
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `fullContent` (type: `string`):

No description

# 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 = {
    "categories": [
        "domestic",
        "focus"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("futurizerush/line-today-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 = { "categories": [
        "domestic",
        "focus",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("futurizerush/line-today-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "categories": [
    "domestic",
    "focus"
  ]
}' |
apify call futurizerush/line-today-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=futurizerush/line-today-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

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