✨ feat: define common behaviour for all engines
This commit is contained in:
parent
c223fed394
commit
27247baf0c
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ pub trait SearchEngine {
|
|||
// fetch the html from upstream search engine
|
||||
Ok(reqwest::Client::new()
|
||||
.get(url)
|
||||
.timeout(Duration::from_secs(5))
|
||||
.timeout(Duration::from_secs(30))
|
||||
.headers(header_map) // add spoofed headers to emulate human behaviour
|
||||
.send()
|
||||
.await
|
||||
|
|
Loading…
Add table
Reference in a new issue