66 Commits

Author SHA1 Message Date
kevinwatt
9d14f6bc01 remove unused test-utils.ts 2025-08-03 00:47:53 +08:00
kevinwatt
fa879ab9ab fix: update prepare script to skip lib check
- Replace shx with standard chmod command
- Add --skipLibCheck flag to resolve type dependencies issue
- Ensure smooth npm publish process
2025-07-28 04:46:20 +08:00
kevinwatt
5aecaa3b20 feat: add video search functionality
- Add new search_videos tool for YouTube video search
- Support configurable search result count (1-50)
- Return formatted results with title, channel, duration, and URL
- Add comprehensive test coverage with real yt-dlp integration
- Update documentation with search examples
- Fix dependency security vulnerabilities
- Bump version to 0.6.27

Resolves: kevinwatt/yt-dlp-mcp#14
2025-07-28 04:45:37 +08:00
Kevin Watt
9ba39128aa Merge pull request #15 from seszele64/implement-trimmed-download
Implement trimmed download

Thanks for the great work on this PR! 🙌

The trimmed download feature looks solid - good implementation with proper tests and documentation. This will be really useful for users who need to download video segments.

Appreciate the contribution!

LGTM 👍
2025-07-28 04:21:22 +08:00
seszele64
353bc8fd22 feat(api): add start and end time docs and examples 2025-07-22 19:14:18 +02:00
seszele64
53437dc472 feat(readme): add start and end time params for trimming 2025-07-22 19:13:25 +02:00
seszele64
cc2b9ec8b6 feat(video): add start and end time params for trimming 2025-07-22 19:13:13 +02:00
seszele64
7278b672f4 test(video): add tests for video download trimming 2025-07-22 19:12:49 +02:00
seszele64
83a2eb9bb8 feat(video): add support for trimming video downloads 2025-07-22 19:12:38 +02:00
Kevin Watt
bbc0e6aa93 Merge pull request #11 from hesreallyhim/fix/add-ignore-config
fix: add `--ignore-config` flag

Seems good, Thanks.
2025-07-16 00:29:56 +08:00
Really Him
8cf7b3f5dc fix: fix contributing doc 2025-06-17 21:08:38 -04:00
Really Him
01709a778b fix: add ignore-config flag 2025-06-17 21:06:25 -04:00
Kevin Watt
da7e4666ed Merge pull request #9 from kevinwatt/revert-8-revert-7-feature/transcript-download
Revert "Revert "feat: add transcript download functionality""
2025-05-30 12:03:50 +08:00
Kevin Watt
f27d22eb81 Revert "Revert "feat: add transcript download functionality"" 2025-05-30 12:03:04 +08:00
Kevin Watt
0de9308a41 Merge pull request #8 from kevinwatt/revert-7-feature/transcript-download
Revert "feat: add transcript download functionality"
2025-05-30 11:59:39 +08:00
Kevin Watt
c79766c241 Revert "feat: add transcript download functionality" 2025-05-30 11:57:52 +08:00
Kevin Watt
4171abc6d0 Merge pull request #7 from msuch/feature/transcript-download
Looks great to me. Thanks for the commit.

