x1ongzhu 2 år sedan
förälder
incheckning
f5099ec708
7 ändrade filer med 2413 tillägg och 12 borttagningar
  1. 7 0
      app.js
  2. 7 4
      package.json
  3. 2155 0
      res.json
  4. 91 0
      routes/api/index.js
  5. 0 7
      routes/example/index.js
  6. 75 0
      test.js
  7. 78 1
      yarn.lock

+ 7 - 0
app.js

@@ -2,11 +2,18 @@
 
 const path = require('path')
 const AutoLoad = require('@fastify/autoload')
+const cors = require('@fastify/cors')
 
 // Pass --options via CLI arguments in command to enable these options.
 module.exports.options = {}
 
 module.exports = async function (fastify, opts) {
+    await fastify.register(cors, {
+        origin: true,
+        allowedHeaders: '*',
+        methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
+        credentials: true
+    })
     // Place here your custom code!
 
     // Do not touch the following lines

+ 7 - 4
package.json

@@ -15,13 +15,16 @@
   "author": "",
   "license": "ISC",
   "dependencies": {
-    "fastify": "^4.0.0",
-    "fastify-plugin": "^4.0.0",
     "@fastify/autoload": "^5.0.0",
+    "@fastify/cors": "^8.2.1",
     "@fastify/sensible": "^5.0.0",
-    "fastify-cli": "^5.7.1"
+    "axios": "^1.3.4",
+    "fastify": "^4.0.0",
+    "fastify-cli": "^5.7.1",
+    "fastify-plugin": "^4.0.0",
+    "playwright": "^1.32.1"
   },
   "devDependencies": {
     "tap": "^16.1.0"
   }
-}
+}

+ 2155 - 0
res.json

