@iflyrpa/actions 4.0.4-beta.7 → 4.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/searchAccountInfo/index.d.ts +2 -4
- package/dist/actions/searchAccountInfo/types.d.ts +1 -21
- package/dist/actions/searchPublishInfo/index.d.ts +0 -7
- package/dist/actions/searchPublishInfo/types.d.ts +0 -97
- package/dist/actions/shipinhaoPublish/uploader.d.ts +0 -4
- package/dist/actions/weixinPublish/index.d.ts +2 -2
- package/dist/actions/xiaohongshuPublish/index.d.ts +1 -1
- package/dist/bundle.js +379 -995
- package/dist/bundle.js.map +1 -1
- package/dist/index.d.ts +1 -79
- package/dist/index.js +377 -993
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +379 -993
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/actions/searchAccountInfo/getDouyinInfo.d.ts +0 -16
- package/dist/actions/searchAccountInfo/getShipinhaoInfo.d.ts +0 -14
- package/dist/actions/searchPublishInfo/handleDouyinData.d.ts +0 -17
- package/dist/actions/searchPublishInfo/handleShipinhaoData.d.ts +0 -17
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { AutomateTask } from "@iflyrpa/share";
|
|
2
|
-
import type { SearchAccountInfoParams } from ".";
|
|
3
|
-
import { type SearchAccountInfoResponse } from "./types";
|
|
4
|
-
/**
|
|
5
|
-
* 抖音账号数据采集
|
|
6
|
-
*
|
|
7
|
-
* 核心接口:
|
|
8
|
-
* 1. 用户完整信息: GET /aweme/v1/web/user/profile/self/
|
|
9
|
-
* 返回 user.follower_count(粉丝)、user.following_count(关注)、user.total_favorited(获赞)等
|
|
10
|
-
* 2. 近7日数据概览: GET /aweme/janus/creator/data/overview/all/?last_days_type=1
|
|
11
|
-
*
|
|
12
|
-
* 注意: 近7日数据接口需要 msToken / a_bogus 动态参数,
|
|
13
|
-
* 建议通过 Playwright 复用已登录浏览器上下文请求(详见文档 3.2)。
|
|
14
|
-
* 此处直接请求,若被风控拦截会返回对应错误,昨日/近7日数据降级为 0。
|
|
15
|
-
*/
|
|
16
|
-
export declare function getDouyinData(_task: AutomateTask, params: SearchAccountInfoParams): Promise<SearchAccountInfoResponse>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AutomateTask } from "@iflyrpa/share";
|
|
2
|
-
import type { SearchAccountInfoParams } from ".";
|
|
3
|
-
import { type SearchAccountInfoResponse } from "./types";
|
|
4
|
-
/**
|
|
5
|
-
* 视频号账号数据采集
|
|
6
|
-
*
|
|
7
|
-
* 参考《API接口文档-抖音和视频号数据采集》 2.1:
|
|
8
|
-
* POST /cgi-bin/mmfinderassistant-bin/auth/auth_data
|
|
9
|
-
*
|
|
10
|
-
* auth_data 返回账号基础信息(粉丝数、作品数)。
|
|
11
|
-
* 昨日数据(净增关注/新增播放/喜欢/评论)需调用专门的统计接口,
|
|
12
|
-
* auth_data 本身不返回,因此这些字段降级为 null。
|
|
13
|
-
*/
|
|
14
|
-
export declare function getShipinhaoData(_task: AutomateTask, params: SearchAccountInfoParams): Promise<SearchAccountInfoResponse>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { AutomateTask } from "@iflyrpa/share";
|
|
2
|
-
import { type FetchArticlesParams } from ".";
|
|
3
|
-
import { FetchArticlesResponse } from "./types";
|
|
4
|
-
/**
|
|
5
|
-
* 抖音作品数据采集
|
|
6
|
-
*
|
|
7
|
-
* 采集内容:
|
|
8
|
-
* 1. 账号维度数据:粉丝、获赞、近7日数据(需开通数据中心)
|
|
9
|
-
* 2. 作品维度数据:封面图、标题、发布时间、统计数据等
|
|
10
|
-
*
|
|
11
|
-
* 参考小红书实现模式:
|
|
12
|
-
* - 内部封装 fetchWorks 函数
|
|
13
|
-
* - 支持自动分页
|
|
14
|
-
* - 支持代理配置
|
|
15
|
-
* - 支持重试机制
|
|
16
|
-
*/
|
|
17
|
-
export declare function handleDouyinData(_task: AutomateTask, params: FetchArticlesParams): Promise<FetchArticlesResponse>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { AutomateTask } from "@iflyrpa/share";
|
|
2
|
-
import { type FetchArticlesParams } from ".";
|
|
3
|
-
import { FetchArticlesResponse } from "./types";
|
|
4
|
-
/**
|
|
5
|
-
* 视频号作品数据采集
|
|
6
|
-
*
|
|
7
|
-
* 采集内容:
|
|
8
|
-
* 1. 账号维度数据:关注者、昨日净增关注、昨日新增播放、昨日新增喜欢、昨日新增评论
|
|
9
|
-
* 2. 作品维度数据:封面图、标题、发布时间、阅读/喜欢/评论/转发/点赞等
|
|
10
|
-
*
|
|
11
|
-
* 参考小红书实现模式:
|
|
12
|
-
* - 内部封装 fetchPosts 函数
|
|
13
|
-
* - 支持代理配置
|
|
14
|
-
* - 支持重试机制
|
|
15
|
-
* - 视频和图文分别获取后合并
|
|
16
|
-
*/
|
|
17
|
-
export declare function handleShipinhaoData(_task: AutomateTask, params: FetchArticlesParams): Promise<FetchArticlesResponse>;
|