diff --git a/.actor/README.md b/.actor/README.md index 0e4c27cb..eb74f2de 100644 --- a/.actor/README.md +++ b/.actor/README.md @@ -85,7 +85,7 @@ The Actor provides three types of outputs: - **Memory Requirements**: - Minimum: 4168 MB RAM - **Processing Time**: - - 30s per compex page like [bbc.co.uk](https://bbc.co.uk) + - 30s per complex page like [bbc.co.uk](https://bbc.co.uk) For more help, check the [Monolith Project documentation](https://github.com/Y2Z/monolith) or raise an issue in the [Actor page detail](https://apify.com/snshn/monolith?fpr=snshn) on Apify. diff --git a/src/cache.rs b/src/cache.rs index ed17cd6d..3c372aa7 100644 --- a/src/cache.rs +++ b/src/cache.rs @@ -16,7 +16,7 @@ pub struct Cache { min_file_size: usize, // Only use database for assets larger than this size (in bytes), otherwise keep them in RAM metadata: HashMap, // Dictionary of metadata (and occasionally data [mostly for very small files]) db: Option, // Pointer to database instance; None if not yet initialized or if failed to initialize - db_ok: Option, // None by default, Some(true) if was able to initialize database, Some (false) if an error occured + db_ok: Option, // None by default, Some(true) if was able to initialize database, Some (false) if an error occurred db_file_path: Option, // Filesystem path to file used for storing database } diff --git a/src/main.rs b/src/main.rs index 89bcc293..90faed95 100644 --- a/src/main.rs +++ b/src/main.rs @@ -263,7 +263,7 @@ fn main() { } // Initiate session - let ouptput_format = options.output_format.clone(); + let output_format = options.output_format.clone(); let silent = options.silent; let session: Session = Session::new(cache, cookies, options); @@ -278,7 +278,7 @@ fn main() { let mut output = Output::new( &destination.unwrap_or(String::new()), &title.unwrap_or_default(), - ouptput_format, + output_format, ) .expect("could not prepare output"); @@ -300,7 +300,7 @@ fn main() { let mut output = Output::new( &destination.unwrap_or(String::new()), &title.unwrap_or_default(), - ouptput_format, + output_format, ) .expect("could not prepare output");