1.3.11 • Published 12 days ago
@ossiana/node-libcurl v1.3.11
node-libcurl
Different with Nodejs fetch api
- The fingerprint can be customized to look like chrome or firefox ,it modified the BoringSSL extension, set the custom cipher suite with Libcurl
Attention by custom ja3 fingerprint!!!
- ssl support for node-libcurl is provided by boringssl
- boringssl does not provided the following support
- extension support group only support P-256, P-384, P-521, X25519, but the library was modified to provide dummy support groups, like ffdhe2048, ffdhe3072 (ja3 is 256,257). if you use them, it may cause an SSL connection error. This depends on whether the server selects these two support groups
- ec_point_format (ja3 is ...,0-1-2) only support 0 (uncompressed)
Build Status
Platform | Support |
---|---|
Windows (x64) | Yes |
Windows (x86) | No |
Windows (arm) | No |
Ubuntu (x86_64) | Yes |
MacOS (x86_64) | Yes |
MacOS (arm64) | Yes |
How to Install
npm i -g @ossiana/node-libcurl
Use Sample
import as ES Module
import { LibCurl, fetch, requests } from '@ossiana/node-libcurl'
import as CommonJS Module
const { LibCurl, fetch, requests } = require('@ossiana/node-libcurl')
browser fetch style
fetch("https://xxx.io/api/graphql/").then(e => e.json())
requests style
const session = requests.session();
session.setCookie('ua', '123=/1a', '.baidu.com', '/');
const res = await session.get('https://www.baidu.com', {
headers: {
"user-Agent": "1"
}
});
console.log(res.headersMap);
console.log(session.getCookiesMap().get('ua'));
console.log(res.text);
1.3.11
12 days ago
1.3.10
2 months ago
1.3.9
2 months ago
1.3.7
2 months ago
1.3.6
2 months ago
1.3.5
3 months ago
1.2.10
3 months ago
1.3.4
3 months ago
1.3.1
3 months ago
1.3.0
3 months ago
1.2.8
3 months ago
1.2.7
3 months ago
1.2.0
7 months ago
1.2.6
5 months ago
1.2.5
5 months ago
1.2.4
6 months ago
1.2.3
7 months ago
1.2.2
7 months ago
1.2.1
7 months ago
1.1.4-alpha-3
10 months ago
1.0.0-test-ci-3
7 months ago
1.1.3-alpha-2
1 year ago
1.1.3-alpha-1
1 year ago
1.1.4-alpha-1
11 months ago
1.1.4-alpha-2
11 months ago
1.1.3-alpha-4
1 year ago
1.1.3-alpha-3
1 year ago
1.1.3-alpha-6
12 months ago
1.1.3-alpha-5
1 year ago
1.1.2-alpha-6
1 year ago
1.0.9-alpha-5
1 year ago
1.1.2-alpha-7
1 year ago
1.1.2-alpha-4
1 year ago
1.0.9-alpha-3
1 year ago
1.1.2-alpha-5
1 year ago
1.0.9-alpha-2
1 year ago
1.0.9-alpha-1
1 year ago
1.0.8-alpha-3
1 year ago
1.0.8-alpha-4
1 year ago
1.0.8-alpha-5
1 year ago
1.0.8-alpha-1
1 year ago
1.0.8-alpha-2
1 year ago
1.1.0-alpha-1
1 year ago
1.1.0-alpha-4
1 year ago
1.1.0-alpha-5
1 year ago
1.1.0-alpha-2
1 year ago
1.1.0-alpha-3
1 year ago
1.1.1-alpha-3
1 year ago
1.1.1-alpha-1
1 year ago
1.1.1-alpha-2
1 year ago
1.1.2-alpha-2
1 year ago
1.1.2-alpha-3
1 year ago
1.1.2-alpha-1
1 year ago
1.0.7-alpha-1
1 year ago
1.0.7-alpha-2
1 year ago
1.0.7-alpha-3
1 year ago
1.0.6-alpha-3
1 year ago
1.0.6-alpha-2
1 year ago
1.0.6-alpha-1
1 year ago
1.0.6-alpha
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago