odysee-dl

odysee.com channel content downloader
git clone https://git.ea.contact/odysee-dl
Log | Files | Refs | README

commit a5d36a729533d758d6915c191a0b131b214aab6d
parent 2d9199a9126dec563a5744a93c9c84059fe5d6b1
Author: egor-achkasov <eaachkasov@gmail.com>
Date:   Fri,  8 May 2026 20:15:06 +0000

Add 1s sleep between downloads

Diffstat:
Msrc/lib/lib.rs | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/lib/lib.rs b/src/lib/lib.rs @@ -33,6 +33,7 @@ pub fn run(config: config::Config, tx: std::sync::mpsc::Sender<Event>) -> Result Ok(()) => tx.send(Event::DownloadPostFinished(post.name.clone())).ok(), Err(e) => tx.send(Event::DownloadPostFailed(post.name.clone(), e.to_string())).ok(), }; + std::thread::sleep(std::time::Duration::from_millis(100)); } tx.send(Event::Done).ok();