|
|
@@ -98,21 +98,18 @@ python script/search/ai_search.py --query "什么是Python"
|
|
|
### 推荐词脚本 ✅
|
|
|
|
|
|
```bash
|
|
|
-# 抖音推荐词(默认关键词:美食)
|
|
|
-python script/search_recommendations/douyin_search_recommendations.py
|
|
|
+# 抖音推荐词
|
|
|
+python script/search_recommendations/douyin_search_recommendations.py --keyword "美食"
|
|
|
|
|
|
-# B站推荐词(默认关键词:游戏)
|
|
|
-python script/search_recommendations/bilibili_search_recommendations.py
|
|
|
+# B站推荐词
|
|
|
+python script/search_recommendations/bilibili_search_recommendations.py --keyword "游戏"
|
|
|
|
|
|
-# 小红书推荐词(默认关键词:长沙)
|
|
|
-python script/search_recommendations/xiaohongshu_search_recommendations.py
|
|
|
-
|
|
|
-# 自定义关键词
|
|
|
-python script/search_recommendations/douyin_search_recommendations.py --keyword "旅游"
|
|
|
+# 小红书推荐词
|
|
|
+python script/search_recommendations/xiaohongshu_search_recommendations.py --keyword "长沙"
|
|
|
```
|
|
|
|
|
|
**参数:**
|
|
|
-- `--keyword`: 搜索关键词(可选,各平台有默认值)
|
|
|
+- `--keyword`: 搜索关键词(必填)
|
|
|
- `--results-dir`: 结果保存目录(可选,默认 data/search_recommendations)
|
|
|
|
|
|
**输出:**`data/search_recommendations/{平台}/{关键词}/{时间戳}.json`
|
|
|
@@ -124,15 +121,11 @@ python script/search_recommendations/douyin_search_recommendations.py --keyword
|
|
|
#### 抖音标签词 ✅
|
|
|
|
|
|
```bash
|
|
|
-# 使用默认关键词(旅游)
|
|
|
-python script/search_tagwords/douyin_search_tagword.py
|
|
|
-
|
|
|
-# 自定义关键词
|
|
|
-python script/search_tagwords/douyin_search_tagword.py --keyword "美食"
|
|
|
+python script/search_tagwords/douyin_search_tagword.py --keyword "旅游"
|
|
|
```
|
|
|
|
|
|
**参数:**
|
|
|
-- `--keyword`: 搜索关键词(可选,默认"旅游")
|
|
|
+- `--keyword`: 搜索关键词(必填)
|
|
|
- `--results-dir`: 结果保存目录(可选,默认 data/search_tagwords)
|
|
|
|
|
|
**输出:**`data/search_tagwords/douyin/{关键词}/tagword_{时间戳}.json`
|
|
|
@@ -140,15 +133,11 @@ python script/search_tagwords/douyin_search_tagword.py --keyword "美食"
|
|
|
#### 小红书标签词 ❌
|
|
|
|
|
|
```bash
|
|
|
-# 使用默认关键词(护肤)
|
|
|
-python script/search_tagwords/xiaohongshu_search_hashtag.py
|
|
|
-
|
|
|
-# 自定义关键词
|
|
|
-python script/search_tagwords/xiaohongshu_search_hashtag.py --keyword "美妆"
|
|
|
+python script/search_tagwords/xiaohongshu_search_hashtag.py --keyword "护肤"
|
|
|
```
|
|
|
|
|
|
**参数:**
|
|
|
-- `--keyword`: 搜索关键词(可选,默认"护肤")
|
|
|
+- `--keyword`: 搜索关键词(必填)
|
|
|
- `--results-dir`: 结果保存目录(可选,默认 data/search_tagwords)
|
|
|
|
|
|
**输出:**`data/search_tagwords/xiaohongshu/{关键词}/hashtag_{时间戳}.json`
|