Krau
4825f0d5b9
Merge branch 'main' into gh-153
2026-01-19 17:37:55 +08:00
Copilot
3e20dc2c5f
feat: add custom parameter support to /ytdlp command ( #185 ), close #184
...
* Initial plan
* Implement parameter support for /ytdlp command
Co-authored-by: krau <71133316+krau@users.noreply.github.com >
* Add comprehensive tests for ytdlp parameter parsing
Co-authored-by: krau <71133316+krau@users.noreply.github.com >
* Improve flag parsing logic and clarify argument order
Co-authored-by: krau <71133316+krau@users.noreply.github.com >
* Preserve critical defaults and improve comments
Co-authored-by: krau <71133316+krau@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: krau <71133316+krau@users.noreply.github.com >
2026-01-19 13:10:21 +08:00
krau
6d5e3a4a16
fix: missing progress stats i18n
2026-01-17 21:37:57 +08:00
Krau
dceb3737f6
Update core/tasks/batchimport/execute.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-17 21:25:49 +08:00
Krau
7c2a9f12fd
Update core/tasks/batchimport/execute.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-17 21:24:15 +08:00
Krau
bb2b053fbd
Update core/tasks/batchimport/execute.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-17 21:21:08 +08:00
Krau
b2c9d6612e
Update core/tasks/batchimport/progress.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-17 21:19:33 +08:00
krau
1d4aa56dd6
feat: add i18n for import command
2026-01-17 19:27:03 +08:00
krau
eda0756f0c
feat: add import command and batch import functionality
...
- Implemented the `/import` command to allow users to import files from storage to Telegram.
- Added support for listing files in storage and filtering based on regex patterns.
- Created a batch import task to handle multiple file uploads concurrently.
- Introduced progress tracking for batch imports, providing real-time updates to users.
- Enhanced storage interfaces to support file listing and reading capabilities.
- Updated localization files for the new import command and its usage instructions.
- Added utility functions for file size formatting and speed calculation.
- Refactored Telegram storage handling to support reading from non-seekable streams.
2026-01-17 18:59:09 +08:00
krau
3ce00884a0
feat: add yt-dlp support for downloading video/audio and enhance related commands
2026-01-17 17:42:11 +08:00
krau
cd7cf4964d
fix: handle context cancellation during aria2 download and improve cleanup logic
2026-01-17 15:22:41 +08:00
krau
bc3c841d1d
fix: update aria2 configuration to include KeepFile option and improve download handling
2026-01-17 15:19:49 +08:00
krau
743c15f1a5
fix: enhance aria2 download handling and logging for follow-up downloads
2026-01-17 15:10:37 +08:00
krau
b05d86509c
feat: basic aria2 integration
2026-01-17 14:57:03 +08:00
krau
6db5633ca6
feat(i18n): Add progress tracking messages for various tasks and enhance error handling
2025-12-19 20:40:14 +08:00
krau
0ca3d97711
feat: add task command to client and Title method to Task for tasks queue managing, #157
2025-12-15 11:29:55 +08:00
krau
c21ff7e499
feat: add direct links download functionality
...
- Implemented a new task type for handling direct links downloads.
- Added command handler for downloading multiple links via /dl command.
- Introduced progress tracking for direct link downloads.
- Enhanced filename parsing to support various encoding scenarios.
- Updated enums to include direct links as a task type.
- Refactored existing task structures to accommodate new functionality.
- Improved error handling and logging throughout the download process.
2025-12-08 17:10:41 +08:00
krau
685047e463
fix: compatibility between tdlib and bot api style chatID
2025-12-04 22:43:22 +08:00
krau
9b3f955e48
feat: use default HTTP client from netutil for task creation
2025-08-24 09:37:52 +08:00
krau
e5d1e143e0
feat: configurable parser and refactor config
2025-08-23 14:29:32 +08:00
Krau
302db2fe75
feat: parse url with js plugins support ( #96 )
...
* feat: WIP. add parser functionality and text message handling
* fix: use json to marshal js result
* feat: add metadata handling and version validation for jsParser
* refactor: rename parser package to parsers and restructure parser handling
* refactor: core code struct and impl parse task handle
* feat: impl parsed download
* fix: seek cache file when processing tph picture
* feat: implement parsed task handling and progress tracking
* feat: enhance task processing with concurrency control and progress tracking
* feat: add resource ID generation and improve resource processing handling
* feat: improve message formatting in parsed text and progress completion
* feat: add example js plugin
* feat: implement Twitter parser
* fix: twitter parse video json decode error
* feat: impl stream mode for parse task
2025-08-21 23:48:17 +08:00