Browse Source

feat(nutrition): 新增营养产品爬虫脚本(京东/Amazon)

Xiaogang Liao 1 month ago
parent
commit
b85023a8a1

+ 2 - 0
tools/nutrition-crawler/requirements.txt

@@ -0,0 +1,2 @@
+requests>=2.28.0
+beautifulsoup4>=4.11.0

+ 10 - 0
tools/nutrition-crawler/seed_products.json

@@ -0,0 +1,10 @@
+[
+  {"name": "Life-Space 成人益生菌", "brand": "Life-Space", "category": "益生菌", "keywords": "Life-Space 益生菌"},
+  {"name": "Culturelle 益生菌", "brand": "Culturelle", "category": "益生菌", "keywords": "Culturelle 益生菌"},
+  {"name": "汤臣倍健益生菌", "brand": "汤臣倍健", "category": "益生菌", "keywords": "汤臣倍健 益生菌"},
+  {"name": "合生元益生菌", "brand": "合生元", "category": "益生菌", "keywords": "合生元 益生菌"},
+  {"name": "WonderLab 益生菌", "brand": "WonderLab", "category": "益生菌", "keywords": "WonderLab 益生菌"},
+  {"name": "Swisse 益生菌", "brand": "Swisse", "category": "益生菌", "keywords": "Swisse 益生菌"},
+  {"name": "低聚果糖益生元", "brand": "畅元素", "category": "益生元", "keywords": "低聚果糖 益生元"},
+  {"name": "水苏糖益生元", "brand": "仁和", "category": "益生元", "keywords": "水苏糖 益生元"}
+]