Commit graph

22 commits

Author SHA1 Message Date
mykola2312
e35f84cdc3 implement function to find best audio format 2024-02-20 16:39:15 +02:00
mykola2312
b6f5dc234d rename to av because its video with audio 2024-02-20 16:09:11 +02:00
mykola2312
9048693a15 instead of sorting just find max width height format 2024-02-20 16:06:58 +02:00
mykola2312
1cef56d964 implement function to find best quality video format 2024-02-20 14:24:19 +02:00
mykola2312
33c49cc56f check exit status instead of stdout empty & stderr non-empty. also begin working on algorithm to determine best format 2024-02-19 20:24:20 +02:00
mykola2312
28771f3e28 implement pretty output for YtDlpFormat 2024-02-19 14:50:44 +02:00
mykola2312
4c6804a76f fix yt-dlp's "none" string value to real None variant 2024-02-19 14:37:19 +02:00
mykola2312
852f27ca73 impl From traits for error type for easy usage 2024-02-19 14:20:04 +02:00
mykola2312
e958d4ef0e implement YtDlpError 2024-02-19 13:46:27 +02:00
mykola2312
2e57b92e32 use tokio process instead of sync one 2024-02-19 13:12:52 +02:00
mykola2312
5f3f2096e8 cargo fmt 2024-02-19 12:48:40 +02:00
mykola2312
87d25880f6 implement async process spawning 2024-02-19 12:48:10 +02:00
mykola2312
1b0b3972cd add yt-dlp json struct deserializers 2024-02-19 11:44:55 +02:00
mykola2312
2619da8e05 begin working on yt-dlp wrapper 2024-02-19 11:33:39 +02:00
mykola2312
22987242f7 move to bot_main so I can test program without running huge teloxide 2024-02-19 11:33:20 +02:00
mykola2312
f8622d062e remove pyo3 2024-02-19 09:29:43 +02:00
mykola2312
20f9aec334 add todo reminder to ditch pyo3 ffi because of lack subinterpreter support 2024-02-18 20:02:32 +02:00
mykola2312
161138544e implement yt-dlp FFI and working bot command to download 2024-02-18 19:29:36 +02:00
mykola2312
14393d35be remove dead code 2024-02-18 19:12:21 +02:00
mykola2312
8c8a4ad3ab begin implementing downloader functionality 2024-02-18 18:27:51 +02:00
mykola2312
0fee28eb60 fix warnings 2024-02-18 10:57:03 +02:00
mykola2312
74bf64930a initial commit 2023-10-05 02:08:01 +03:00