feat: add transcript download functionality
2025-05-30 11:56:47 +08:00
m
7900a9b4e1 feat: add transcript download functionality
- Add cleanSubtitleToTranscript utility to strip SRT formatting, timestamps, and HTML tags
- Implement downloadTranscript function using yt-dlp with subtitle cleaning
- Add download_transcript MCP tool with language support (defaults to English)
- Include comprehensive tests for both utility and download functionality
- Update README documentation with tool description and usage examples

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-27 12:00:31 +02:00
kevinwatt
944b0211c6 feat: add random filename fallback when filename cannot be retrieved - Add generateRandomFilename utility function - Modify downloadVideo to use random filename when yt-dlp fails to get filename - Update version to 0.6.26 v0.6.26 2025-02-23 05:53:58 +08:00
kevinwatt
c39fd8785c update README.md v0.6.25 2025-02-22 03:24:44 +08:00
kevinwatt
e9a0e55762 feat: major improvements and version bump to 0.6.24 - Remove prompts functionality (prompts.ts and tests) - Improve error handling with VideoDownloadError class - Move configuration to dedicated file - Add URL validation and security checks - Reorganize code into modules - Add comprehensive unit tests - Enhance documentation with JSDoc and examples v0.6.24 2025-02-22 00:43:15 +08:00
kevinwatt
21689391bd add download_audio tool to README.md 2025-02-21 17:43:33 +08:00
kevinwatt
5152ad4d17 fix yt-dlp error handling for audio download 2025-02-21 17:40:35 +08:00
kevinwatt
c4dcc0eda2 v0.6.23 v0.6.23 2025-02-21 17:22:47 +08:00
kevin
12fa5dbffe v0.6.22 2025-02-21 17:19:13 +08:00
kevin
b3e8ed5f58 feat: improve audio download support
- Add support for various audio formats (m4a/mp3)
- Update audio download format selection logic
- Improve error handling and filename display
- Bump version to 0.6.22
v0.6.22
2025-02-21 17:14:28 +08:00
kevin
576549bc2c update description in README.md 2025-02-21 16:56:45 +08:00
kevin
9c25179fab more descriptive description 2025-02-21 16:55:31 +08:00
kevin
7710184faf fix: update description 2025-02-21 16:54:25 +08:00
kevin
adf1b7178c new description for package.json 2025-02-21 16:52:56 +08:00
kevin
58384bb1a2 fix: improve subtitle handling and tool names
- Rename list_video_subtitles to list_subtitle_languages for clarity
- Update tool descriptions to better reflect functionality
- Improve subtitle listing output format
- Simplify subtitle download parameters
- Add verbose logging for better debugging
- Bump version to 0.6.21
v0.6.21
2025-02-21 16:42:12 +08:00
kevin
5523b1dedd fix: improve subtitle download reliability
- Use --write-sub --write-auto-sub combination for better subtitle support
- Simplify subtitle download logic to handle both regular and auto-generated subtitles
- Add debug logging for better troubleshooting
- Filter only .srt files as final output
- Bump version to 0.6.20
v0.6.20
2025-02-21 15:54:11 +08:00
kevin
5b96dff785 fix: update version 2025-02-21 15:52:42 +08:00
kevin
b0eeb5f831 fix: improve subtitle download reliability
- Use --write-sub --write-auto-sub combination for better subtitle support
- Simplify subtitle download logic to handle both regular and auto-generated subtitles
- Add debug logging for better troubleshooting
- Filter only .srt files as final output
- Bump version to 0.6.19
v0.6.19
2025-02-21 15:52:13 +08:00
kevin
f9c93a0463 feat: improve auto-generated subtitles support
- Update downloadSubtitles to properly handle auto-generated subtitles
- Update listSubtitles to show all available subtitles including auto-generated ones
- Update tool descriptions to clearly indicate auto-generated subtitles support
- Simplify error handling to show direct yt-dlp messages
- Bump version to 0.6.17
v0.6.17
2025-02-21 15:46:33 +08:00
kevin
e1d09fc3ca fix: improve subtitle listing
- Fix listSubtitles to properly show auto-generated subtitles
- Remove redundant error handling in subtitle listing
- Pass through yt-dlp messages directly
- Bump version to 0.6.16
v0.6.16
2025-02-21 15:42:58 +08:00
kevin
7537cd3326 feat: simplify error handling
- Remove custom error types and error codes
- Pass through yt-dlp error messages directly
- Simplify subtitle file filtering
- Bump version to 0.6.15
v0.6.15
2025-02-21 15:40:57 +08:00
kevin
614d865b05 feat: rename download_video_srt to download_video_subtitles
- Rename tool from download_video_srt to download_video_subtitles
- Update tool description to better reflect subtitle format support
- Bump version to 0.6.14
v0.6.14
2025-02-21 15:36:47 +08:00
kevin
c8d2199486 fix: improve subtitle download functionality
- Fixed YouTube subtitle download functionality
- Added support for VTT subtitle format
- Improved subtitle download error handling
- Enhanced auto-generated subtitle detection
v0.6.13
2025-02-21 15:12:19 +08:00
kevin
cbf82eee32 chore: bump version to 0.6.12 v0.6.12 2025-02-21 14:55:30 +08:00
kevin
fecc2d6596 chore: bump version to 0.6.11 v0.6.11 2025-02-21 14:51:51 +08:00
kevinwatt
8b1a44d7b4 feat: improve error handling and add initialization checks
- Add custom error types and error codes
- Add configuration validation
- Add dependency checks
- Add safe cleanup handling
- Improve code organization
v0.6.10
2025-02-21 00:34:18 +08:00
Kevin Watt
480e2c62ad Merge pull request #3 from tedcarnahan/main
Allow yt-dlp to be used for other sites
2025-02-20 18:48:47 +08:00
Ted Carnahan
63fbaf3d4c Update docs 2025-02-19 11:35:27 -06:00
Ted Carnahan
c19e3cb611 Make this tool generic for all videos that yt-dlp handles. 2025-02-19 11:27:15 -06:00
kevinwatt
5d36ffb45a feat: add list subtitles and resolution control v0.6.9 2025-02-15 13:57:28 +08:00
kevinwatt
891654dc08 docs: remove Dive link from README v0.6.8 2025-02-13 22:55:04 +08:00
kevinwatt
613d26ddc4 version 0.6.8 2025-02-13 22:53:54 +08:00
kevinwatt
a4ea1a85cf docs: update README style to match other MCP projects v0.6.7 2025-02-13 22:52:56 +08:00
kevinwatt
6344f33318 update readme 2025-02-13 22:51:33 +08:00