@@ -0,0 +1,2155 @@
+[
+    {
+        "text": "BENCMATE Protective Inflatable Collar for Dogs and Cats - Soft Pet Recovery Collar Does Not Block Vision E-Collar (Large, Grey)",
+        "href": "/BENCMATE-Protective-Inflatable-Collar-Collar/dp/B0899X3T6H/ref=zg_bs_2975292011_sccl_1/132-3433749-1474554?psc=1",
+        "price": "$18.98",
+        "asin": "B0899X3T6H",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 77397.75,
+                    "ratio": 0.9318
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 1602.3845,
+                    "ratio": 0.0193
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 4060.0332,
+                    "ratio": 0.0489
+                }
+            },
+            "ad": {
+                "sb": {
+                    "name": "品牌广告流量",
+                    "wholeName": "Sponsored Brand",
+                    "score": 77397.75,
+                    "ratio": 1
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 4060.0332,
+                    "ratio": 1
+                }
+            }
+        }
+    },
+    {
+        "text": "Supet Dog Cone Adjustable Pet Cone Pet Recovery Collar Comfy Pet Cone Collar Protective Collar for After Surgery Anti-Bite Lick Wound Healing Safety Practical Plastic E-Collar",
+        "href": "/Supet-Adjustable-Protective-Anti-Bite-Practical/dp/B09VXWR3X2/ref=zg_bs_2975292011_sccl_2/132-3433749-1474554?psc=1",
+        "price": "$16.98",
+        "asin": "B09VXWR3X2",
+        "data": {
+            "overview": {
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 280.5659,
+                    "ratio": 1
+                }
+            },
+            "ad": {},
+            "recommend": {}
+        }
+    },
+    {
+        "text": "ANWA Adjustable Cat Cone Collar Soft, Cute Cat Recovery Collar, Cat Cones After Surgery for Kittens",
+        "href": "/ANWA-Adjustable-Recovery-Surgery-Kittens/dp/B08ML4GK1M/ref=zg_bs_2975292011_sccl_3/132-3433749-1474554?psc=1",
+        "price": "$18.99",
+        "asin": "B08ML4GK1M",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 208502.9676,
+                    "ratio": 0.7499
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 66185.2567,
+                    "ratio": 0.238
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 3369.9001,
+                    "ratio": 0.0121
+                }
+            },
+            "ad": {
+                "sbv": {
+                    "name": "视频广告流量",
+                    "wholeName": "Sponsored Brand Video",
+                    "score": 19621.4304,
+                    "ratio": 0.0941
+                },
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 114511.3007,
+                    "ratio": 0.5492
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 74370.2364,
+                    "ratio": 0.3567
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 3078.5866,
+                    "ratio": 0.9136
+                },
+                "customers frequently viewed": {
+                    "name": "customers frequently viewed",
+                    "wholeName": "customers frequently viewed",
+                    "score": 291.3134,
+                    "ratio": 0.0864
+                }
+            }
+        }
+    },
+    {
+        "text": "kzrfojy Cat Surgery Recovery Suit Cat Onesie for Cats After Surgery Spay Surgical Abdominal Wound Skin Diseases E-Collar Alternative Wear (Grey-Blue-M)",
+        "href": "/kzrfojy-Professional-Abdominal-Alternative-Grey-Blue/dp/B09BFY4J5H/ref=zg_bs_2975292011_sccl_4/132-3433749-1474554?psc=1",
+        "price": "1 offer from $13.98",
+        "asin": "B09BFY4J5H",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 75119.4542,
+                    "ratio": 0.4519
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 77497.3216,
+                    "ratio": 0.4662
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 13631.0287,
+                    "ratio": 0.082
+                }
+            },
+            "ad": {
+                "sa4": {
+                    "name": "四星推荐广告流量",
+                    "wholeName": "4+ Star Styles",
+                    "score": 24.2316,
+                    "ratio": 0.0003
+                },
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 36259.9564,
+                    "ratio": 0.4827
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 38835.2662,
+                    "ratio": 0.517
+                }
+            },
+            "recommend": {
+                "trending styles": {
+                    "name": "trending styles",
+                    "wholeName": "trending styles",
+                    "score": 164.2216,
+                    "ratio": 0.012
+                },
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 8565.5081,
+                    "ratio": 0.6284
+                },
+                "customers frequently viewed": {
+                    "name": "customers frequently viewed",
+                    "wholeName": "customers frequently viewed",
+                    "score": 23.621,
+                    "ratio": 0.0017
+                },
+                "er": {
+                    "name": "ER推荐流量",
+                    "wholeName": "Editorial Recommendation",
+                    "score": 4877.678,
+                    "ratio": 0.3578
+                }
+            }
+        }
+    },
+    {
+        "text": "Katoggy Inflatable Dog Cone Collar, Soft Blow-up Protective Recovery Dog Collar, Pet Donut Cone Collar, Comfy Elizabethan Collar After Surgery for Medium Dog to Prevent from Biting & Scratching, Large",
+        "href": "/Katoggy-Inflatable-Protective-Elizabethan-Scratching/dp/B08P5Q8J8T/ref=zg_bs_2975292011_sccl_5/132-3433749-1474554?psc=1",
+        "price": "$16.98",
+        "asin": "B08P5Q8J8T",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 1.2514,
+                    "ratio": 0.0015
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 766.2081,
+                    "ratio": 0.9443
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 43.9412,
+                    "ratio": 0.0542
+                }
+            },
+            "ad": {
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 1.2514,
+                    "ratio": 1
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 43.9412,
+                    "ratio": 1
+                }
+            }
+        }
+    },
+    {
+        "text": "Vivifying Cat Cone, Adjustable Recovery Pet Cone, 8.1 Inches Lightweight Plastic Elizabethan Collar for Cats, Mini Dogs and Rabbits (Black)",
+        "href": "/Vivifying-Recovery-Lightweight-Plastic-Elizabethan/dp/B0732TBM63/ref=zg_bs_2975292011_sccl_6/132-3433749-1474554?psc=1",
+        "price": "$9.98",
+        "asin": "B0732TBM63",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 198442.5663,
+                    "ratio": 0.5816
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 102313.7592,
+                    "ratio": 0.2998
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 40466.0183,
+                    "ratio": 0.1186
+                }
+            },
+            "ad": {
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 54768.9301,
+                    "ratio": 0.276
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 27820.0562,
+                    "ratio": 0.1402
+                },
+                "sb": {
+                    "name": "品牌广告流量",
+                    "wholeName": "Sponsored Brand",
+                    "score": 115853.58,
+                    "ratio": 0.5838
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 40141.3244,
+                    "ratio": 0.992
+                },
+                "other items you might need": {
+                    "name": "other items you might need",
+                    "wholeName": "other items you might need",
+                    "score": 260.8999,
+                    "ratio": 0.0064
+                },
+                "er": {
+                    "name": "ER推荐流量",
+                    "wholeName": "Editorial Recommendation",
+                    "score": 63.794,
+                    "ratio": 0.0016
+                }
+            }
+        }
+    },
+    {
+        "text": "Dog Cone Collar for Small Medium Large Dogs for After Surgery, Pet Inflatable Neck Donut Collar Soft Protective Recovery Cone for Dogs and Cats - Alternative E Collar Does not Block Vision - Red,L",
+        "href": "/Collar-Surgery-Inflatable-Protective-Recovery/dp/B0B5WQPB4Z/ref=zg_bs_2975292011_sccl_7/132-3433749-1474554?psc=1",
+        "price": "1 offer from $18.99",
+        "asin": "B0B5WQPB4Z",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 7.2971,
+                    "ratio": 0.0001
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 51372.8593,
+                    "ratio": 0.9951
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 245.3116,
+                    "ratio": 0.0048
+                }
+            },
+            "ad": {
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 7.2971,
+                    "ratio": 1
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 245.3116,
+                    "ratio": 1
+                }
+            }
+        }
+    },
+    {
+        "text": "Cat Professional Recovery Suit for Abdominal Wounds or Skin Diseases, E-Collar Alternative for Cats and Dogs, After Surgery Wear, Pajama Suit(M,Pink)",
+        "href": "/Professional-Recovery-Abdominal-Diseases-Alternative/dp/B07GGRJSKJ/ref=zg_bs_2975292011_sccl_8/132-3433749-1474554?psc=1",
+        "price": "$12.99",
+        "asin": "B07GGRJSKJ",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 5416.6716,
+                    "ratio": 0.2796
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 13694.618,
+                    "ratio": 0.7069
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 262.6744,
+                    "ratio": 0.0136
+                }
+            },
+            "ad": {
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 4737.2587,
+                    "ratio": 0.8746
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 679.4129,
+                    "ratio": 0.1254
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 238.4428,
+                    "ratio": 0.9078
+                },
+                "customers frequently viewed": {
+                    "name": "customers frequently viewed",
+                    "wholeName": "customers frequently viewed",
+                    "score": 24.2316,
+                    "ratio": 0.0922
+                }
+            }
+        }
+    },
+    {
+        "text": "3 Pieces Cat Recovery Suit Kitten Recovery Suit E-Collar Alternative for Cats and Dogs Abdominal Skin Anti Licking Pajama Suit (Medium, Watermelon Pattern)",
+        "href": "/Recovery-Collar-Alternative-Abdominal-Licking/dp/B09SLG3LTK/ref=zg_bs_2975292011_sccl_9/132-3433749-1474554?psc=1",
+        "price": "$16.99",
+        "asin": "B09SLG3LTK",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 11127.4505,
+                    "ratio": 0.2136
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 40966.2422,
+                    "ratio": 0.7864
+                }
+            },
+            "ad": {
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 11127.4505,
+                    "ratio": 1
+                }
+            },
+            "recommend": {}
+        }
+    },
+    {
+        "text": "Protective Inflatable Collar for Dogs and Cats - Soft Recovery Pet Cone, E-Collar Does not Impede Vision Blue L",
+        "href": "/Protective-Inflatable-Collar-Dogs-Collar/dp/B09ZTHWJ2D/ref=zg_bs_2975292011_sccl_10/132-3433749-1474554?psc=1",
+        "price": "$23.99",
+        "asin": "B09ZTHWJ2D",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 27110.0681,
+                    "ratio": 0.9442
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 1602.2724,
+                    "ratio": 0.0558
+                }
+            },
+            "ad": {
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 26219.7646,
+                    "ratio": 0.9672
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 890.3035,
+                    "ratio": 0.0328
+                }
+            },
+            "recommend": {}
+        }
+    },
+    {
+        "text": "Amakunft Adjustable Cat Cone Collar Soft, Cat Recovery Collar, Cone for Cat After Surgery, Cat Neck Cone, Elizabethan Collar for Cat and Kitten (Toast S (Neck:5\"-10\"))",
+        "href": "/Amakunft-Adjustable-Protective-Recovery-Elizabethan/dp/B07VD419D5/ref=zg_bs_2975292011_sccl_11/132-3433749-1474554?psc=1",
+        "price": "$14.99",
+        "asin": "B07VD419D5",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 8968.5461,
+                    "ratio": 0.1044
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 76870.9802,
+                    "ratio": 0.8949
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 63.794,
+                    "ratio": 0.0007
+                }
+            },
+            "ad": {
+                "sbv": {
+                    "name": "视频广告流量",
+                    "wholeName": "Sponsored Brand Video",
+                    "score": 3175.6032,
+                    "ratio": 0.3541
+                },
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 2546.4645,
+                    "ratio": 0.2839
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 2581.2884,
+                    "ratio": 0.2878
+                },
+                "sb": {
+                    "name": "品牌广告流量",
+                    "wholeName": "Sponsored Brand",
+                    "score": 665.19,
+                    "ratio": 0.0742
+                }
+            },
+            "recommend": {
+                "er": {
+                    "name": "ER推荐流量",
+                    "wholeName": "Editorial Recommendation",
+                    "score": 63.794,
+                    "ratio": 1
+                }
+            }
+        }
+    },
+    {
+        "text": "ComSaf Soft Cat Recovery Collar, Protective Adjustable Pet Cone Collar for After Surgery, Comfortable Lightweight Elizabethan Collar for Cat Kitten Prevent from Licking Wounds, Not Block Vision",
+        "href": "/ComSaf-Protective-Comfortable-Lightweight-Elizabethan/dp/B09K76PQN9/ref=zg_bs_2975292011_sccl_12/132-3433749-1474554?psc=1",
+        "price": "$13.99",
+        "asin": "B09K76PQN9",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 225744.634,
+                    "ratio": 0.8103
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 52599.9564,
+                    "ratio": 0.1888
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 238.1184,
+                    "ratio": 0.0009
+                }
+            },
+            "ad": {
+                "sbv": {
+                    "name": "视频广告流量",
+                    "wholeName": "Sponsored Brand Video",
+                    "score": 1725.2664,
+                    "ratio": 0.0076
+                },
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 22158.8251,
+                    "ratio": 0.0982
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 6606.2325,
+                    "ratio": 0.0293
+                },
+                "sb": {
+                    "name": "品牌广告流量",
+                    "wholeName": "Sponsored Brand",
+                    "score": 195254.31,
+                    "ratio": 0.8649
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 238.1184,
+                    "ratio": 1
+                }
+            }
+        }
+    },
+    {
+        "text": "Cat Surgical Recovery Suit Professional for Male Female Dog Abdominal Wounds Cone E-Collar Alternative, Anti-Licking Or Skin Diseases Pet Surgical Recovery Pajama Suit, Soft Fabric Onesies for Cats",
+        "href": "/Surgical-Professional-Abdominal-Alternative-Anti-Licking/dp/B09TT4XTKL/ref=zg_bs_2975292011_sccl_13/132-3433749-1474554?psc=1",
+        "price": "$13.99",
+        "asin": "B09TT4XTKL",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 122132.579,
+                    "ratio": 0.9822
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 2209.7632,
+                    "ratio": 0.0178
+                }
+            },
+            "ad": {
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 44.309,
+                    "ratio": 0.0004
+                },
+                "sb": {
+                    "name": "品牌广告流量",
+                    "wholeName": "Sponsored Brand",
+                    "score": 122088.27,
+                    "ratio": 0.9996
+                }
+            },
+            "recommend": {}
+        }
+    },
+    {
+        "text": "HYLYUN Cat Recovery Collar - Cute Sun Flower Neck Cat Cones After Surgery, Adjustable Cat E Collar, Surgery Recovery Elizabethan Collars for Kitten and Cats",
+        "href": "/HYLYUN-Large-Cat-Recovery-Collar/dp/B08N47S3K8/ref=zg_bs_2975292011_sccl_14/132-3433749-1474554?psc=1",
+        "price": "$15.49",
+        "asin": "B08N47S3K8",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 21124.5505,
+                    "ratio": 0.2744
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 55737.4548,
+                    "ratio": 0.724
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 119.5171,
+                    "ratio": 0.0016
+                }
+            },
+            "ad": {
+                "sbv": {
+                    "name": "视频广告流量",
+                    "wholeName": "Sponsored Brand Video",
+                    "score": 201.7158,
+                    "ratio": 0.0095
+                },
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 18859.1395,
+                    "ratio": 0.8928
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 2063.6953,
+                    "ratio": 0.0977
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 119.5171,
+                    "ratio": 1
+                }
+            }
+        }
+    },
+    {
+        "text": "Supet Dog Cone Adjustable Pet Recovery Collar Dog Surgery Cone Protective Dog Cone Collar for Large Small Dogs After Surgery, Plastic Dog Cats Neck Cone of Shame E-Collar Anti-Bite Lick Wound Healing",
+        "href": "/Supet-Adjustable-Recovery-Protective-Anti-Bite/dp/B09Y37QRBN/ref=zg_bs_2975292011_sccl_15/132-3433749-1474554?psc=1",
+        "price": "$17.99",
+        "asin": "B09Y37QRBN",
+        "data": {
+            "overview": {
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 31009.5379,
+                    "ratio": 1
+                }
+            },
+            "ad": {},
+            "recommend": {}
+        }
+    },
+    {
+        "text": "Coppthinktu Cat Recovery Suit for Abdominal Wounds or Skin Diseases, Breathable E-Collar Alternative for Cats and Dogs, After Surgery Wear Anti Licking Wounds",
+        "href": "/Coppthinktu-Cat-Recovery-Suit-Alternative/dp/B07NRCSDFG/ref=zg_bs_2975292011_sccl_16/132-3433749-1474554?psc=1",
+        "price": "$12.59",
+        "asin": "B07NRCSDFG",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 38759.1783,
+                    "ratio": 0.4946
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 23288.4251,
+                    "ratio": 0.2972
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 16323.8845,
+                    "ratio": 0.2083
+                }
+            },
+            "ad": {
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 24922.4105,
+                    "ratio": 0.643
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 13836.7678,
+                    "ratio": 0.357
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 11568.2326,
+                    "ratio": 0.7087
+                },
+                "customers frequently viewed": {
+                    "name": "customers frequently viewed",
+                    "wholeName": "customers frequently viewed",
+                    "score": 60.3023,
+                    "ratio": 0.0037
+                },
+                "er": {
+                    "name": "ER推荐流量",
+                    "wholeName": "Editorial Recommendation",
+                    "score": 4695.3495,
+                    "ratio": 0.2876
+                }
+            }
+        }
+    },
+    {
+        "text": "SUNFURA Cat Recovery Suit for Abdominal Wounds Spay After Surgery, Professional Breathable Surgical Body Suit for Cats Dogs Neuter, E-Collar Alternative Pet Anxiety Vest Shirt Anti Licking (S, Grey)",
+        "href": "/SUNFURA-Abdominal-Professional-Breathable-Alternative/dp/B09LYQLBCS/ref=zg_bs_2975292011_sccl_17/132-3433749-1474554?psc=1",
+        "price": "$15.99",
+        "asin": "B09LYQLBCS",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 41083.0905,
+                    "ratio": 0.8454
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 2634.8041,
+                    "ratio": 0.0542
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 4877.678,
+                    "ratio": 0.1004
+                }
+            },
+            "ad": {
+                "sa4": {
+                    "name": "四星推荐广告流量",
+                    "wholeName": "4+ Star Styles",
+                    "score": 24.2316,
+                    "ratio": 0.0006
+                },
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 31723.009,
+                    "ratio": 0.7722
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 9335.8499,
+                    "ratio": 0.2272
+                }
+            },
+            "recommend": {
+                "er": {
+                    "name": "ER推荐流量",
+                    "wholeName": "Editorial Recommendation",
+                    "score": 4877.678,
+                    "ratio": 1
+                }
+            }
+        }
+    },
+    {
+        "text": "QIYADIN Soft Cat Recovery Collar Cat Cone E Collar Nonwoven Fabric Elizabethan Collar Loops-Protective Wound Healing Specially Designed for Cats and Puppies - Easy to Eat and Drink (S)",
+        "href": "/PetDream-Recovery-Nonwoven-Elizabeth-Specially/dp/B07G45XZH4/ref=zg_bs_2975292011_sccl_18/132-3433749-1474554?psc=1",
+        "price": "$9.90",
+        "asin": "B07G45XZH4",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 158.8583,
+                    "ratio": 0.003
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 52066.4436,
+                    "ratio": 0.9957
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 63.794,
+                    "ratio": 0.0012
+                }
+            },
+            "ad": {
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 158.8583,
+                    "ratio": 1
+                }
+            },
+            "recommend": {
+                "er": {
+                    "name": "ER推荐流量",
+                    "wholeName": "Editorial Recommendation",
+                    "score": 63.794,
+                    "ratio": 1
+                }
+            }
+        }
+    },
+    {
+        "text": "SUNFURA Cat Recovery Suit, Kitten Surgical Full Bodysuit for Abdominal Wound Protector Anti Licking After Surgery, Professional Bandages Cone E-Collar Alternative for Small Male & Female Pets",
+        "href": "/SUNFURA-Abdominal-Protector-Professional-Alternative/dp/B09PVC73G3/ref=zg_bs_2975292011_sccl_19/132-3433749-1474554?psc=1",
+        "price": "$17.99",
+        "asin": "B09PVC73G3",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 202.3178,
+                    "ratio": 0.2622
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 569.3684,
+                    "ratio": 0.7378
+                }
+            },
+            "ad": {
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 202.3178,
+                    "ratio": 1
+                }
+            },
+            "recommend": {}
+        }
+    },
+    {
+        "text": "Cat Professional Recovery Suit for Abdominal Wounds and Skin Diseases, E-Collar Alternative for Cats and Dogs, After Surgey Wear Anti Licking, Recommended by Vets(Purple,M",
+        "href": "/Recovery-Abdominal-Diseases-Alternative-Recommended/dp/B08CKVJ7W1/ref=zg_bs_2975292011_sccl_20/132-3433749-1474554?psc=1",
+        "price": "$12.99",
+        "asin": "B08CKVJ7W1",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 18947.7201,
+                    "ratio": 0.7315
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 4384.7388,
+                    "ratio": 0.1693
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 2569.5608,
+                    "ratio": 0.0992
+                }
+            },
+            "ad": {
+                "sbv": {
+                    "name": "视频广告流量",
+                    "wholeName": "Sponsored Brand Video",
+                    "score": 15847.0224,
+                    "ratio": 0.8364
+                },
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 2559.1145,
+                    "ratio": 0.1351
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 541.5832,
+                    "ratio": 0.0286
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 2569.5608,
+                    "ratio": 1
+                }
+            }
+        }
+    },
+    {
+        "text": "Inflatable Soft Dog Cone Collar for Small Medium Large Dogs & Cats Alternative After Surgery, Blow Up Pet Donut Neck Cone Prevent from Biting & Scratching, Comfy Adjustable Recovery Pillow Collar",
+        "href": "/Inflatable-Alternative-Scratching-Adjustable-Recovery/dp/B0BK13G8ST/ref=zg_bs_2975292011_sccl_21/132-3433749-1474554?psc=1",
+        "price": "$17.98",
+        "asin": "B0BK13G8ST",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 32410.7189,
+                    "ratio": 0.3938
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 49889.1172,
+                    "ratio": 0.6062
+                }
+            },
+            "ad": {
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 28278.22,
+                    "ratio": 0.8725
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 4132.499,
+                    "ratio": 0.1275
+                }
+            },
+            "recommend": {}
+        }
+    },
+    {
+        "text": "Depets Adjustable Recovery Pet Cone E-Collar for Cats Puppy Rabbit, Plastic Elizabeth Protective Collar Wound Healing Practical Neck Cover, Small & Medium",
+        "href": "/Depets-Adjustable-Elizabeth-Protective-Circumference/dp/B01GO3ZZDI/ref=zg_bs_2975292011_sccl_22/132-3433749-1474554?psc=1",
+        "price": "$7.89",
+        "asin": "B01GO3ZZDI",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 19206.0518,
+                    "ratio": 0.5034
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 12916.6242,
+                    "ratio": 0.3386
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 6028.8793,
+                    "ratio": 0.158
+                }
+            },
+            "ad": {
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 10969.0538,
+                    "ratio": 0.5711
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 8236.9979,
+                    "ratio": 0.4289
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 6028.8793,
+                    "ratio": 1
+                }
+            }
+        }
+    },
+    {
+        "text": "Cat Cone Collar Soft, Neck Donut/Elizabeth Recovery Collar/e Collar for Cat/Kitten/Dog/Puppy After Surgery Cone to Stop Licking and Itching, S Size",
+        "href": "/Elizabeth-Recovery-Puppies-Surgery-Licking/dp/B0B6HMR8QZ/ref=zg_bs_2975292011_sccl_23/132-3433749-1474554?psc=1",
+        "price": "$14.95",
+        "asin": "B0B6HMR8QZ",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 8090.9833,
+                    "ratio": 0.4247
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 10830.0629,
+                    "ratio": 0.5685
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 130.45,
+                    "ratio": 0.0068
+                }
+            },
+            "ad": {
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 4581.6518,
+                    "ratio": 0.5663
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 3509.3316,
+                    "ratio": 0.4337
+                }
+            },
+            "recommend": {
+                "from related shopping ideas": {
+                    "name": "from related shopping ideas",
+                    "wholeName": "from related shopping ideas",
+                    "score": 130.45,
+                    "ratio": 1
+                }
+            }
+        }
+    },
+    {
+        "text": "SLSON Cat Recovery Collar Pet Cone Collar Soft Protective Cotton Cone Adjustable Fasteners Collar for Cat and Puppy, Yellow (S)",
+        "href": "/SLSON-Recovery-Protective-Adjustable-Fasteners/dp/B07ZYZWGTN/ref=zg_bs_2975292011_sccl_24/132-3433749-1474554?psc=1",
+        "price": "$17.99",
+        "asin": "B07ZYZWGTN",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 1674.1818,
+                    "ratio": 0.0146
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 81446.7374,
+                    "ratio": 0.7117
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 31318.4081,
+                    "ratio": 0.2737
+                }
+            },
+            "ad": {
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 1297.7071,
+                    "ratio": 0.7751
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 376.4747,
+                    "ratio": 0.2249
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 455.4778,
+                    "ratio": 0.0145
+                },
+                "er": {
+                    "name": "ER推荐流量",
+                    "wholeName": "Editorial Recommendation",
+                    "score": 30862.9303,
+                    "ratio": 0.9855
+                }
+            }
+        }
+    },
+    {
+        "text": "Avont Cat Cone Collar Soft, Adjustable Recovery E Collar Alternative for Cats Kittens Puppies, Elizabethan Neck Cone of Shame to Prevent Licking Biting After Surgery Protect Wounds Stitches -Orange(M)",
+        "href": "/Avont-Adjustable-Recovery-Alternative-Elizabethan/dp/B0BQV1S96N/ref=zg_bs_2975292011_sccl_25/132-3433749-1474554?psc=1",
+        "price": "$13.99",
+        "asin": "B0BQV1S96N",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 61.7206,
+                    "ratio": 0.0177
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 3433.9765,
+                    "ratio": 0.9823
+                }
+            },
+            "ad": {
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 61.7206,
+                    "ratio": 1
+                }
+            },
+            "recommend": {}
+        }
+    },
+    {
+        "text": "Soft Inflatable Dog Donut Cone Collar for Recovery After Surgery-Protective Cat Dog Neck Donut Collar - E-Collar Alternative Prevent Pets from Biting Scratching Including Pump(Large Dogs)",
+        "href": "/Inflatable-Collar-Recovery-Surgery-Protective-Collar/dp/B0B4S4CX61/ref=zg_bs_2975292011_sccl_26/132-3433749-1474554?psc=1",
+        "price": "$17.99",
+        "asin": "B0B4S4CX61",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 33818.3901,
+                    "ratio": 0.8142
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 7692.0996,
+                    "ratio": 0.1852
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 24.8517,
+                    "ratio": 0.0006
+                }
+            },
+            "ad": {
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 30928.6514,
+                    "ratio": 0.9146
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 2889.7388,
+                    "ratio": 0.0854
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 24.8517,
+                    "ratio": 1
+                }
+            }
+        }
+    },
+    {
+        "text": "Supet Cat Cone Collar Soft to Stop Licking, Cat Recovery E Collar for Small Large Cats, Cat Neck Cone Alternative for Cats Kittens",
+        "href": "/Supet-Licking-Recovery-Alternative-Kittens/dp/B0BVH1K165/ref=zg_bs_2975292011_sccl_27/132-3433749-1474554?psc=1",
+        "price": "$15.98",
+        "asin": "B0BVH1K165",
+        "data": {
+            "overview": {
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 32665.7368,
+                    "ratio": 0.9542
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 1567.5269,
+                    "ratio": 0.0458
+                }
+            },
+            "ad": {},
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 1567.5269,
+                    "ratio": 1
+                }
+            }
+        }
+    },
+    {
+        "text": "Cat Cone Collar Soft, Nobleza Adjustable Cute Donut Pet Recovery Collar for Wound Healing, Comfy Alternative Elizabethan Collar Medical Neck Pillow After Surgery for Cat, Kitty, Puppy, Small Dog",
+        "href": "/Nobleza-Adjustable-Recovery-Alternative-Elizabethan/dp/B098XKRGGJ/ref=zg_bs_2975292011_sccl_28/132-3433749-1474554?psc=1",
+        "price": "$13.29",
+        "asin": "B098XKRGGJ",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 1543.5709,
+                    "ratio": 0.1014
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 13680.4106,
+                    "ratio": 0.8986
+                }
+            },
+            "ad": {
+                "sbv": {
+                    "name": "视频广告流量",
+                    "wholeName": "Sponsored Brand Video",
+                    "score": 36.8544,
+                    "ratio": 0.0239
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 1506.7165,
+                    "ratio": 0.9761
+                }
+            },
+            "recommend": {}
+        }
+    },
+    {
+        "text": "Protective Inflatable Dog Recovery Cone Collar for Smal Medium Large Dog, Soft E-Collar Dog Donut Cone Alternative After Surgery for Dogs Cats (Small)",
+        "href": "/Protective-Inflatable-Recovery-Alternative-Small/dp/B09Q2Z3LG6/ref=zg_bs_2975292011_sccl_29/132-3433749-1474554?psc=1",
+        "price": "1 offer from $9.99",
+        "asin": "B09Q2Z3LG6",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 19279.9015,
+                    "ratio": 0.5421
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 16194.7302,
+                    "ratio": 0.4553
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 92.185,
+                    "ratio": 0.0026
+                }
+            },
+            "ad": {
+                "sbv": {
+                    "name": "视频广告流量",
+                    "wholeName": "Sponsored Brand Video",
+                    "score": 19250.352,
+                    "ratio": 0.9985
+                },
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 27.3798,
+                    "ratio": 0.0014
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 2.1697,
+                    "ratio": 0.0001
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 92.185,
+                    "ratio": 1
+                }
+            }
+        }
+    },
+    {
+        "text": "Cat Cone Collar,Cute Waterproof Cat Recovery Collar,Anti-Bite Lick Wound Healing Safety Elizabethan e Collar for Cats,Purple Flower All-Season Style…",
+        "href": "/Waterproof-Recovery-Anti-Bite-Elizabethan-All-Season/dp/B09TDRRYJK/ref=zg_bs_2975292011_sccl_30/132-3433749-1474554?psc=1",
+        "price": "$17.99",
+        "asin": "B09TDRRYJK",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 20831.3632,
+                    "ratio": 0.7865
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 5224.4417,
+                    "ratio": 0.1973
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 430.2635,
+                    "ratio": 0.0162
+                }
+            },
+            "ad": {
+                "sbv": {
+                    "name": "视频广告流量",
+                    "wholeName": "Sponsored Brand Video",
+                    "score": 7313.7702,
+                    "ratio": 0.3511
+                },
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 12037.1332,
+                    "ratio": 0.5778
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 1480.4598,
+                    "ratio": 0.0711
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 296.5032,
+                    "ratio": 0.6891
+                },
+                "customers frequently viewed": {
+                    "name": "customers frequently viewed",
+                    "wholeName": "customers frequently viewed",
+                    "score": 133.7603,
+                    "ratio": 0.3109
+                }
+            }
+        }
+    },
+    {
+        "text": "Vivifying Cat Cone, Adjustable 4.7-5.7 Inches Lightweight Elizabethan Collar for Kittens, Rabbits, Cats, Kitties, Small Cats (Pink)",
+        "href": "/Vivifying-Adjustable-5-1-6-1-Lightweight-Elizabethan/dp/B09DQ565B8/ref=zg_bs_2975292011_sccl_31/132-3433749-1474554?psc=1",
+        "price": "1 offer from $9.99",
+        "asin": "B09DQ565B8",
+        "data": {
+            "overview": {
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 2082.2085,
+                    "ratio": 1
+                }
+            },
+            "ad": {},
+            "recommend": {}
+        }
+    },
+    {
+        "text": "Cat Recovery Suit for Abdominal Wounds and Skin Diseases,Breathable Surgical Recovery Shirt After Surgery Wear Anti Licking Wounds,E-Collar Alternative for Female Cats Kitten(RSC01--blue-s)",
+        "href": "/Recovery-Abdominal-Breathable-Alternative-RSC01-blue-s/dp/B099N3SNGH/ref=zg_bs_2975292011_sccl_32/132-3433749-1474554?psc=1",
+        "price": "$13.99",
+        "asin": "B099N3SNGH",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 82.6187,
+                    "ratio": 0.0516
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 1518.1624,
+                    "ratio": 0.9484
+                }
+            },
+            "ad": {
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 82.6187,
+                    "ratio": 1
+                }
+            },
+            "recommend": {}
+        }
+    },
+    {
+        "text": "LIANZIMAU Cat Surgery Recovery Suit for Surgical Abdominal Wounds Home Indoor Pet Clothing E-Collar Alternative for Cats After Surgery Pajama Suit",
+        "href": "/LIANZIMAU-Recovery-Abdominal-Alternative-Sterilization/dp/B08B8N78GK/ref=zg_bs_2975292011_sccl_33/132-3433749-1474554?psc=1",
+        "price": "$12.99",
+        "asin": "B08B8N78GK",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 103.1332,
+                    "ratio": 0.0738
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 209.7016,
+                    "ratio": 0.1501
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 1084.4213,
+                    "ratio": 0.7761
+                }
+            },
+            "ad": {
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 45.9733,
+                    "ratio": 0.4458
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 57.1599,
+                    "ratio": 0.5542
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 1060.1897,
+                    "ratio": 0.9777
+                },
+                "customers frequently viewed": {
+                    "name": "customers frequently viewed",
+                    "wholeName": "customers frequently viewed",
+                    "score": 24.2316,
+                    "ratio": 0.0223
+                }
+            }
+        }
+    },
+    {
+        "text": "Supet Cat Cone Adjustable Pet Cone Pet Recovery Collar Comfy Pet Cone Collar Protective Collar for After Surgery Anti-Bite Lick Wound Healing Safety Practical Plastic E-Collar for Cats Puppy Rabbit",
+        "href": "/Supet-Adjustable-Protective-Anti-Bite-Practical/dp/B07VQ6QJK3/ref=zg_bs_2975292011_sccl_34/132-3433749-1474554?psc=1",
+        "price": "$12.99",
+        "asin": "B07VQ6QJK3",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 2.2838,
+                    "ratio": 0.0001
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 16226.4725,
+                    "ratio": 0.7509
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 5380.331,
+                    "ratio": 0.249
+                }
+            },
+            "ad": {
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 2.2838,
+                    "ratio": 1
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 5380.331,
+                    "ratio": 1
+                }
+            }
+        }
+    },
+    {
+        "text": "SunGrow Cat Cone Collar Soft, Stop Licking E Collar for Recovery, Post Surgery Stress Relieving with Adjustable Strap Enclosures (7\" - 9\" Neck Size, Pink)",
+        "href": "/SunGrow-Recovery-Relieving-Adjustable-Enclosures/dp/B09VHCF2XR/ref=zg_bs_2975292011_sccl_35/132-3433749-1474554?psc=1",
+        "price": "$21.89",
+        "asin": "B09VHCF2XR",
+        "data": {
+            "overview": {
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 930.2233,
+                    "ratio": 0.8501
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 164.0403,
+                    "ratio": 0.1499
+                }
+            },
+            "ad": {},
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 164.0403,
+                    "ratio": 1
+                }
+            }
+        }
+    },
+    {
+        "text": "Cat Cone Collar Soft, Hpetppy Cute Donut Pet Recovery Collar for Wound Healing, Adjustable Protective Cat Donut Collar After Surgery Neck Pillow Elizabethan Collars for Kitten, Puppy and Small Dogs",
+        "href": "/Hpetppy-Recovery-Adjustable-Protective-Elizabethan/dp/B0BNFN5165/ref=zg_bs_2975292011_sccl_36/132-3433749-1474554?psc=1",
+        "price": "$11.99",
+        "asin": "B0BNFN5165",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 4064.2576,
+                    "ratio": 0.6437
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 1988.8465,
+                    "ratio": 0.315
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 260.8999,
+                    "ratio": 0.0413
+                }
+            },
+            "ad": {
+                "sbv": {
+                    "name": "视频广告流量",
+                    "wholeName": "Sponsored Brand Video",
+                    "score": 1304.2524,
+                    "ratio": 0.3209
+                },
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 1317.35,
+                    "ratio": 0.3241
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 1442.6552,
+                    "ratio": 0.355
+                }
+            },
+            "recommend": {
+                "other items you might need": {
+                    "name": "other items you might need",
+                    "wholeName": "other items you might need",
+                    "score": 130.45,
+                    "ratio": 0.5
+                },
+                "shoppers also bought": {
+                    "name": "shoppers also bought",
+                    "wholeName": "shoppers also bought",
+                    "score": 130.45,
+                    "ratio": 0.5
+                }
+            }
+        }
+    },
+    {
+        "text": "Cat Recovery Collar Cat Soft Cone Collar Pet Protective Cotton Cone Adjustable Fasteners Collars for Cats Puppies,Blue (Small)",
+        "href": "/Recovery-Protective-Adjustable-Fasteners-Collars/dp/B09KXTMGVW/ref=zg_bs_2975292011_sccl_37/132-3433749-1474554?psc=1",
+        "price": "$12.99",
+        "asin": "B09KXTMGVW",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 84.6102,
+                    "ratio": 0.0036
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 23691.7382,
+                    "ratio": 0.9964
+                }
+            },
+            "ad": {
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 78.8672,
+                    "ratio": 0.9321
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 5.7431,
+                    "ratio": 0.0679
+                }
+            },
+            "recommend": {}
+        }
+    },
+    {
+        "text": "ZenPet Pet Recovery Cone E-Collar for Dogs and Cats - Always Use with Your Pet's Everyday Collar - Comfortable Soft Collar is Adjustable for a Secure and Custom Fit (Small)",
+        "href": "/ZenPet-ProCone-Collar-Dogs-Cats/dp/B00XN0Y1DG/ref=zg_bs_2975292011_sccl_38/132-3433749-1474554?psc=1",
+        "price": "$14.81",
+        "asin": "B00XN0Y1DG",
+        "data": {
+            "overview": {
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 1041.1216,
+                    "ratio": 1
+                }
+            },
+            "ad": {},
+            "recommend": {}
+        }
+    },
+    {
+        "text": "Cat Recovery Suit After Surgery for Female Male Pet Surgical Pajamas Long Sleeve Prevent Shedding Recovery Snugly Suit&E Collar Alternative Onsies for Cats (M, Dark Grey)",
+        "href": "/Recovery-Surgery-Surgical-Shedding-Alternative/dp/B0B8M92QG7/ref=zg_bs_2975292011_sccl_39/132-3433749-1474554?psc=1",
+        "price": "$13.99",
+        "asin": "B0B8M92QG7",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 11.9332,
+                    "ratio": 0.8545
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 2.0326,
+                    "ratio": 0.1455
+                }
+            },
+            "ad": {
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 11.9332,
+                    "ratio": 1
+                }
+            },
+            "recommend": {}
+        }
+    },
+    {
+        "text": "Cat Cone, Soft Cone for Cats to Stop Licking and Scratching, Comfortable Cat Cone Collar with Upgraded PVC Material and Adjustable Velcro for Healing Wound, After Surgery and Vet Visit",
+        "href": "/Scratching-Comfortable-Upgraded-Material-Adjustable/dp/B0BB7NBSFX/ref=zg_bs_2975292011_sccl_40/132-3433749-1474554?psc=1",
+        "price": "$15.99",
+        "asin": "B0BB7NBSFX",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 1664.8926,
+                    "ratio": 0.562
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 1181.8137,
+                    "ratio": 0.399
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 115.5103,
+                    "ratio": 0.039
+                }
+            },
+            "ad": {
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 1664.8926,
+                    "ratio": 1
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 115.5103,
+                    "ratio": 1
+                }
+            }
+        }
+    },
+    {
+        "text": "MUKSIRON Recovery Collar for Dogs,Soft Protective Inflatable Dog Cone Collar for After Surgery, Adjustable Elizabethan Collar for Small/Medium/Large Dog and Cats to Prevent from Scratching & Biting",
+        "href": "/Inflatable-Protective-Recovery-Collar-Large-Vision-Postoperative/dp/B08N64XN11/ref=zg_bs_2975292011_sccl_41/132-3433749-1474554?psc=1",
+        "price": "$11.89",
+        "asin": "B08N64XN11",
+        "data": {
+            "overview": {
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 1278.0936,
+                    "ratio": 1
+                }
+            },
+            "ad": {},
+            "recommend": {}
+        }
+    },
+    {
+        "text": "Woiworco Adjustable Cat Recovery Cones, Soft Cone for Cats, Cute Cat Donut Collar, Wound Healing Protective Cone After Surgery Elizabethan Collars for Kitten Pets(M, Blue),",
+        "href": "/Woiworco-Healing-Protective-Recovery-Elizabethan/dp/B08L8Z361L/ref=zg_bs_2975292011_sccl_42/132-3433749-1474554?psc=1",
+        "price": "$11.99",
+        "asin": "B08L8Z361L",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 223.6344,
+                    "ratio": 0.01
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 20307.7278,
+                    "ratio": 0.9048
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 1914.2582,
+                    "ratio": 0.0853
+                }
+            },
+            "ad": {
+                "sbv": {
+                    "name": "视频广告流量",
+                    "wholeName": "Sponsored Brand Video",
+                    "score": 223.6344,
+                    "ratio": 1
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 1914.2582,
+                    "ratio": 1
+                }
+            }
+        }
+    },
+    {
+        "text": "ComSaf Cat Recovery Collar, Lightweight Pet Elizabeth Collar, Soft Adjustable Cat Cone Collar After Surgery for Cat Kitten Prevent from Licking Wounds, Loops-Protective Healing, Not Block Vision",
+        "href": "/ComSaf-Lightweight-Elizabeth-Adjustable-Loops-Protective/dp/B09K764J24/ref=zg_bs_2975292011_sccl_43/132-3433749-1474554?psc=1",
+        "price": "$11.99",
+        "asin": "B09K764J24",
+        "data": {
+            "overview": {
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 109.4379,
+                    "ratio": 1
+                }
+            },
+            "ad": {},
+            "recommend": {}
+        }
+    },
+    {
+        "text": "TORJOY New Professional Cat Recovery Suit After Surgery as E-Collar Alternative, Kitten Recovery Suit for Spay to Cover Abdominal Wounds, Camouflage Cat Apparel Anti-Licking Cat Onesie",
+        "href": "/TORJOY-Professional-Alternative-Camouflage-Anti-Licking/dp/B0B1HTTTJK/ref=zg_bs_2975292011_sccl_44/132-3433749-1474554?psc=1",
+        "price": "$15.99",
+        "asin": "B0B1HTTTJK",
+        "data": {
+            "overview": {
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 7122.495,
+                    "ratio": 1
+                }
+            },
+            "ad": {},
+            "recommend": {}
+        }
+    },
+    {
+        "text": "4 Pieces Cat Recovery Suits Cotton Recovery Body Wraps Breathable Kittens Recovery Clothes for Cats Small Dogs Abdominal Recovery Weaning (Banana, Football, Strawberry, Donut,M)",
+        "href": "/Recovery-Breathable-Kittens-Clothes-Abdominal/dp/B08P8912VX/ref=zg_bs_2975292011_sccl_45/132-3433749-1474554?psc=1",
+        "price": "$23.99",
+        "asin": "B08P8912VX",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 20954.4,
+                    "ratio": 0.683
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 9724.6718,
+                    "ratio": 0.317
+                }
+            },
+            "ad": {
+                "sb": {
+                    "name": "品牌广告流量",
+                    "wholeName": "Sponsored Brand",
+                    "score": 20954.4,
+                    "ratio": 1
+                }
+            },
+            "recommend": {}
+        }
+    },
+    {
+        "text": "Arrozon Cat Cone Collar Soft Adjustable Cat Recovery Collar Kitten Cones After Surgery 3 Pcs Cute Pet Elizabeth Circle Soft Cone for Cats Small Dogs Pet Donut Collar",
+        "href": "/Collar-Adjustable-Recovery-Surgery-Elizabeth/dp/B0BDKT72YV/ref=zg_bs_2975292011_sccl_46/132-3433749-1474554?psc=1",
+        "price": "1 offer from $16.99",
+        "asin": "B0BDKT72YV",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 52618.1978,
+                    "ratio": 0.6203
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 32054.3351,
+                    "ratio": 0.3779
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 154.1569,
+                    "ratio": 0.0018
+                }
+            },
+            "ad": {
+                "sbv": {
+                    "name": "视频广告流量",
+                    "wholeName": "Sponsored Brand Video",
+                    "score": 1424.4912,
+                    "ratio": 0.0271
+                },
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 47256.6476,
+                    "ratio": 0.8981
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 3937.059,
+                    "ratio": 0.0748
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 69.3558,
+                    "ratio": 0.4499
+                },
+                "customers frequently viewed": {
+                    "name": "customers frequently viewed",
+                    "wholeName": "customers frequently viewed",
+                    "score": 84.8011,
+                    "ratio": 0.5501
+                }
+            }
+        }
+    },
+    {
+        "text": "SunGrow Cat Cone Collar Soft, Cat Recovery E Collar Cone After Surgery to Stop Licking, Pet Cone of Shame Alternatives, Scratch & Bite Proof Grooming Soft Cone for Easy Nail Cutting",
+        "href": "/SunGrow-Recovery-Surgery-Alternatives-Grooming/dp/B0B7P7XR43/ref=zg_bs_2975292011_sccl_47/132-3433749-1474554?psc=1",
+        "price": "$10.91",
+        "asin": "B0B7P7XR43",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 148.8526,
+                    "ratio": 0.0224
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 6491.145,
+                    "ratio": 0.9776
+                }
+            },
+            "ad": {
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 148.8526,
+                    "ratio": 1
+                }
+            },
+            "recommend": {}
+        }
+    },
+    {
+        "text": "QIYADIN Soft Cat Recovery Cone, Durable Dog Collar After Surgery, Waterproof Pet Elizabethan Collar Protective Wound Healing for Cats and Puppies (Medium/Planet Pattern)",
+        "href": "/QIYADIN-Recovery-Waterproof-Elizabethan-Protective/dp/B09W9JM6JQ/ref=zg_bs_2975292011_sccl_48/132-3433749-1474554?psc=1",
+        "price": "$10.99",
+        "asin": "B09W9JM6JQ",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 261.1123,
+                    "ratio": 0.013
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 19769.6779,
+                    "ratio": 0.987
+                }
+            },
+            "ad": {
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 261.1123,
+                    "ratio": 1
+                }
+            },
+            "recommend": {}
+        }
+    },
+    {
+        "text": "TORJOY Kitten Onesies,Cat Recovery Suit for Abdominal Wounds or Skin Diseases,After Surgery Wear Anti Licking Wounds,Breathable E-Collar Alternative for Cat Blue M",
+        "href": "/TORJOY-Professional-Abdominal-Breathable-Alternative/dp/B08R5C9F2D/ref=zg_bs_2975292011_sccl_49/132-3433749-1474554?psc=1",
+        "price": "$12.99",
+        "asin": "B08R5C9F2D",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 11149.7427,
+                    "ratio": 0.6834
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 4841.1462,
+                    "ratio": 0.2967
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 323.3965,
+                    "ratio": 0.0198
+                }
+            },
+            "ad": {
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 10583.5424,
+                    "ratio": 0.9492
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 566.2003,
+                    "ratio": 0.0508
+                }
+            },
+            "recommend": {
+                "trending styles": {
+                    "name": "trending styles",
+                    "wholeName": "trending styles",
+                    "score": 72.6948,
+                    "ratio": 0.2248
+                },
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 250.7017,
+                    "ratio": 0.7752
+                }
+            }
+        }
+    },
+    {
+        "text": "MintCat Cat Cone, 2 Sizes of Adjustable Recovery Cat Cone Collar Soft, Protective Cat Cones to Stop Licking Comfy Pet Cone, Plastic Elizabethan Collar for Cats Kitten Small Dogs After Surgery",
+        "href": "/MintCat-Protective-Recovery-Adjustable-Elizabethan/dp/B097H8RWZS/ref=zg_bs_2975292011_sccl_50/132-3433749-1474554?psc=1",
+        "price": "$10.99",
+        "asin": "B097H8RWZS",
+        "data": {
+            "overview": {
+                "ad": {
+                    "name": "广告流量",
+                    "wholeName": "-",
+                    "score": 2829.6329,
+                    "ratio": 0.3367
+                },
+                "nf": {
+                    "name": "自然流量",
+                    "wholeName": "-",
+                    "score": 2981.2435,
+                    "ratio": 0.3547
+                },
+                "recommend": {
+                    "name": "推荐流量",
+                    "wholeName": "-",
+                    "score": 2593.5826,
+                    "ratio": 0.3086
+                }
+            },
+            "ad": {
+                "hr": {
+                    "name": "HR广告流量",
+                    "wholeName": "Highly Rated(SP广告的一种)",
+                    "score": 2631.7807,
+                    "ratio": 0.9301
+                },
+                "sp": {
+                    "name": "SP广告流量",
+                    "wholeName": "Sponsored Product",
+                    "score": 197.8522,
+                    "ratio": 0.0699
+                }
+            },
+            "recommend": {
+                "ac": {
+                    "name": "AC推荐流量",
+                    "wholeName": "Amazon's Choice",
+                    "score": 2593.5826,
+                    "ratio": 1
+                }
+            }
+        }
+    }
+]

