diff --git "a/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/0search_keyword.html" "b/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/0search_keyword.html" new file mode 100644 index 0000000000000000000000000000000000000000..32fc8fff8ef669e49a960a599d865a5d16eb3f79 --- /dev/null +++ "b/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/0search_keyword.html" @@ -0,0 +1,7202 @@ + + + + + + + + + + + + + + + + + + + + +洗衣液 - 商品搜索 - 京东 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+
+
+
+
+ +
+
+ +
+ + +
+
+
+
+ + + 我的购物车 +
+
+
+
+ +
+
+
+
+ +
+ + +
+ + +
+
+
+
+ +
+ > +
+ "洗衣液" +
+
+
+
+ +
+ +
+ +
+
+
品牌:
+
+
    +
  • 所有品牌
  • +
  • A
  • +
  • B
  • +
  • C
  • +
  • D
  • +
  • E
  • +
  • F
  • +
  • G
  • +
  • H
  • +
  • I
  • +
  • J
  • +
  • K
  • +
  • L
  • +
  • M
  • +
  • N
  • +
  • O
  • +
  • P
  • +
  • Q
  • +
  • R
  • +
  • S
  • +
  • T
  • +
  • U
  • +
  • V
  • +
  • W
  • +
  • X
  • +
  • Y
  • +
  • Z
  • +
