mirror of
https://github.com/OMGeeky/downloader.git
synced 2026-02-23 15:38:31 +01:00
small fix & dependency update
This commit is contained in:
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -384,8 +384,8 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "downloader_config"
|
name = "downloader_config"
|
||||||
version = "0.4.0"
|
version = "0.4.2"
|
||||||
source = "git+https://github.com/OMGeeky/downloader_config#c3cff264c2bcb3815a8d5652864399a5d436eaad"
|
source = "git+https://github.com/OMGeeky/downloader_config#73a397ecff948cb8264e9ebf417f585f98526668"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"serde",
|
"serde",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "downloader"
|
name = "downloader"
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
@@ -9,7 +9,7 @@ edition = "2021"
|
|||||||
google_bigquery_v2 = { version = "0.2", git = "https://github.com/OMGeeky/google_bigquery_v2" }
|
google_bigquery_v2 = { version = "0.2", git = "https://github.com/OMGeeky/google_bigquery_v2" }
|
||||||
google_youtube = { version = "0.1", git = "https://github.com/OMGeeky/google_youtube" }
|
google_youtube = { version = "0.1", git = "https://github.com/OMGeeky/google_youtube" }
|
||||||
twitch_data = { version = "0.1", git = "https://github.com/OMGeeky/twitch_data" }
|
twitch_data = { version = "0.1", git = "https://github.com/OMGeeky/twitch_data" }
|
||||||
downloader_config = { version = "0.4", git = "https://github.com/OMGeeky/downloader_config" }
|
downloader_config = { version = "0.4.2", git = "https://github.com/OMGeeky/downloader_config" }
|
||||||
tokio = "1.23"
|
tokio = "1.23"
|
||||||
chrono = "0.4.23"
|
chrono = "0.4.23"
|
||||||
nameof = "1.2.2"
|
nameof = "1.2.2"
|
||||||
|
|||||||
@@ -174,8 +174,8 @@ async fn get_not_downloaded_videos_from_db(
|
|||||||
);
|
);
|
||||||
let user_login = video.user_login.clone().unwrap().to_lowercase();
|
let user_login = video.user_login.clone().unwrap().to_lowercase();
|
||||||
let streamer =
|
let streamer =
|
||||||
data::Streamers::get_by_pk(client.clone(), &user_login.clone()).await;
|
data::Streamers::get_by_pk(client.clone(), &user_login).await;
|
||||||
if streamer.is_ok() {
|
if streamer.is_err() {
|
||||||
// .expect(format!("Streamer with login not found: {}", user_login).as_str());
|
// .expect(format!("Streamer with login not found: {}", user_login).as_str());
|
||||||
warn!("Streamer with login not found: {}", user_login);
|
warn!("Streamer with login not found: {}", user_login);
|
||||||
return Ok(None);
|
return Ok(None);
|
||||||
|
|||||||
Reference in New Issue
Block a user