+ 91 - 0
routes/api/index.js

@@ -0,0 +1,91 @@
+'use strict'
+const { chromium, firefox, webkit } = require('playwright')
+const axios = require('axios').default
+
+module.exports = async function (fastify, opts) {
+    fastify.post('/search', async function (request, reply) {
+        let response = await axios.post('https://www.sif.com/api/user/login?_t=' + new Date().getTime(), {
+            phone: '18390881087',
+            password: 'Gaole1401'
+        })
+        let token = response.headers['authorization']
+        axios.defaults.headers.common['authorization'] = token
+        console.log(token)
+
+        const browser = await chromium.launch({ headless: true }) // Or 'firefox' or 'webkit'.
+        const page = await browser.newPage()
+        await page.goto(request.body.url, { timeout: 60000 })
+
+        // await page.evaluate(async () => {
+        //     await new Promise((resolve, reject) => {
+        //         let i = setInterval(() => {
+        //             console.log(
+        //                 (window.innerHeight, document.documentElement.scrollTop, document.documentElement.scrollHeight)
+        //             )
+        //             if (window.innerHeight + document.documentElement.scrollTop > document.documentElement.scrollHeight) {
+        //                 clearInterval(i)
+        //                 resolve()
+        //             } else {
+        //                 window.scrollBy(0, 200)
+        //             }
+        //         }, 100)
+        //     })
+        // })
+        let bottom = 1
+        while (bottom > 0) {
+            await page.evaluate(() => {
+                window.scrollBy(0, 200)
+            })
+            await page.waitForTimeout(100)
+            bottom = await page.evaluate(() => {
+                return document.documentElement.scrollHeight - (window.innerHeight + document.documentElement.scrollTop)
+            })
+            console.log(bottom)
+        }
+        await page.waitForTimeout(2000)
+
+        //find a tag using page.locator
+        const items = await page.locator('.p13n-desktop-grid .a-column').all()
+        console.log(items.length)
+        const res = []
+        await Promise.all(
+            items.map(item => {
+                return new Promise(async (resolve, reject) => {
+                    try {
+                        let atags = await item.locator('a').all()
+                        if (atags && atags[1]) {
+                            let text = await atags[1].innerText()
+                            let href = await atags[1].getAttribute('href')
+                            let match = /\/dp\/(.*?)\//.exec(href)
+                            let asin
+                            if (match && match[1]) {
+                                asin = match[1]
+                            }
+
+                            let rows = await item.locator('.a-row').all()
+                            let price = null
+                            if (rows.length > 1) {
+                                price = await rows[1].innerText()
+                            }
+
+                            let sif = await axios.get('https://www.sif.com/api/search/asinFlowOverview', {
+                                params: {
+                                    country: 'US',
+                                    asin,
+                                    _t: new Date().getTime()
+                                }
+                            })
+                            res.push({ text, href, price, asin, data: sif.data.data })
+                        }
+                        resolve()
+                    } catch (e) {
+                        reject()
+                    }
+                })
+            })
+        )
+
+        await browser.close()
+        return res
+    })
+}

