Commit graph

25 commits

Author SHA1 Message Date
mykola2312
d229e184dc finish making default downloader use spawn_pipe 2024-03-31 19:33:52 +03:00
mykola2312
b82b2ace4c just let yt-dlp choose default format, however we need to determine file extension or telegram may reject file 2024-03-31 14:55:14 +03:00
mykola2312
b0afa21511 implement separate download logic for youtube and tiktok, allowing for better quality decisions. DI via enums 2024-03-30 09:03:03 +02:00
mykola2312
a85e36f1f2 use tmp file struct instead of paths and manual file deletion 2024-03-30 05:11:46 +02:00
mykola2312
82897a8e36 begin implementing tmp file struct for better file management 2024-03-30 04:39:56 +02:00
mykola2312
d8e8b61020 rename 2024-03-16 05:53:08 +02:00
mykola2312
49fc4056ad always delete intermediate files 2024-03-16 05:52:39 +02:00
mykola2312
968eedc7ee implement audio and video stream downloading. doesnt work because of telegram api too large error 2024-03-16 05:48:40 +02:00
mykola2312
578d236c64 begin implementing 1080p downloading (requires both video and audio downloaded separately and joined) 2024-03-16 05:23:55 +02:00
mykola2312
2910036a4c implement default format fallback 2024-03-16 03:03:33 +02:00
mykola2312
c3a97c74e3 introduce logging to important functions 2024-02-26 22:46:08 +02:00
mykola2312
1fd2c2be30 implement bot command to download video 2024-02-21 21:04:21 +02:00
mykola2312
475f2a92db delete tmp file if error happens 2024-02-21 20:28:31 +02:00
mykola2312
c337c6ea98 finish implementing download function 2024-02-21 19:27:01 +02:00
mykola2312
6300a0cbfc use result for better error handling dx 2024-02-21 19:25:15 +02:00
mykola2312
2aa3974896 implementing some downloady stuff 2024-02-21 19:19:54 +02:00
mykola2312
a3217274e3 begin implementing generic download function 2024-02-21 18:48:03 +02:00
mykola2312
71ab0e76bd make separate process spawn function with error types to avoid code duplication 2024-02-20 21:01:41 +02:00
mykola2312
64e08e29f8 begin implementing ffmpeg interface 2024-02-20 20:26:45 +02:00
mykola2312
2e57b92e32 use tokio process instead of sync one 2024-02-19 13:12:52 +02:00
mykola2312
87d25880f6 implement async process spawning 2024-02-19 12:48:10 +02:00
mykola2312
2619da8e05 begin working on yt-dlp wrapper 2024-02-19 11:33:39 +02:00
mykola2312
f8622d062e remove pyo3 2024-02-19 09:29:43 +02:00
mykola2312
161138544e implement yt-dlp FFI and working bot command to download 2024-02-18 19:29:36 +02:00
mykola2312
8c8a4ad3ab begin implementing downloader functionality 2024-02-18 18:27:51 +02:00