MLB Search Results Scraper 🎯⚾

MLB Search Results Scraper 🎯⚾

A powerful scraper for MLB.com video search results. Extract comprehensive video metadata including titles, descriptions, and statistics. Perfect for sports analysts, content creators, and baseball enthusiasts looking to gather MLB video content programmatically. 🎯⚾

NEWSApify

Features ✨

  • Scrapes video search results from MLB.com official website
  • Supports custom search queries
  • Handles pagination automatically
  • Built-in stealth and anti-detection mechanisms
  • Random delays and user agent rotation
  • Efficient data collection with request interception

Use Cases 🎯

  • Sports content analysis
  • Baseball video content aggregation
  • Player highlights collection
  • Sports media research
  • Content curation for baseball fans

Input Parameters 📝

FieldTypeDescription
searchUrlsArrayList of MLB.com search URLs to scrape
maxItemsIntegerMaximum number of items to collect (optional)

Output Format 📊

The actor outputs detailed information about each video result, including:

  • Title
  • Description
  • Video URL
  • Thumbnail
  • Publication date
  • Duration
  • View count
  • Related metadata

Usage Tips 💡

  1. Use specific search terms in the URL for targeted results
  2. Adjust maxItems based on your data needs
  3. Monitor the run console for real-time progress
  4. Results are saved in structured JSON format

Limitations ⚠️

  • Respects MLB.com's terms of service
  • Rate limiting and random delays implemented
  • Maximum recommended items per run: 1000

Input Example

A full explanation of an input example in JSON.

1{
2    "searchUrls": ["https://www.mlb.com/search?q=abbott&filter=video"],
3    "maxItems": 60
4}

Output sample

The results will be wrapped into a dataset which you can always find in the Storage tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

1[
2	{
3		"title": "Buck Farmer against the Pirates",
4		"url": "https://www.mlb.com/video/andrew-abbott-against-the-pirates",
5		"lastUpdatedDate": 1724436651130,
6		"contentDate": 1724365845126,
7		"teamCode": null,
8		"teamFileCode": [],
9		"teamName": [],
10		"playerName": [
11			"Andrew Abbott"
12		],
13		"homeTeamCode": "pit",
14		"awayTeamCode": "cin",
15		"gameDateTime": "2024-08-23T22:40:00Z",
16		"gamePk": "745460",
17		"gameTitle": "2024/08/23 cin@pit",
18		"taxonomy": [
19			"data-visualization"
20		],
21		"contentType": "video",
22		"entityId": "4200e904-b772-4320-8133-9ebfb31e57e5",
23		"culture": "en-us",
24		"thumbnailUrl": "https://img.mlbstatic.com/mlb-images/image/upload/w_250,h_250,c_thumb,g_auto,q_auto,f_jpg/mlb/bs3daoifxlnpg7kpd1ww",
25		"templateUrl": "https://img.mlbstatic.com/mlb-images/image/upload/{formatInstructions}/mlb/bs3daoifxlnpg7kpd1ww",
26		"playerId": [
27			671096
28		],
29		"description": "Hits against Farmer in their last three matchups",
30		"blurb": "Buck Farmer against the Pirates",
31		"duration": "00:00:11",
32		"objectID": "b693e544-d0bf-4fb0-8e1d-d44efda99106"
33	},
34    ...
35]

Frequently Asked Questions

Is it legal to scrape job listings or public data?

Yes, if you're scraping publicly available data for personal or internal use. Always review Websute's Terms of Service before large-scale use or redistribution.

Do I need to code to use this scraper?

No. This is a no-code tool — just enter a job title, location, and run the scraper directly from your dashboard or Apify actor page.

What data does it extract?

It extracts job titles, companies, salaries (if available), descriptions, locations, and post dates. You can export all of it to Excel or JSON.

Can I scrape multiple pages or filter by location?

Yes, you can scrape multiple pages and refine by job title, location, keyword, or more depending on the input settings you use.

How do I get started?

You can use the Try Now button on this page to go to the scraper. You’ll be guided to input a search term and get structured results. No setup needed!