MLB Search Results Scraper 🎯⚾
2 hours trial then $19.99/month - No credit card required now
MLB Search Results Scraper 🎯⚾
2 hours trial then $19.99/month - No credit card required now
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. 🎯⚾
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 📝
Field | Type | Description |
---|---|---|
searchUrls | Array | List of MLB.com search URLs to scrape |
maxItems | Integer | Maximum 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 💡
- Use specific search terms in the URL for targeted results
- Adjust maxItems based on your data needs
- Monitor the run console for real-time progress
- 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]