Add weatherapi collector
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
mod markdown_web;
|
||||
mod weatherapi;
|
||||
|
||||
pub use markdown_web::MarkdownWeb;
|
||||
pub use weatherapi::WeatherApi;
|
||||
|
||||
use serde::Deserialize;
|
||||
|
||||
@@ -12,4 +14,7 @@ pub trait Collector {
|
||||
#[derive(Deserialize)]
|
||||
pub struct CollectorConfig {
|
||||
pub markdown_web_links: Vec<String>,
|
||||
|
||||
pub weatherapi_key: Option<String>,
|
||||
pub weatherapi_locations: Vec<String>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user