Highlights
- Added richer video metadata extraction from structured page data and detail page taxonomy.
- Normalized redundant fields in list and detail responses.
- Preserved crawling/navigation capabilities and validated behavior with unit and live integration tests.
Breaking Changes
List item schema
- Removed
path - Removed
views - Added
videoId - Added
watchCountas a number
Detail schema
- Removed
image - Removed
views - Added
thumbnailUrls - Added
watchCountas a number
Added
Detail responses now include:
videoIddurationSecondsthumbnailUrlswatchCountvoteCountratingPercentuploadDatedescriptioncontentUrltagscategories
Migration Guide
- Replace list
pathusage withvideoIdplusurlas needed. - Replace string
viewswith numericwatchCountfor sorting/filtering. - Replace
details.imagewithdetails.thumbnailUrls[0]for the primary thumbnail. - Replace
details.viewswithdetails.watchCount.
Validation
npm run lint✅npm run coverage✅ (100% statements/branches/functions/lines)npm run test:integration✅