+ 0 - 7
routes/example/index.js

@@ -1,7 +0,0 @@
-'use strict'
-
-module.exports = async function (fastify, opts) {
-    fastify.get('/', async function (request, reply) {
-        return 'this is an example'
-    })
-}

+ 75 - 0
test.js

@@ -0,0 +1,75 @@
+const { chromium, firefox, webkit } = require('playwright')
+const axios = require('axios').default
+const fs = require('fs')
+
+;(async () => {
+    let response = await axios.post('https://www.sif.com/api/user/login?_t=' + new Date().getTime(), {
+        phone: '18390881087',
+        password: 'Gaole1401'
+    })
+    let token = response.headers['authorization']
+    axios.defaults.headers.common['authorization'] = token
+    console.log(token)
+
+    const browser = await chromium.launch({ headless: true }) // Or 'firefox' or 'webkit'.
+    const page = await browser.newPage()
+    await page.goto('https://www.amazon.com/gp/bestsellers/pet-supplies/2975292011/ref=pd_zg_hrsr_pet-supplies')
+
+    // await page.evaluate(async () => {
+    //     await new Promise((resolve, reject) => {
+    //         let i = setInterval(() => {
+    //             console.log(
+    //                 (window.innerHeight, document.documentElement.scrollTop, document.documentElement.scrollHeight)
+    //             )
+    //             if (window.innerHeight + document.documentElement.scrollTop > document.documentElement.scrollHeight) {
+    //                 clearInterval(i)
+    //                 resolve()
+    //             } else {
+    //                 window.scrollBy(0, 200)
+    //             }
+    //         }, 100)
+    //     })
+    // })
+    let bottom = 1
+    while (bottom > 0) {
+        await page.evaluate(() => {
+            window.scrollBy(0, 200)
+        })
+        await page.waitForTimeout(100)
+        bottom = await page.evaluate(() => {
+            return document.documentElement.scrollHeight - (window.innerHeight + document.documentElement.scrollTop)
+        })
+        console.log(bottom)
+    }
+    await page.waitForTimeout(2000)
+
+    //find a tag using page.locator
+    const items = await page.locator('.p13n-desktop-grid .a-column').all()
+    console.log(items.length)
+    const res = []
+    for (let item of items) {
+        let atags = await item.locator('a').all()
+        if (atags && atags[1]) {
+            let text = await atags[1].innerText()
+            let href = await atags[1].getAttribute('href')
+            let match = /\/dp\/(.*?)\//.exec(href)
+            let asin
+            if (match && match[1]) {
+                asin = match[1]
+            }
+            let price = (await item.locator('.a-row').last().allInnerTexts()).join()
+
+            let sif = await axios.get('https://www.sif.com/api/search/asinFlowOverview', {
+                params: {
+                    country: 'US',
+                    asin,
+                    _t: new Date().getTime()
+                }
+            })
+            res.push({ text, href, price, asin, data: sif.data.data })
+        }
+    }
+
+    fs.writeFileSync('res.json', JSON.stringify(res, null, 4))
+    await browser.close()
+})()

