@newspapper/core
Preparing search index...
SearchOptions
Interface SearchOptions
interface
SearchOptions
{
keywords
:
string
[]
;
maxPerSource
?:
number
;
userAgent
?:
string
;
requestTimeoutMs
?:
number
;
onProgress
?:
(
e
:
ScrapeProgressEvent
)
=>
void
;
}
Index
Properties
keywords
max
Per
Source?
user
Agent?
request
Timeout
Ms?
on
Progress?
Properties
keywords
keywords
:
string
[]
Case-insensitive substrings to match, OR'd together. At least one is required.
Optional
max
Per
Source
maxPerSource
?:
number
Optional
user
Agent
userAgent
?:
string
Optional
request
Timeout
Ms
requestTimeoutMs
?:
number
Optional
on
Progress
onProgress
?:
(
e
:
ScrapeProgressEvent
)
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
keywords
max
Per
Source
user
Agent
request
Timeout
Ms
on
Progress
@newspapper/core
Loading...
Case-insensitive substrings to match, OR'd together. At least one is required.