1.10.23 • Published 1 month ago
@sparanoid/eop-extractor-douyin v1.10.23
@sparanoid/eop-extractor-douyin
Pure RENDER_DATA
data extractor/scraper for Douyin without using API.
Features
- Simple, fast, ESM by default
- Minimal dependencies, HTTPS requests by got
Usage
import extract from '@sparanoid/eop-extractor-douyin';
const url = `https://www.douyin.com/user/MS4wLjABAAAA5ZrIrbgva_HMeHuNn64goOD2XYnk4ItSypgRHlbSh1c`;
const resp = await extract(url);
console.log(resp._location);
//=> /user/MS4wLjABAAAA5ZrIrbgva_HMeHuNn64goOD2XYnk4ItSypgRHlbSh1c
Options
const options = {
mobileUserAgent: `got`,
desktopUserAgent: `got`,
requestOptions: {
timeout: {
request: 3000
},
retry: {
limit: 2,
maxRetryAfter: 5,
}
}
}
await extract(url, options);
License
AGPL-3.0
1.10.23
1 month ago
1.10.16
10 months ago
1.10.5
12 months ago
1.10.7
11 months ago
1.10.6
12 months ago
1.10.11
11 months ago
1.9.5
12 months ago
1.9.0
1 year ago
1.8.20
1 year ago
1.8.21
1 year ago
1.8.17
1 year ago
1.8.18
1 year ago
2.0.0
1 year ago
1.8.8
1 year ago
1.8.7
1 year ago
1.8.6
1 year ago
1.8.5
1 year ago
1.8.4
2 years ago
1.8.2
2 years ago
1.8.0
2 years ago
1.7.15
2 years ago
1.7.10
2 years ago
1.7.5
2 years ago
1.7.2
2 years ago
1.6.3
2 years ago
1.6.0
2 years ago