+ 78 - 1
yarn.lock

@@ -269,6 +269,14 @@
   dependencies:
     pkg-up "^3.1.0"
 
+"@fastify/cors@^8.2.1":
+  version "8.2.1"
+  resolved "https://registry.npmmirror.com/@fastify/cors/-/cors-8.2.1.tgz#dd348162bcbfb87dff4b492e2bef32d41244006a"
+  integrity sha512-2H2MrDD3ea7g707g1CNNLWb9/tYbmw7HS+MK2SDcgjxwzbOFR93JortelTIO8DBFsZqFtEpKNxiZfSyrGgYcbw==
+  dependencies:
+    fastify-plugin "^4.0.0"
+    mnemonist "0.39.5"
+
 "@fastify/deepmerge@^1.0.0", "@fastify/deepmerge@^1.2.0":
   version "1.3.0"
   resolved "https://registry.npmmirror.com/@fastify/deepmerge/-/deepmerge-1.3.0.tgz#8116858108f0c7d9fd460d05a7d637a13fe3239a"
@@ -499,6 +507,11 @@ async-hook-domain@^2.0.4:
   resolved "https://registry.npmmirror.com/async-hook-domain/-/async-hook-domain-2.0.4.tgz#5a24910982c04394ea33dd442860f80cce2d972c"
   integrity sha512-14LjCmlK1PK8eDtTezR6WX8TMaYNIzBIsd2D1sGoGjgx0BuNMMoSdk7i/drlbtamy0AWv9yv2tkB+ASdmeqFIw==
 
