淘寶詳情api介面
淘寶的反爬蟲機制十分嚴,而很多時候,沒辦法高效的拿到資料內容響應終端需求,
而依賴爬蟲就會造成動不動就出現滑塊驗證,讓人很無解,正好,公司有這樣的需求,
讓我負責解決這個問題,剛開始各種嘗試,始終沒有繞過淘寶的滑塊驗證碼,搞了好幾天,
都沒有進展; 然後各種網上資料查詢,最終還是不負努力,找到更好的解決方案,
讓淘寶不再出現任何滑塊驗證碼,完全繞過,實現更好的使用者體驗。下面就說說封裝好的
介面說明:
我已經把該方法封裝成介面,只需要把要得到的資料URL,傳給我就可以,
然後及時的響應你的資料內容需求,可用於實現淘寶自動登入、秒殺、過淘寶二次驗證攔截等多種常見場景操作。
注意 此介面是透過演算法處理,並非模擬拖動驗證碼。PC、手機淘寶均可用。
以下是行業內瞭解到的一些情況,本帖只展示部分程式碼:
+v:18179018113
{ "item": { "apiStack": [ { "name": "esi", "value": "{\"priceSectionData\": {\"price\": {\"priceText\": \"480.00-3400.00\", \"showTitle\": \"true\", \"newLine\": \"false\", \"priceType\": \"origin_price\"}, \"priceType\": \"origin_price\", \"promotion\": {\"entranceTip\": \"檢視\", \"items\": [{\"content\": \"淘金幣可抵14.40元起\", \"type\": \"default\", \"couponType\": \"Taojinbi\", \"bgImage\": \"\", \"sbgImage\": \"\", \"scontent\": \"淘金幣可抵14.40元起\"}], \"entranceUrl\": \"\", \"promotionStyle\": \"false\"}}, \"skuCore\": {\"sku2info\": {\"0\": {\"price\": {\"priceMoney\": \"48000\", \"priceText\": \"480-3400\", \"type\": \"2\"}, \"quantity\": 1550, \"quantityText\": \"有貨\", \"moreQuantity\": \"true\"}, \"5039984824000\": {\"price\": {\"priceMoney\": \"340000\", \"priceText\": \"3400\", \"type\": \"2\"}, \"quantity\": \"200\", \"quantityText\": \"有貨\", \"moreQuantity\": \"true\", \"logisticsTime\": \"現貨,付款後48小時內發貨\"}, \"4881047531343\": {\"price\": {\"priceMoney\": \"48000\", \"priceText\": \"480\", \"type\": \"2\"}, \"quantity\": \"200\", \"quantityText\": \"有貨\", \"moreQuantity\": \"true\", \"logisticsTime\": \"現貨,付款後48小時內發貨\"}, \"4881047531346\": {\"price\": {\"priceMoney\": \"96800\", \"priceText\": \"968\", \"type\": \"2\"}, \"quantity\": \"200\", \"quantityText\": \"有貨\", \"moreQuantity\": \"true\", \"logisticsTime\": \"現貨,付款後48小時內發貨\"}, \"5039985183003\": {\"price\": {\"priceMoney\": \"300000\", \"priceText\": \"3000\", \"type\": \"2\"}, \"quantity\": \"200\", \"quantityText\": \"有貨\", \"moreQuantity\": \"true\", \"logisticsTime\": \"現貨,付款後48小時內發貨\"}, \"5039985183002\": {\"price\": {\"priceMoney\": \"318800\", \"priceText\": \"3188\", \"type\": \"2\"}, \"quantity\": \"200\", \"quantityText\": \"有貨\", \"moreQuantity\": \"true\", \"logisticsTime\": \"現貨,付款後48小時內發貨\"}, \"4881047531344\": {\"price\": {\"priceMoney\": \"168800\", \"priceText\": \"1688\", \"type\": \"2\"}, \"quantity\": \"150\", \"quantityText\": \"有貨\", \"moreQuantity\": \"false\", \"logisticsTime\": \"現貨,付款後48小時內發貨\"}, \"5039985183001\": {\"price\": {\"priceMoney\": \"238800\", \"priceText\": \"2388\", \"type\": \"2\"}, \"quantity\": \"200\", \"quantityText\": \"有貨\", \"moreQuantity\": \"true\", \"logisticsTime\": \"現貨,付款後48小時內發貨\"}, \"4881047531345\": {\"price\": {\"priceMoney\": \"208800\", \"priceText\": \"2088\", \"type\": \"2\"}, \"quantity\": \"200\", \"quantityText\": \"有貨\", \"moreQuantity\": \"true\", \"logisticsTime\": \"現貨,付款後48小時內發貨\"}}, \"skuItem\": {\"showAddressTaobao\": \"true\", \"hideQuantity\": \"false\", \"location\": \"成都新都\", \"extraProm\": [{\"text\": \"淘金幣可抵14.40元起\"}]}}, \"tradeConsumerProtection\": {\"tradeConsumerService\": {\"service\": {\"items\": [{\"title\": \"不支援7天無理由\", \"desc\": \"此商品為定製,不支援7天無理由退貨\"}, {\"title\": \"免費送裝\", \"desc\": \"在指定的393個主城區內享受“長途運費+同城配送+搬樓(電梯免費入戶,步梯 《=7樓免費入戶)+安裝(拆包/拼裝等)”服務\"}], \"title\": \"一站購齊 權威認證 買退無憂\"}, \"nonService\": {\"items\": [{\"title\": \"螞蟻花唄\"}, {\"title\": \"信用卡支付\"}, {\"title\": \"集分寶\"}], \"title\": \"其他\"}}, \"passValue\": \"all\", \"type\": \"0\"}, \"vertical\": {}, \"price\": {\"price\": {\"priceText\": \"480.00-3400.00\", \"type\": \"2\", \"showTitle\": \"true\"}, \"priceTag\": [{\"text\": \"淘金幣可抵14.40元起\"}], \"transmitPrice\": {\"priceText\": \"480.00-3400.00\"}}, \"skuBase\": {\"skus\": [{\"skuId\": \"4881047531343\", \"propPath\": \"31480:14306495906;1627207:28321\", \"selected\": \"false\"}, {\"skuId\": \"4881047531344\", \"propPath\": \"31480:14306495907;1627207:28321\", \"selected\": \"false\"}, {\"skuId\": \"4881047531345\", \"propPath\": \"31480:14306495908;1627207:28321\", \"selected\": \"false\"}, {\"skuId\": \"4881047531346\", \"propPath\": \"31480:14306495909;1627207:28321\", \"selected\": \"false\"}, {\"skuId\": \"5039985183001\", \"propPath\": \"31480:21480914361;1627207:28321\", \"selected\": \"false\"}, {\"skuId\": \"5039985183002\", \"propPath\": \"31480:21480914362;1627207:28321\", \"selected\": \"false\"}, {\"skuId\": \"5039984824000\", \"propPath\": \"31480:1387571900;1627207:28321\", \"selected\": \"false\"}, {\"skuId\": \"5039985183003\", \"propPath\": \"31480:32527954;1627207:28321\", \"selected\": \"false\"}], \"props\": [{\"pid\": \"31480\", \"name\": \"幾人坐\", \"values\": [{\"vid\": \"14306495906\", \"name\": \"腳踏90*60*48cm\", \"sortOrder\": \"0\"}, {\"vid\": \"14306495907\", \"name\": \"雙人165*95*67cm\", \"sortOrder\": \"0\"}, {\"vid\": \"14306495908\", \"name\": \"三人210*95*67cm\", \"sortOrder\": \"0\"}, {\"vid\": \"14306495909\", \"name\": \"單人100*95*67cm\", \"sortOrder\": \"0\"}, {\"vid\": \"21480914361\", \"name\": \"四人位240*95*67cm\", \"sortOrder\": \"0\"}, {\"vid\": \"21480914362\", \"name\": \"大四人320*95*76cm\", \"sortOrder\": \"0\"}, {\"vid\": \"1387571900\", \"name\": \"3米貴妃沙發\", \"sortOrder\": \"0\"}, {\"vid\": \"32527954\", \"name\": \"定製尺寸\", \"sortOrder\": \"0\"}]}, {\"pid\": \"1627207\", \"name\": \"顏色分類\", \"values\": [{\"vid\": \"28321\", \"name\": \"乳白色 尺寸顏色可定製\", \"image\": \"!!2568161054.jpg\", \"sortOrder\": \"0\"}]}]}, \"delivery\": {\"from\": \"江蘇南通\", \"to\": \"成都新都\", \"completedTo\": \"成都 新都 大豐\", \"areaId\": \"510114\", \"postage\": \"平郵: 快遞包郵\", \"extras\": {}}, \"item\": {\"titleIcon\": \"\", \"vagueSellCount\": \"37\", \"containerDimension\": \"1:1\", \"rootCategoryId\": \"\", \"categoryId\": \"\", \"shopId\": \"\", \"sellerId\": \"2568161054\"}, \"consumerProtection\": {\"items\": [{\"title\": \"不支援7天無理由\", \"desc\": \"此商品為定製,不支援7天無理由退貨\"}, {\"title\": \"免費送裝\", \"desc\": \"在指定的393個主城區內享受“長途運費+同城配送+搬樓(電梯免費入戶,步梯 《=7樓免費入戶)+安裝(拆包/拼裝等)”服務\"}, {\"title\": \"螞蟻花唄\"}, {\"title\": \"信用卡支付\"}, {\"title\": \"集分寶\"}]}, \"skuTransform\": {\"extraText\": \"共8種幾人坐可選\", \"skuContents\": [{\"text\": \"腳踏90*60*48cm\"}, {\"text\": \"雙人165*95*67cm\"}, {\"text\": \"三人210*95*67cm\"}]}, \"services\": {\"allServices\": [{\"uniqueServices\": [{\"autoSelect\": \"true\", \"uniqueId\": \"8\", \"name\": \"上門安裝\"}], \"serviceId\": \"JIAJU_FUWU_INSTALL\", \"autoSelect\": \"false\", \"mustSelect\": \"false\", \"name\": \"\"}, {\"uniqueServices\": [{\"autoSelect\": \"true\", \"uniqueId\": \"6\", \"name\": \"送貨入戶\"}], \"serviceId\": \"JIAJU_FUWU\", \"autoSelect\": \"false\", \"mustSelect\": \"false\", \"name\": \"\"}], \"sku2serviceMap\": {\"0\": [{\"serviceId\": \"JIAJU_FUWU_INSTALL\", \"serviceSkuPrices\": [{\"uniqueId\": \"8\", \"free\": \"true\", \"price\": \"0\"}]}, {\"serviceId\": \"JIAJU_FUWU\", \"serviceSkuPrices\": [{\"uniqueId\": \"6\", \"free\": \"true\", \"price\": \"0\"}]}], \"5039984824000\": [{\"serviceId\": \"JIAJU_FUWU_INSTALL\", \"serviceSkuPrices\": [{\"uniqueId\": \"8\", \"free\": \"true\", \"price\": \"0\"}]}, {\"serviceId\": \"JIAJU_FUWU\", \"serviceSkuPrices\": [{\"uniqueId\": \"6\", \"free\": \"true\", \"price\": \"0\"}]}], \"4881047531343\": [{\"serviceId\": \"JIAJU_FUWU_INSTALL\", \"serviceSkuPrices\": [{\"uniqueId\": \"8\", \"free\": \"true\", \"price\": \"0\"}]}, {\"serviceId\": \"JIAJU_FUWU\", \"serviceSkuPrices\": [{\"uniqueId\": \"6\", \"free\": \"true\", \"price\": \"0\"}]}], \"5039985183003\": [{\"serviceId\": \"JIAJU_FUWU_INSTALL\", \"serviceSkuPrices\": [{\"uniqueId\": \"8\", \"free\": \"true\", \"price\": \"0\"}]}, {\"serviceId\": \"JIAJU_FUWU\", \"serviceSkuPrices\": [{\"uniqueId\": \"6\", \"free\": \"true\", \"price\": \"0\"}]}], \"4881047531346\": [{\"serviceId\": \"JIAJU_FUWU_INSTALL\", \"serviceSkuPrices\": [{\"uniqueId\": \"8\", \"free\": \"true\", \"price\": \"0\"}]}, {\"serviceId\": \"JIAJU_FUWU\", \"serviceSkuPrices\": [{\"uniqueId\": \"6\", \"free\": \"true\", \"price\": \"0\"}]}], \"5039985183002\": [{\"serviceId\": \"JIAJU_FUWU_INSTALL\", \"serviceSkuPrices\": [{\"uniqueId\": \"8\", \"free\": \"true\", \"price\": \"0\"}]}, {\"serviceId\": \"JIAJU_FUWU\", \"serviceSkuPrices\": [{\"uniqueId\": \"6\", \"free\": \"true\", \"price\": \"0\"}]}], \"5039985183001\": [{\"serviceId\": \"JIAJU_FUWU_INSTALL\", \"serviceSkuPrices\": [{\"uniqueId\": \"8\", \"free\": \"true\", \"price\": \"0\"}]}, {\"serviceId\": \"JIAJU_FUWU\", \"serviceSkuPrices\": [{\"uniqueId\": \"6\", \"free\": \"true\", \"price\": \"0\"}]}], \"4881047531344\": [{\"serviceId\": \"JIAJU_FUWU_INSTALL\", \"serviceSkuPrices\": [{\"uniqueId\": \"8\", \"free\": \"true\", \"price\": \"0\"}]}, {\"serviceId\": \"JIAJU_FUWU\", \"serviceSkuPrices\": [{\"uniqueId\": \"6\", \"free\": \"true\", \"price\": \"0\"}]}], \"4881047531345\": [{\"serviceId\": \"JIAJU_FUWU_INSTALL\", \"serviceSkuPrices\": [{\"uniqueId\": \"8\", \"free\": \"true\", \"price\": \"0\"}]}, {\"serviceId\": \"JIAJU_FUWU\", \"serviceSkuPrices\": [{\"uniqueId\": \"6\", \"free\": \"true\", \"price\": \"0\"}]}]}, \"multiSelect\": \"true\", \"mustSelect\": \"false\"}, \"promotionFloatingData\": {\"detailPromotionTimeDO\": {\"promotionType\": \"NLORMAL\"}, \"showWarm\": \"true\", \"showNow\": \"true\", \"skuMoney\": {\"skuId\": \"4881047531343\", \"cent\": \"48000\"}, \"buyEnable\": \"true\"}, \"trade\": {\"buyEnable\": \"true\", \"cartEnable\": \"true\", \"buyUrl\": \"buildOrderVersion=3.0\"}}" } ], "consumerProtection": [], "item": { "brandValueId": "1435187098", "categoryId": "50020632", "favcount": "7430", "images": [ "//img.alicdn.com/imgextra/i4/2568161054/O1CN01aYBriY1Jem9UDtt9e_!!2568161054.jpg", "//img.alicdn.com/imgextra/i3/2568161054/O1CN01kjOfNb1Jem9DmWn8Y_!!2568161054.jpg", "//img.alicdn.com/imgextra/i1/2568161054/O1CN01HoB9ha1Jem9DmWn8r_!!2568161054.jpg", "//img.alicdn.com/imgextra/i4/2568161054/O1CN011PjP2P1Jem9MXEUFT_!!2568161054.jpg", "//img.alicdn.com/imgextra/i3/2568161054/O1CN01KUfBFL1Jem9KTTMn1_!!2568161054.jpg" ], "itemId": "652874751412", "rootCategoryId": "50008164", "title": "北歐輕奢布藝沙發 小戶型簡約現代客廳ins風網紅款三雙人訂製沙發" }, "props": { "groupProps": [ { "基本資訊": [ { "品牌": "#0 工廠" }, { "型號": "520" }, { "材質": "木" }, { "木質材質": "松木" }, { "面料": "絨布" }, { "風格": "北歐" }, { "幾人坐": "腳踏90*60*48cm,雙人165*95*67cm,三人210*95*67cm,單人100*95*67cm,四人位240*95*67cm,大四人320*95*76cm,3米貴妃沙發,定製尺寸" }, { "顏色分類": "乳白色" }, { "填充物": "海綿" }, { "結構工藝": "木質工藝" }, { "是否可定製": "是" }, { "沙發組合形式": "U形" }, { "是否可拆洗": "是" }, { "適用物件": "成年人" }, { "是否帶儲物空間": "否" }, { "產地": "上海" }, { "地市": "上海市" }, { "區縣": "奉賢區" }, { "是否組裝": "否" }, { "計程車是否可運輸": "否" }, { "填充物硬度": "軟" }, { "款式定位": "經濟型" } ] } ] }, "rate": { "keywords": [ { "attribute": "60051064-11", "count": "12", "type": "1", "word": "質量很好" }, { "attribute": "60041078-11", "count": "2", "type": "1", "word": "沒有色差" }, { "attribute": "60151018-11", "count": "2", "type": "1", "word": "顏色款式好看" }, { "attribute": "60121002-11", "count": "8", "type": "1", "word": "外觀材質很好" }, { "attribute": "60261000-11", "count": "3", "type": "1", "word": "很有價值" }, { "attribute": "60041039-11", "count": "2", "type": "1", "word": "做工精細" } ], "totalCount": "600+", "utFeedId": "1203643360343_1200464068516" }, "seller": { "allItemCount": "40", "creditLevel": "9", "evaluates": [ { "level": "1", "levelText": "高", "score": "4.9 ", "title": "寶貝描述", "type": "desc" }, { "level": "1", "levelText": "高", "score": "4.9 ", "title": "賣家服務", "type": "serv" }, { "level": "1", "levelText": "高", "score": "4.9 ", "title": "物流服務", "type": "post" } ], "fans": "642", "fbt2User": "惜情yqq1127", "goodRatePercentage": "99.90%", "sellerNick": "惜情yqq1127", "sellerType": "C", "shopIcon": "//img.alicdn.com/imgextra//i2/O1CN017D9cAn1Jem2jOJ68Y_!!0-guide.jpg", "shopId": "567158267", "shopName": "現代布藝沙發", "shopType": "C", "shopVersion": "0", "userId": "2568161054" }, "skuBase": { "props": [ { "name": "幾人坐", "pid": "31480", "values": [ { "name": "腳踏90*60*48cm", "vid": "14306495906" }, { "name": "雙人165*95*67cm", "vid": "14306495907" }, { "name": "三人210*95*67cm", "vid": "14306495908" }, { "name": "單人100*95*67cm", "vid": "14306495909" }, { "name": "四人位240*95*67cm", "vid": "21480914361" }, { "name": "大四人320*95*76cm", "vid": "21480914362" }, { "name": "3米貴妃沙發", "vid": "1387571900" }, { "name": "定製尺寸", "vid": "32527954" } ] }, { "name": "顏色分類", "pid": "1627207", "values": [ { "image": "//img.alicdn.com/imgextra/i1/2568161054/O1CN017GTZ4h1Jem9Qra1ap_!!2568161054.jpg", "name": "乳白色 尺寸顏色可定製", "vid": "28321" } ] } ], "skus": [ { "propPath": "31480:14306495906;1627207:28321", "skuId": "4881047531343" }, { "propPath": "31480:14306495907;1627207:28321", "skuId": "4881047531344" }, { "propPath": "31480:14306495908;1627207:28321", "skuId": "4881047531345" }, { "propPath": "31480:14306495909;1627207:28321", "skuId": "4881047531346" }, { "propPath": "31480:21480914361;1627207:28321", "skuId": "5039985183001" }, { "propPath": "31480:21480914362;1627207:28321", "skuId": "5039985183002" }, { "propPath": "31480:1387571900;1627207:28321", "skuId": "5039984824000" }, { "propPath": "31480:32527954;1627207:28321", "skuId": "5039985183003" } ] },
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/69952502/viewspace-2945163/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 淘寶API介面大全 電商API詳情API
- 淘寶詳情APi介面的使用方式API
- 如何獲得淘寶/天貓淘寶商品詳情 API介面API
- 如何透過API介面獲得淘寶分類詳情?API
- 淘寶商品詳情資料API介面php java pythonAPIPHPJavaPython
- 淘寶詳情api介面獲取的方式及簡單示例API
- 商品詳情API介面API
- 淘寶詳情API介面在各種應用中的作用性API
- 獲取淘寶商品詳情api、介面獲取寶貝詳情、產品詳細屬性示例說明API
- 淘寶詳情API介面:一鍵獲取商品資訊的實踐探索API
- 1688詳情api介面API
- 拼多多詳情api介面API
- 淘寶API系列:如何採集淘寶商品詳情頁資料?API
- 解鎖淘寶商品詳情資料:淘寶天貓商品詳情介面助你精準營銷
- 淘寶/天貓獲得淘寶商品詳情 API 返回值說明API
- Java獲取淘寶/天貓商品詳情 API介面(寶貝詳情資料、寶貝ID、寶貝標題、商品簡介等)JavaAPI
- 淘寶API介面AG文件接入呼叫方法詳解API
- 詳情API介面上貨搬運獲取資訊API介面API
- 阿里巴巴國際站API詳情介面獲取商品詳情介面阿里API
- 淘寶商品詳情介面(商品銷量介面,商品列表介面,商品影片介面)程式碼展示
- 小紅書API介面測試 | 小紅書筆記詳情 API 介面測試指南API筆記
- 阿里巴巴商品採集介面 商品詳情api 商品主圖介面 商品詳情圖介面阿里API
- 淘寶商品詳情資料介面寫日表格程式碼展示
- 淘寶/天貓獲得淘寶商品詳情 API 如何實現實時資料獲取?API
- 淘寶API分享:關鍵字搜尋淘寶商品,獲取商品ID,詳情資料API
- 使用API介面獲取拼多多商品詳情API
- 淘寶/天貓商品詳情實時資料API技術實現API
- 淘寶/天貓獲得淘寶app商品詳情原資料 API 返回值說明APPAPI
- 淘寶訂單資訊獲取介面API,淘寶打單發貨介面API
- 用PHP使用API介面獲取蝦皮商品詳情PHPAPI
- 使用商品詳情API介面獲取商品資料API
- 商品詳情API介面怎麼被程式猿使用API
- 拼多多API介面:拼多多根據ID取商品詳情 APIAPI
- 淘寶/天貓獲得淘寶商品詳情原資料 API 引數及返回值說明API
- 淘寶商品詳情介面在電商運營中的應用例項
- 探秘淘寶商品詳情介面:獲取電商資料的新途徑
- 淘寶詳情API介面在電商行業中的重要性及實時資料獲取實現API行業
- 淘寶拼多多京東上貨必備API 商品詳情頁資料抓取 APP商品詳情原資料APIAPP