Skip to content

Commit

Permalink
chore(chrome): fix compile fs flag
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Jan 5, 2025
1 parent 2734b93 commit 5ce15b8
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 17 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spider/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider"
version = "2.24.5"
version = "2.24.6"
authors = [
"j-mendez <jeff@spider.cloud>"
]
Expand Down
2 changes: 0 additions & 2 deletions spider/src/page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -879,8 +879,6 @@ impl Page {
viewport: &Option<crate::configuration::Viewport>,
request_timeout: &Option<Box<Duration>>,
) -> Self {
let request_timeout = request_timeout.as_deref().map(|r| *r);

let page_resource = crate::utils::fetch_page_html(
&url,
&client,
Expand Down
6 changes: 3 additions & 3 deletions spider/src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1881,7 +1881,7 @@ pub async fn fetch_page_html(
execution_scripts: &Option<ExecutionScripts>,
automation_scripts: &Option<AutomationScripts>,
viewport: &Option<crate::configuration::Viewport>,
request_timeout: &Option<tokio::time::Duration>,
request_timeout: &Option<Box<std::time::Duration>>,
) -> PageResponse {
use crate::tokio::io::{AsyncReadExt, AsyncWriteExt};
use percent_encoding::{utf8_percent_encode, NON_ALPHANUMERIC};
Expand All @@ -1901,7 +1901,7 @@ pub async fn fetch_page_html(
execution_scripts,
automation_scripts,
&viewport,
&request_timeout.map(Box::new),
&request_timeout,
)
.await
{
Expand Down Expand Up @@ -2082,7 +2082,7 @@ pub async fn fetch_page_html_chrome(
execution_scripts: &Option<ExecutionScripts>,
automation_scripts: &Option<AutomationScripts>,
viewport: &Option<crate::configuration::Viewport>,
request_timeout: &Option<Box<tokio::time::Duration>>,
request_timeout: &Option<Box<std::time::Duration>>,
) -> PageResponse {
match &page {
page => {
Expand Down
2 changes: 1 addition & 1 deletion spider_chrome/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_chrome"
version = "2.24.5"
version = "2.24.6"
rust-version = "1.70"
authors = [
"j-mendez <jeff@spider.cloud>"
Expand Down
2 changes: 1 addition & 1 deletion spider_cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_cli"
version = "2.24.5"
version = "2.24.6"
authors = [
"j-mendez <jeff@spider.cloud>"
]
Expand Down
2 changes: 1 addition & 1 deletion spider_transformations/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_transformations"
version = "2.24.5"
version = "2.24.6"
authors = [
"j-mendez <jeff@spider.cloud>"
]
Expand Down
2 changes: 1 addition & 1 deletion spider_utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_utils"
version = "2.24.5"
version = "2.24.6"
authors = [
"j-mendez <jeff@spider.cloud>"
]
Expand Down
2 changes: 1 addition & 1 deletion spider_worker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_worker"
version = "2.24.5"
version = "2.24.6"
authors = [
"j-mendez <jeff@spider.cloud>"
]
Expand Down

0 comments on commit 5ce15b8

Please sign in to comment.