+asynckit@^0.4.0:
+  version "0.4.0"
+  resolved "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
+  integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==
+
 atomic-sleep@^1.0.0:
   version "1.0.0"
   resolved "https://registry.npmmirror.com/atomic-sleep/-/atomic-sleep-1.0.0.tgz#eb85b77a601fc932cfe432c5acd364a9e2c9075b"
@@ -518,6 +531,15 @@ avvio@^8.2.0:
     debug "^4.0.0"
     fastq "^1.6.1"
 
+axios@^1.3.4:
+  version "1.3.4"
+  resolved "https://registry.npmmirror.com/axios/-/axios-1.3.4.tgz#f5760cefd9cfb51fd2481acf88c05f67c4523024"
+  integrity sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==
+  dependencies:
+    follow-redirects "^1.15.0"
+    form-data "^4.0.0"
+    proxy-from-env "^1.1.0"
+
 balanced-match@^1.0.0:
   version "1.0.2"
   resolved "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
@@ -764,6 +786,13 @@ colorette@^2.0.7:
   resolved "https://registry.npmmirror.com/colorette/-/colorette-2.0.19.tgz#cdf044f47ad41a0f4b56b3a0d5b4e6e1a2d5a798"
   integrity sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==
 
+combined-stream@^1.0.8:
+  version "1.0.8"
+  resolved "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
+  integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==
+  dependencies:
+    delayed-stream "~1.0.0"
+
 commist@^3.0.0:
   version "3.2.0"
   resolved "https://registry.npmmirror.com/commist/-/commist-3.2.0.tgz#da9c8e5f245ac21510badc4b10c46b5bcc9b56cd"
