UNPKG
cea-core
Version:
cjs (1.0.0)
latest (2.2.1)
2.2.1
2.2.0
2.1.0
2.0.1
2.0.0
1.0.0
0.5.1
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.2
0.2.1
0.2.0
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.1
basic cea api
github.com/ceajs/cea
ceajs/cea
cea-core
/
lib
/
src
/
crawler
/
captcha.d.ts
4 lines
(3 loc)
•
240 B
TypeScript
View Raw
1
2
3
4
import
type
{
UserConfOpts
}
from
'../types/conf'
;
import
type
FetchWithCookie
from
'../utils/fetch-helper.js'
;
export
declare
function
captchaHandler
(
url
:
string
,
fetch
:
FetchWithCookie
,
mode
:
UserConfOpts
[
'captcha'
]
):
Promise
<
string
>;