+
+
+ +
+
已选条件:
    +
    + 确定 + 取消 +
    +
    +
    + 更多 + 多选 +
    +
    +
    +
    +
    +
    衣物清洁:
    +
    +
    + +
    +
    + 确定 + 取消 +
    +
    +
    + 更多 + +
    +
    +
    + +
    +
    +
    洗护用品:
    +
    +
    + +
    +
    + 确定 + 取消 +
    +
    +
    + 更多 + +
    +
    +
    + +
    +
    +
    包装:
    +
    +
    + +
    +
    + 确定 + 取消 +
    +
    +
    + 更多 + 多选 +
    +
    +
    +
    +
    +
    净含量:
    +
    +
    + +
    +
    + 确定 + 取消 +
    +
    +
    + 更多 + 多选 +
    +
    +
    +
    +
    +
    高级选项:
    + +
    + + + + + + + + + + +
    +
    +
    +
    +
    +
    + +
    +
    + +
    + + + + + +
    +
    +
    +
    + - +
    +
    +
    + + 清空 + 确定 +
    +
    +
    + + 1/100 + + < + > +
    +
    6.6万+件商品
    + +
    +
    +
    +
    配送至
    +
    +
    +
    北京
    + +
    +
    +
    +
    +
    +
    +
    + + +
    +
    + + +
    + + + +
    +
    正在加载中,请稍后~~
    +
    +
    +
    +
    +
    +
    + +

    商品精选

    +
    +
      +
    +
    +
    +

    精品推荐

    + +
    +
    + +
    + + +
    +
    +
    +
    +
    + +
    商品精选
    +
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
      +
    1. + 品类齐全,轻松购物 +
    2. +
    3. + 多仓直发,极速配送 +
    4. +
    5. + 正品行货,精致服务 +
    6. +
    7. + 天天低价,畅选无忧 +
    8. +
    +
    +
    +
    +
    +
    +
    购物指南
    +
    + 购物流程 +
    +
    + 会员介绍 +
    +
    + 生活旅行/团购 +
    +
    + 常见问题 +
    +
    + 大家电 +
    +
    + 联系客服 +
    +
    +
    +
    配送方式
    +
    + 上门自提 +
    +
    + 211限时达 +
    +
    + 配送服务查询 +
    +
    + 配送费收取标准 +
    +
    + 海外配送 +
    +
    +
    +
    支付方式
    +
    + 货到付款 +
    +
    + 在线支付 +
    +
    + 分期付款 +
    +
    + 公司转账 +
    +
    +
    +
    售后服务
    +
    + 售后政策 +
    +
    + 价格保护 +
    +
    + 退款说明 +
    +
    + 返修/退换货 +
    +
    + 取消订单 +
    +
    +
    +
    特色服务
    +
    + 夺宝岛 +
    +
    + DIY装机 +
    +
    + 延保服务 +
    +
    + 京东E卡 +
    +
    + 京东通信 +
    +
    + 京鱼座智能 +
    +
    + +
    +
    +
    +
    + + +
    + + + + + diff --git "a/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/\344\270\273\350\246\201\351\200\232\350\277\207\345\261\236\346\200\247\345\220\215\345\256\232\344\275\215.png" "b/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/\344\270\273\350\246\201\351\200\232\350\277\207\345\261\236\346\200\247\345\220\215\345\256\232\344\275\215.png" new file mode 100644 index 0000000000000000000000000000000000000000..329e8c1f14f8a71ffb2382993b043676c5f67636 Binary files /dev/null and "b/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/\344\270\273\350\246\201\351\200\232\350\277\207\345\261\236\346\200\247\345\220\215\345\256\232\344\275\215.png" differ diff --git "a/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/\346\264\227\350\241\243\346\266\262\345\217\252\344\277\235\347\225\231\346\234\211\347\224\250\347\232\204\351\223\276\346\216\245.png" "b/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/\346\264\227\350\241\243\346\266\262\345\217\252\344\277\235\347\225\231\346\234\211\347\224\250\347\232\204\351\223\276\346\216\245.png" new file mode 100644 index 0000000000000000000000000000000000000000..922712305d44a3258759d8cffedc986be4e3b0d0 Binary files /dev/null and "b/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/\346\264\227\350\241\243\346\266\262\345\217\252\344\277\235\347\225\231\346\234\211\347\224\250\347\232\204\351\223\276\346\216\245.png" differ diff --git "a/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232.py" "b/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232.py" new file mode 100644 index 0000000000000000000000000000000000000000..8c610f11b9d13a3d11f1b934e7ced2e9ca279657 --- /dev/null +++ "b/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232.py" @@ -0,0 +1,13 @@ +from bs4 import BeautifulSoup + + +def jd_search_parse(html): + soup = BeautifulSoup(html, "lxml") + item = soup.select("li[data-sku='100013453386']")[0] + print(item.text.strip()) + + +if __name__ == '__main__': + with open("0search_keyword.html", "r", encoding="utf-8") as f: + html = f.read() + jd_search_parse(html) diff --git "a/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/\351\200\232\350\277\207class\345\200\274\350\277\233\350\241\214\345\256\232\344\275\215.png" "b/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/\351\200\232\350\277\207class\345\200\274\350\277\233\350\241\214\345\256\232\344\275\215.png" new file mode 100644 index 0000000000000000000000000000000000000000..a053de416915f3d80addc7d2354c89dd5b56ab06 Binary files /dev/null and "b/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/\351\200\232\350\277\207class\345\200\274\350\277\233\350\241\214\345\256\232\344\275\215.png" differ diff --git "a/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/\351\200\232\350\277\207id\345\256\232\344\275\215\345\205\203\347\264\240.png" "b/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/\351\200\232\350\277\207id\345\256\232\344\275\215\345\205\203\347\264\240.png" new file mode 100644 index 0000000000000000000000000000000000000000..9873aecaad6c2e830f52d0d084a1d1058cce7e3d Binary files /dev/null and "b/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/\351\200\232\350\277\207id\345\256\232\344\275\215\345\205\203\347\264\240.png" differ diff --git "a/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/\351\201\215\345\216\206\346\211\200\346\234\211\347\254\246\345\220\210\346\235\241\344\273\266\347\232\204\345\205\203\347\264\240.png" "b/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/\351\201\215\345\216\206\346\211\200\346\234\211\347\254\246\345\220\210\346\235\241\344\273\266\347\232\204\345\205\203\347\264\240.png" new file mode 100644 index 0000000000000000000000000000000000000000..1532ced3e630b4546cbedff535d7327b1a0aaea2 Binary files /dev/null and "b/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/4\347\217\255/4\347\217\255_\346\257\217\346\227\245\345\205\205\347\224\265/\347\254\254\344\271\235\345\221\250\344\275\234\344\270\232/\347\254\254\344\271\235\345\221\250\347\254\2542\350\212\202\350\257\276\344\275\234\344\270\232/\351\201\215\345\216\206\346\211\200\346\234\211\347\254\246\345\220\210\346\235\241\344\273\266\347\232\204\345\205\203\347\264\240.png" differ