@@ -832,6 +861,11 @@ default-require-extensions@^3.0.0:
   dependencies:
     strip-bom "^4.0.0"
 
+delayed-stream@~1.0.0:
+  version "1.0.0"
+  resolved "https://registry.npmmirror.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
+  integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==
+
 depd@2.0.0:
   version "2.0.0"
   resolved "https://registry.npmmirror.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df"
@@ -1059,6 +1093,11 @@ findit@^2.0.0:
   resolved "https://registry.npmmirror.com/findit/-/findit-2.0.0.tgz#6509f0126af4c178551cfa99394e032e13a4d56e"
   integrity sha512-ENZS237/Hr8bjczn5eKuBohLgaD0JyUd0arxretR1f9RO46vZHA1b2y0VorgGV3WaOT3c+78P8h7v4JGJ1i/rg==
 
+follow-redirects@^1.15.0:
+  version "1.15.2"
+  resolved "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13"
+  integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==
+
 foreground-child@^2.0.0:
   version "2.0.0"
   resolved "https://registry.npmmirror.com/foreground-child/-/foreground-child-2.0.0.tgz#71b32800c9f15aa8f2f83f4a6bd9bff35d861a53"
@@ -1067,6 +1106,15 @@ foreground-child@^2.0.0:
     cross-spawn "^7.0.0"
     signal-exit "^3.0.2"
 
