feat: improve subtitle extraction, quality fallback, and documentation

This commit is contained in:
Sʜɪɴᴇɪ Nᴏᴜᴢᴇɴ
2026-06-25 01:43:11 +05:30
parent 3ab0bae18d
commit 9b1ac11ff0
7 changed files with 124 additions and 20 deletions
+20
View File
@@ -1,5 +1,25 @@
# Changelog
## v2.0.1
### Streaming Improvements — Better subtitle extraction, quality fallback
#### Streaming Enhancements
- Improved `extractSubtitles` — now handles multiple provider formats (bonk: file/label/kind/language, others: url/name/lang)
- Updated `getBestStream` — falls back to first active HLS stream when quality metadata is missing
- Updated `getDownloadUrl` — now returns subtitles and bestStream in response
- Added subtitle fields: url, label, language, kind, format, encoding, isDefault
#### Provider Improvements
- Bonk provider confirmed to return subtitles (English, VTT format, captions kind)
- Better handling of providers without quality metadata (bonk, ally, bee return undefined quality)
#### Verified
- Subtitle extraction working: bonk provider returns 1 English subtitle per episode
- Download URL working: bonk provider returns direct download link
- Batch sources: subtitles included in batch responses
---
## v2.0.0
### Major Release — 35 endpoints, streaming improvements, new features