|
@@ -117,16 +117,20 @@ docker compose up -d
|
|
|
tree -I "__pycache__|*.pyc"
|
|
|
```
|
|
|
|
|
|
-## 数据任务
|
|
|
+## 1. 数据任务
|
|
|
#### daily发文数据回收
|
|
|
```aiignore
|
|
|
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "daily_publish_articles_recycle"}'
|
|
|
```
|
|
|
+#### daily发文更新root_source_id
|
|
|
+```aiignore
|
|
|
+curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "update_root_source_id"}'
|
|
|
+```
|
|
|
#### 账号质量处理
|
|
|
```aiignore
|
|
|
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "candidate_account_quality_analysis"}'
|
|
|
```
|
|
|
-## 抓取任务
|
|
|
+## 2. 抓取任务
|
|
|
|
|
|
#### 今日头条账号内文章抓取
|
|
|
```aiignore
|
|
@@ -140,8 +144,20 @@ curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: applicati
|
|
|
```aiignore
|
|
|
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "crawler_toutiao", "method": "search"}'
|
|
|
```
|
|
|
+#### 抓取账号管理(微信)
|
|
|
+```aiignore
|
|
|
+curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "crawler_account_manager", "platform": "weixin"}'
|
|
|
+```
|
|
|
+#### 抓取微信文章(抓账号模式)
|
|
|
+```aiignore
|
|
|
+curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "crawler_gzh_articles", "account_method": "account_association", "crawl_mode": "account"}'
|
|
|
+```
|
|
|
+#### 抓取微信文章(搜索模式)
|
|
|
+```aiignore
|
|
|
+curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "crawler_gzh_articles", "account_method": "search", "crawl_mode": "search"}'
|
|
|
+```
|
|
|
|
|
|
-## 冷启动发布任务
|
|
|
+## 3. 冷启动发布任务
|
|
|
#### 发布头条文章
|
|
|
```aiignore
|
|
|
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "article_pool_cold_start", "platform": "toutiao", "crawler_methods": ["toutiao_account_association"]}'
|
|
@@ -151,4 +167,35 @@ curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: applicati
|
|
|
curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "article_pool_cold_start"}'
|
|
|
```
|
|
|
|
|
|
+## 4. 其他
|
|
|
+#### 校验kimi余额
|
|
|
+```aiignore
|
|
|
+curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "check_kimi_balance"}'
|
|
|
+```
|
|
|
+#### 自动下架视频
|
|
|
+```aiignore
|
|
|
+curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "get_off_videos"}'
|
|
|
+```
|
|
|
+#### 校验视频可见状态
|
|
|
+```aiignore
|
|
|
+curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "check_publish_video_audit_status"}'
|
|
|
+```
|
|
|
+#### 外部服务号监测
|
|
|
+```aiignore
|
|
|
+curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "outside_article_monitor"}'
|
|
|
+```
|
|
|
+#### 站内服务号发文监测
|
|
|
+```aiignore
|
|
|
+curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "inner_article_monitor"}'
|
|
|
+```
|
|
|
+#### 标题重写
|
|
|
+```aiignore
|
|
|
+curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "title_rewrite"}'
|
|
|
+```
|
|
|
+#### 候选账号质量分析
|
|
|
+```aiignore
|
|
|
+curl -X POST http://192.168.142.66:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "candidate_account_quality_analysis"}'
|
|
|
+```
|
|
|
+
|
|
|
+
|
|
|
|