+form-data@^4.0.0:
+  version "4.0.0"
+  resolved "https://registry.npmmirror.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452"
+  integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==
+  dependencies:
+    asynckit "^0.4.0"
+    combined-stream "^1.0.8"
+    mime-types "^2.1.12"
+
 forwarded@0.2.0, forwarded@^0.2.0:
   version "0.2.0"
   resolved "https://registry.npmmirror.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811"
@@ -1535,7 +1583,7 @@ mime-db@1.52.0:
   resolved "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70"
   integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==
 
-mime-types@~2.1.24:
+mime-types@^2.1.12, mime-types@~2.1.24:
   version "2.1.35"
   resolved "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a"
   integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==
@@ -1578,6 +1626,13 @@ mkdirp@^1.0.4:
   resolved "https://registry.npmmirror.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
   integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==
 
+mnemonist@0.39.5:
+  version "0.39.5"
+  resolved "https://registry.npmmirror.com/mnemonist/-/mnemonist-0.39.5.tgz#5850d9b30d1b2bc57cc8787e5caa40f6c3420477"
+  integrity sha512-FPUtkhtJ0efmEFGpU14x7jGbTB+s18LrzRL2KgoWz9YvcY3cPomz8tih01GbHwnGk/OmkOKfqd/RAQoc8Lm7DQ==
+  dependencies:
+    obliterator "^2.0.1"
+
 ms@2.1.2:
   version "2.1.2"
   resolved "https://registry.npmmirror.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
@@ -1643,6 +1698,11 @@ object-assign@^4.1.1:
   resolved "https://registry.npmmirror.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
   integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==
 
+obliterator@^2.0.1:
+  version "2.0.4"
+  resolved "https://registry.npmmirror.com/obliterator/-/obliterator-2.0.4.tgz#fa650e019b2d075d745e44f1effeb13a2adbe816"
+  integrity sha512-lgHwxlxV1qIg1Eap7LgIeoBWIMFibOjbrYPIPJZcI1mmGAI2m3lNYpK12Y+GBdPQ0U1hRwSord7GIaawz962qQ==
+
 on-exit-leak-free@^2.1.0:
   version "2.1.0"
   resolved "https://registry.npmmirror.com/on-exit-leak-free/-/on-exit-leak-free-2.1.0.tgz#5c703c968f7e7f851885f6459bf8a8a57edc9cc4"
@@ -1821,6 +1881,18 @@ pkg-up@^3.1.0:
   dependencies:
     find-up "^3.0.0"
 
+playwright-core@1.32.1:
+  version "1.32.1"
+  resolved "https://registry.npmmirror.com/playwright-core/-/playwright-core-1.32.1.tgz#5a10c32403323b07d75ea428ebeed866a80b76a1"
+  integrity sha512-KZYUQC10mXD2Am1rGlidaalNGYk3LU1vZqqNk0gT4XPty1jOqgup8KDP8l2CUlqoNKhXM5IfGjWgW37xvGllBA==
+
+playwright@^1.32.1:
+  version "1.32.1"
+  resolved "https://registry.npmmirror.com/playwright/-/playwright-1.32.1.tgz#c48195850740fbdbd7702f37e5a891b13259f689"
+  integrity sha512-GnEizysWMvoqHC3I9l8+4/ZxeLwLNdJJG76xdKGxzOcIZDcw5RSk/FKrFb5CuA+zcLpjIM2p9eR9Z4CuUDkWXg==
+  dependencies:
+    playwright-core "1.32.1"
+
 process-on-spawn@^1.0.0:
   version "1.0.0"
   resolved "https://registry.npmmirror.com/process-on-spawn/-/process-on-spawn-1.0.0.tgz#95b05a23073d30a17acfdc92a440efd2baefdc93"
@@ -1846,6 +1918,11 @@ proxy-addr@^2.0.7:
     forwarded "0.2.0"
     ipaddr.js "1.9.1"
 
+proxy-from-env@^1.1.0:
+  version "1.1.0"
+  resolved "https://registry.npmmirror.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
+  integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==
+
 pump@^3.0.0:
   version "3.0.0"
   resolved "https://registry.npmmirror.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64"