walter 爬虫日记

作者: Spareribs | 来源:发表于2019-04-01 22:44 被阅读4次

    获取首页的分类

    https://www.walter-tools.com/zh-cn/_vti_bin/tibp/walter/searchservice.svc/GetProductResults

    所有产品

    其中包括5个产品

    产品 代号 数量
    车削 turning 9444
    孔加工 holemaking 19396
    螺纹加工 threading 10123
    铣削 milling 7836
    刀柄 adaptors 1795
    其他 other 12780
    产品 assembly-parts-and-accessories 1705

    车削分类

    https://www.walter-tools.com/zh-cn/_vti_bin/tibp/walter/searchservice.svc/GetRelatedSearchContent

    单个产品的详情信息

    产品细节(参数)

    https://www.walter-tools.com/zh-cn/_vti_bin/tibp/walter/searchservice.svc/GetProductByOrdCode

    {
      "ordCode": "DCLNR1616H12", # 产品Code
      "measurementUnit": "metric",
      "templateId": null
    }
    

    这里能获取到后面的重要信息5673858 WICMaterialID 或者是 WICEDPNumber

    备件和附件(附件·备件)

    https://www.walter-tools.com/zh-cn/_vti_bin/tibp/walter/searchservice.svc/GetProductResults

    {
      "request": {
        "Type": 6,
        "DetailsQueryType": "WICMatchBOM",
        "Query": {
          "Text": "WICMatchBOMFOR:5673858" # 关键信息:订单号
        },
        "CurrentPage": 0,
        "ItemsPerPage": 11,
        "TemplateId": "*",
        "MeasurementUnit": "metric"
      }
    }
    

    获取适配刀片(匹配刃具)

    https://www.walter-tools.com/zh-cn/_vti_bin/tibp/walter/searchservice.svc/GetMatchingProductTabsByMaterialId

    例如:CNGA1204;CNMM1204 就是获取到的"匹配的可转位刀片"

    {
      "materialId": 5673858, # 关键信息:订单号
      "isAdaptor": false,
      "getAdaptors": false,
      "isMetric": true
    }
    

    相关文章

      网友评论

        本文标题:walter 爬虫日记

        本文链接:https://www.haomeiwen.com/subject/hclibqtx.html