CCTV Video Page Access Skill
This skill fetches video and program metadata from tv.cctv.com (China Central Television's official video platform).
Supported Page Types
1. Video Pages (VIDE*)
Individual video/episode pages with IDs starting with VIDE.
- Example:
https://tv.cctv.com/2024/04/08/VIDECKyK80JsMgJTjBcFlXLJ240408.shtml
- Returns: Video metadata, GUID, album information, and list of all videos in the same album
2. Album/Collection Pages (VIDA*)
Album or collection pages containing multiple videos with IDs starting with VIDA.
- Example:
https://tv.cctv.com/2023/03/04/VIDAekKSwpiH0NJARZoCDsDH230304.shtml
- Returns: Album metadata and complete list of videos in the collection
Functions
scrape_page
Auto-detect page type and scrape all available metadata.
Parameters:
url (required): The tv.cctv.com page URL
Example:
result = await execute({
"function": "scrape_page",
"url": "https://tv.cctv.com/2024/04/08/VIDECKyK80JsMgJTjBcFlXLJ240408.shtml"
})
Returns:
- For video pages: video metadata, GUID, album info, and list of related videos
- For album pages: album metadata and all videos in the collection
get_video_info
Get detailed video information by GUID.
Parameters:
guid (required): 32-character hexadecimal GUID
Example:
result = await execute({
"function": "get_video_info",
"guid": "0d90555d55bc4e809f05a0bde347c29a"
})
Returns:
- Video title, description, duration, channel, publish time, category, keywords, etc.
get_album_info
Get album information that contains a specific video.
Parameters:
video_id (required): Video ID (starts with VIDE)
Example:
result = await execute({
"function": "get_album_info",
"video_id": "VIDECKyK80JsMgJTjBcFlXLJ240408"
})
Returns:
- Album ID, title, URL, description, and other metadata
get_album_videos
Get all videos in an album/collection.
Parameters:
album_id (required): Album ID (starts with VIDA)
page (optional): Page number, default 1
page_size (optional): Videos per page, default 100
Example:
result = await execute({
"function": "get_album_videos",
"album_id": "VIDA7iCcwXiFGORbpjTBTEdc240407"
})
Returns:
- Total count, page info, and list of videos with metadata (ID, GUID, title, duration, etc.)
Data Fields
Video Metadata
video_id: Video identifier (VIDE...)
guid: 32-char hex identifier used for video playback APIs
title: Video title
brief: Video description/summary
url: Page URL
image: Thumbnail image URL
duration: Video length (HH:MM:SS or MM:SS)
channel: TV channel name (e.g., CCTV-1高清)
publish_time: Publication date and time
category: Primary category (fc)
sub_category: Secondary category (sc)
keywords: Video keywords
Album Metadata
album_id: Album identifier (VIDA...)
album_title: Album/collection title
album_url: Album page URL
album_image: Album cover image
album_brief: Album description
vms_id: System ID
order: Video's position in album
Use Cases
- Extract episode lists: Get all episodes from a program series
- Video metadata extraction: Retrieve comprehensive information about specific videos
- Program discovery: Find related videos within the same album/collection
- Content aggregation: Build catalogs of CCTV programs and episodes
Notes
- The skill uses public API endpoints from api.cntv.cn
- No authentication required
- Responses are in JSON format
- Album pages with VIDX IDs are treated as video variants
- Some older content may have limited metadata availability
1---2name: tv-cctv-com3description: CCTV Video Page Access Skill4---5# CCTV Video Page Access Skill67This skill fetches video and program metadata from **tv.cctv.com** (China Central Television's official video platform).89## Supported Page Types1011### 1. Video Pages (VIDE*)12Individual video/episode pages with IDs starting with `VIDE`.13- Example: `https://tv.cctv.com/2024/04/08/VIDECKyK80JsMgJTjBcFlXLJ240408.shtml`14- Returns: Video metadata, GUID, album information, and list of all videos in the same album1516### 2. Album/Collection Pages (VIDA*)17Album or collection pages containing multiple videos with IDs starting with `VIDA`.18- Example: `https://tv.cctv.com/2023/03/04/VIDAekKSwpiH0NJARZoCDsDH230304.shtml`19- Returns: Album metadata and complete list of videos in the collection2021## Functions2223### scrape_page24Auto-detect page type and scrape all available metadata.2526**Parameters:**27- `url` (required): The tv.cctv.com page URL2829**Example:**30```python31result = await execute({32 "function": "scrape_page",33 "url": "https://tv.cctv.com/2024/04/08/VIDECKyK80JsMgJTjBcFlXLJ240408.shtml"34})35```3637**Returns:**38- For video pages: video metadata, GUID, album info, and list of related videos39- For album pages: album metadata and all videos in the collection4041### get_video_info42Get detailed video information by GUID.4344**Parameters:**45- `guid` (required): 32-character hexadecimal GUID4647**Example:**48```python49result = await execute({50 "function": "get_video_info",51 "guid": "0d90555d55bc4e809f05a0bde347c29a"52})53```5455**Returns:**56- Video title, description, duration, channel, publish time, category, keywords, etc.5758### get_album_info59Get album information that contains a specific video.6061**Parameters:**62- `video_id` (required): Video ID (starts with VIDE)6364**Example:**65```python66result = await execute({67 "function": "get_album_info",68 "video_id": "VIDECKyK80JsMgJTjBcFlXLJ240408"69})70```7172**Returns:**73- Album ID, title, URL, description, and other metadata7475### get_album_videos76Get all videos in an album/collection.7778**Parameters:**79- `album_id` (required): Album ID (starts with VIDA)80- `page` (optional): Page number, default 181- `page_size` (optional): Videos per page, default 1008283**Example:**84```python85result = await execute({86 "function": "get_album_videos",87 "album_id": "VIDA7iCcwXiFGORbpjTBTEdc240407"88})89```9091**Returns:**92- Total count, page info, and list of videos with metadata (ID, GUID, title, duration, etc.)9394## Data Fields9596### Video Metadata97- `video_id`: Video identifier (VIDE...)98- `guid`: 32-char hex identifier used for video playback APIs99- `title`: Video title100- `brief`: Video description/summary101- `url`: Page URL102- `image`: Thumbnail image URL103- `duration`: Video length (HH:MM:SS or MM:SS)104- `channel`: TV channel name (e.g., CCTV-1高清)105- `publish_time`: Publication date and time106- `category`: Primary category (fc)107- `sub_category`: Secondary category (sc)108- `keywords`: Video keywords109110### Album Metadata111- `album_id`: Album identifier (VIDA...)112- `album_title`: Album/collection title113- `album_url`: Album page URL114- `album_image`: Album cover image115- `album_brief`: Album description116- `vms_id`: System ID117- `order`: Video's position in album118119## Use Cases1201211. **Extract episode lists**: Get all episodes from a program series1222. **Video metadata extraction**: Retrieve comprehensive information about specific videos1233. **Program discovery**: Find related videos within the same album/collection1244. **Content aggregation**: Build catalogs of CCTV programs and episodes125126## Notes127128- The skill uses public API endpoints from api.cntv.cn129- No authentication required130- Responses are in JSON format131- Album pages with VIDX IDs are treated as video variants132- Some older content may have limited metadata availability