# ESPN NFL and NBA News Scraper

**Use case:** 

Scrape latest ESPN NFL and NBA news articles, URLs, bylines, timestamps, images, and team tags for sports dashboards.

## Input

```json
{
  "feeds": [
    {
      "sport": "football",
      "league": "nfl",
      "label": "NFL"
    },
    {
      "sport": "basketball",
      "league": "nba",
      "label": "NBA"
    }
  ],
  "maxArticles": 50,
  "includeImages": true,
  "includeRawArticle": false
}
```

## Output

```json
{
  "headline": {
    "label": "Headline",
    "format": "text"
  },
  "description": {
    "label": "Description",
    "format": "text"
  },
  "url": {
    "label": "Article URL",
    "format": "link"
  },
  "sport": {
    "label": "Sport",
    "format": "text"
  },
  "league": {
    "label": "League",
    "format": "text"
  },
  "byline": {
    "label": "Byline",
    "format": "text"
  },
  "publishedAt": {
    "label": "Published at",
    "format": "date"
  },
  "premium": {
    "label": "Premium",
    "format": "boolean"
  },
  "imageUrl": {
    "label": "Image URL",
    "format": "link"
  },
  "categories": {
    "label": "Categories",
    "format": "array"
  },
  "scrapedAt": {
    "label": "Scraped at",
    "format": "date"
  }
}
```

## About this Actor

This example demonstrates how to use [ESPN News Scraper](https://apify.com/automation-lab/espn-news-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/espn-news-scraper) to learn more, explore other use cases, and run it yourself.