Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .actor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, CacheMetadataItem>, // Dictionary of metadata (and occasionally data [mostly for very small files])
db: Option<Database>, // Pointer to database instance; None if not yet initialized or if failed to initialize
db_ok: Option<bool>, // None by default, Some(true) if was able to initialize database, Some (false) if an error occured
db_ok: Option<bool>, // None by default, Some(true) if was able to initialize database, Some (false) if an error occurred
db_file_path: Option<String>, // Filesystem path to file used for storing database
}

Expand Down
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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");

Expand All @@ -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");

Expand Down