# Wikipedia webpage text extractor

**Use case:** 

Turn Wikipedia pages into clean text with page titles, language, word counts, and optional metadata for NLP or research pipelines.

## Input

```json
{
  "urls": [
    "https://en.wikipedia.org/wiki/Web_scraping",
    "https://en.wikipedia.org/wiki/Natural_language_processing"
  ],
  "includeMetadata": true
}
```

## Output

```json
{
  "url": {
    "label": "URL"
  },
  "title": {
    "label": "Title"
  },
  "language": {
    "label": "Language"
  },
  "wordCount": {
    "label": "Words"
  },
  "charCount": {
    "label": "Characters"
  },
  "author": {
    "label": "Author"
  },
  "publishedDate": {
    "label": "Published"
  },
  "error": {
    "label": "Error"
  }
}
```

## About this Actor

This example demonstrates how to use [Webpage Text Extractor](https://apify.com/automation-lab/webpage-text-extractor) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/webpage-text-extractor) to learn more, explore other use cases, and run it yourself.