拼多多商品详情api接口

     pdd的反爬虫机制十分严,而很多时候,没办法高效的拿到数据内容响应终端需求,而依赖爬虫就会造成动不动就出现滑块验证,让人很无解,正好,公司有这样的需求,让我负责解决这个问题,刚开始各种尝试,始终没有绕过pdd的滑块验证码,搞了好几天,都没有进展; 然后各种网上资料查询,最终还是不负努力,找到更好的解决方案,让它不再出现任何滑块验证码,完全绕过,实现更好的用户体验。下面就说说封装好的
接口说明:
我已经把该方法封装成接口,只需要把要得到的数据URL,传给我就可以,然后及时的响应你的数据内容需求,可用于实现电商行业多种常见场景。

返回数据格式:  请求链接
 

{"item": {"num_iid": "272509462368","title": "爱丽思收纳盒学生宿舍大容量家用储物塑料网红玩具衣服书本整理箱","desc_short": "","price": "164","total_price": "","suggestive_price": "","orginal_price": "230","nick": "爱丽思IRIS天创专卖店","num": 200,"min_num": 0,"detail_url": "http://yangkeduo.com/goods.html?goods_id=272509462368","pic_url": "https://img.pddpic.com/mms-material-img/2021-09-10/d8a2245d-ef39-4e02-a790-17bae1f4988c.jpeg.a.jpeg","brand": "","brandId": "","item_imgs": [{"url": "https://img.pddpic.com/mms-material-img/2021-09-10/d8a2245d-ef39-4e02-a790-17bae1f4988c.jpeg.a.jpeg"},{"url": "https://img.pddpic.com/mms-material-img/2021-09-10/c4d95d6f-6ce6-4637-ace7-4b7ea35d5ee1.jpeg.a.jpeg"},{"url": "https://img.pddpic.com/mms-material-img/2021-09-10/e36612af-40fb-442d-9a2b-f7965dd39b64.jpeg.a.jpeg"},{"url": "https://img.pddpic.com/mms-material-img/2021-09-10/d246be75-5480-46dd-bc9c-dac4030f3b4b.jpeg.a.jpeg"},{"url": "https://img.pddpic.com/mms-material-img/2021-09-10/fe02ec56-ce1a-498d-b6ad-9da4755d31a1.jpeg.a.jpeg"},{"url": "https://img.pddpic.com/mms-material-img/2021-09-10/4f194e7c-ece9-4cd2-b147-834626e3be8e.jpeg.a.jpeg"},{"url": "https://img.pddpic.com/mms-material-img/2021-09-12/992ca5b6-a4d8-41ea-9d7b-769e37d86af6.jpeg"},{"url": "https://img.pddpic.com/mms-material-img/2021-09-12/87d7af09-8727-45b5-881c-8f92cf46bbf7.jpeg"}],"rootCatId": 16794,"cid": 16827,"favcount": 0,"fanscount": 0,"crumbs": [],"created_time": "","modified_time": "","delist_time": "","desc": "<div><img src=\"https://img.pddpic.com/mms-material-img/2021-09-10/387101c5-d50d-4fad-aa2f-a23a51db4c59.jpeg.a.jpeg\"></div><div><img src=\"https://img.pddpic.com/mms-material-img/2021-09-10/cd30691a-5b12-4110-937c-4994368d1b7b.jpeg.a.jpeg\"></div><div><img src=\"https://img.pddpic.com/mms-material-img/2021-09-10/c0c61c07-373c-40fb-936d-8cfa4b0abfb9.jpeg.a.jpeg\"></div><div><img src=\"https://img.pddpic.com/mms-material-img/2021-09-10/15e3e023-2a6a-4a1c-a85c-f101db6275db.jpeg.a.jpeg\"></div><div><img src=\"https://img.pddpic.com/mms-material-img/2021-09-10/1c04415b-5c9f-45f0-804d-72843a595e14.jpeg.a.jpeg\"></div><div><img src=\"https://img.pddpic.com/mms-material-img/2021-09-10/eb574e7d-11c9-4e91-be3d-4a269f240961.jpeg.a.jpeg\"></div><div><img src=\"https://img.pddpic.com/mms-material-img/2021-09-10/1175664e-b608-425b-b27f-b03db0c2af29.jpeg.a.jpeg\"></div><div><img src=\"https://img.pddpic.com/mms-material-img/2021-09-10/0e825292-9ba8-4365-9e00-c7d97918819b.jpeg.a.jpeg\"></div><div><img src=\"https://img.pddpic.com/mms-material-img/2021-09-10/44294652-99e7-4de3-af48-b81d7087ed97.jpeg.a.jpeg\"></div><div><img src=\"https://img.pddpic.com/mms-material-img/2021-09-10/8601b4c7-7da3-4c1d-8ef0-9b3868f3c704.jpeg.a.jpeg\"></div><div><img src=\"https://img.pddpic.com/mms-material-img/2021-09-10/cceb1b2e-afd3-4631-a95b-6cd340d366c4.jpeg.a.jpeg\"></div><div><img src=\"https://img.pddpic.com/mms-material-img/2021-09-10/ae906f0e-4f49-400c-a9f6-0a70a6fd3f19.jpeg.a.jpeg\"></div><div><img src=\"https://img.pddpic.com/mms-material-img/2021-09-10/10e25a91-7140-48d4-aee4-c6e27e6ca5cb.jpeg.a.jpeg\"></div><div><img src=\"https://img.pddpic.com/mms-material-img/2021-09-10/7ad322b9-fd8e-4c0d-a165-4e01f0f60d8d.jpeg.a.jpeg\"></div><div><img src=\"https://img.pddpic.com/mms-material-img/2021-09-10/00d81f48-eab2-42ee-ac14-5d82cf3cace0.jpeg.a.jpeg\"></div><div><img src=\"https://img.pddpic.com/mms-material-img/2021-09-10/1306b4cd-6d33-42b9-b4a1-96a5a4f4067a.jpeg.a.jpeg\"></div><div><img src=\"https://img.pddpic.com/mms-material-img/2021-09-10/a1b7fdc4-80fb-49a9-89ad-88e266cb3ef1.jpeg.a.jpeg\"></div><div><img src=\"https://img.pddpic.com/mms-material-img/2021-09-10/ac174187-f40c-4819-82d9-dde6593127c6.jpeg.a.jpeg\"></div><img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-1.655c086521877&p=1032056093&k=i_key&t=1700530278\" style=\"display:none\" />","item_weight": "","item_size": "","location": "","post_fee": "","express_fee": "","ems_fee": "","shipping_to": "","has_discount": "","video": null,"is_virtual": "","sample_id": "","is_promotion": "","props_name": "1218:18833715922:款式:【抽屉版-长45高18cm】四个装;1218:18833734338:款式:【抽屉版-长45高30cm】三个装;1218:18833703882:款式:【抽屉版-长50高18cm】四个装;1218:18833713657:款式:【抽屉版-长50高30cm】三个装;1218:20203026181:款式:【抽屉版-长45高23cm】三个装","prop_imgs": {"prop_img": [{"properties": "1218:18833715922","url": "https://img.pddpic.com/mms-material-img/2022-11-22/86e38308-f97c-4958-87d7-354b7ae8beca.jpeg.a.jpeg"},{"properties": "1218:18833734338","url": "https://img.pddpic.com/mms-material-img/2022-11-22/09fe854d-f9eb-4094-badf-0d6b2db8dd12.jpeg.a.jpeg"},{"properties": "1218:18833703882","url": "https://img.pddpic.com/mms-material-img/2022-11-23/1a7a7543-c06e-42b9-98d9-bbaa2da2c81b.jpeg"},{"properties": "1218:18833713657","url": "https://img.pddpic.com/mms-material-img/2022-11-23/b8effb8d-1594-485b-866c-9ab4d127379a.jpeg"},{"properties": "1218:20203026181","url": "https://img.pddpic.com/mms-material-img/2022-11-22/60ec60e8-6dc4-43d8-ba6a-ef3e2aa2fe48.jpeg.a.jpeg"}]},"property_alias": "1218:18833715922:款式:【抽屉版-长45高18cm】四个装;1218:18833734338:款式:【抽屉版-长45高30cm】三个装;1218:18833703882:款式:【抽屉版-长50高18cm】四个装;1218:18833713657:款式:【抽屉版-长50高30cm】三个装;1218:20203026181:款式:【抽屉版-长45高23cm】三个装","props": [{"name": "品牌","value": "IRIS/爱丽思"},{"name": "材质","value": "聚丙烯(pp)"},{"name": "打开方式","value": "抽屉式"},{"name": "使用对象","value": "玩具"},{"name": "适用人群","value": "通用"},{"name": "适用场景","value": "客厅"},{"name": "风格","value": "日式"}],"total_sold": "","skus": {"sku": [{"price": "175","total_price": "207","properties": "1218:18833715922","properties_name": "1218:18833715922:款式:【抽屉版-长45高18cm】四个装","orginal_price": "207","quantity": 783,"sku_id": 1396957108231},{"price": "186","total_price": "240","properties": "1218:18833734338","properties_name": "1218:18833734338:款式:【抽屉版-长45高30cm】三个装","orginal_price": "240","quantity": 0,"sku_id": 1396957108232},{"price": "197","total_price": "251","properties": "1218:18833703882","properties_name": "1218:18833703882:款式:【抽屉版-长50高18cm】四个装","orginal_price": "251","quantity": 799,"sku_id": 1396955859217},{"price": "230","total_price": "295","properties": "1218:18833713657","properties_name": "1218:18833713657:款式:【抽屉版-长50高30cm】三个装","orginal_price": "295","quantity": 789,"sku_id": 1396955859219},{"price": "164","total_price": "196","properties": "1218:20203026181","properties_name": "1218:20203026181:款式:【抽屉版-长45高23cm】三个装","orginal_price": "196","quantity": 783,"sku_id": 1428874022402}]},"seller_id": "","sales": 7504,"shop_id": "729330386","props_list": {"1218:18833715922": "款式:【抽屉版-长45高18cm】四个装","1218:18833734338": "款式:【抽屉版-长45高30cm】三个装","1218:18833703882": "款式:【抽屉版-长50高18cm】四个装","1218:18833713657": "款式:【抽屉版-长50高30cm】三个装","1218:20203026181": "款式:【抽屉版-长45高23cm】三个装"},"seller_info": {"nick": "爱丽思IRIS天创专卖店","zhuy": "https://mobile.yangkeduo.com/mall_page.html?mall_id=729330386","shop_name": "爱丽思IRIS天创专卖店"},"tmall": false,"error": "","warning": "","url_log": [],"coupon_activity": "","stuff_status": "","shopinfo": [],"method": "","promo_type": "","props_img": {"1218:18833715922": "https://img.pddpic.com/mms-material-img/2022-11-22/86e38308-f97c-4958-87d7-354b7ae8beca.jpeg.a.jpeg","1218:18833734338": "https://img.pddpic.com/mms-material-img/2022-11-22/09fe854d-f9eb-4094-badf-0d6b2db8dd12.jpeg.a.jpeg","1218:18833703882": "https://img.pddpic.com/mms-material-img/2022-11-23/1a7a7543-c06e-42b9-98d9-bbaa2da2c81b.jpeg","1218:18833713657": "https://img.pddpic.com/mms-material-img/2022-11-23/b8effb8d-1594-485b-866c-9ab4d127379a.jpeg","1218:20203026181": "https://img.pddpic.com/mms-material-img/2022-11-22/60ec60e8-6dc4-43d8-ba6a-ef3e2aa2fe48.jpeg.a.jpeg"},"_ddf": "xbd","format_check": "ok","desc_img": ["https://img.pddpic.com/mms-material-img/2021-09-10/387101c5-d50d-4fad-aa2f-a23a51db4c59.jpeg.a.jpeg","https://img.pddpic.com/mms-material-img/2021-09-10/cd30691a-5b12-4110-937c-4994368d1b7b.jpeg.a.jpeg","https://img.pddpic.com/mms-material-img/2021-09-10/c0c61c07-373c-40fb-936d-8cfa4b0abfb9.jpeg.a.jpeg","https://img.pddpic.com/mms-material-img/2021-09-10/15e3e023-2a6a-4a1c-a85c-f101db6275db.jpeg.a.jpeg","https://img.pddpic.com/mms-material-img/2021-09-10/1c04415b-5c9f-45f0-804d-72843a595e14.jpeg.a.jpeg","https://img.pddpic.com/mms-material-img/2021-09-10/eb574e7d-11c9-4e91-be3d-4a269f240961.jpeg.a.jpeg","https://img.pddpic.com/mms-material-img/2021-09-10/1175664e-b608-425b-b27f-b03db0c2af29.jpeg.a.jpeg","https://img.pddpic.com/mms-material-img/2021-09-10/0e825292-9ba8-4365-9e00-c7d97918819b.jpeg.a.jpeg","https://img.pddpic.com/mms-material-img/2021-09-10/44294652-99e7-4de3-af48-b81d7087ed97.jpeg.a.jpeg","https://img.pddpic.com/mms-material-img/2021-09-10/8601b4c7-7da3-4c1d-8ef0-9b3868f3c704.jpeg.a.jpeg","https://img.pddpic.com/mms-material-img/2021-09-10/cceb1b2e-afd3-4631-a95b-6cd340d366c4.jpeg.a.jpeg","https://img.pddpic.com/mms-material-img/2021-09-10/ae906f0e-4f49-400c-a9f6-0a70a6fd3f19.jpeg.a.jpeg","https://img.pddpic.com/mms-material-img/2021-09-10/10e25a91-7140-48d4-aee4-c6e27e6ca5cb.jpeg.a.jpeg","https://img.pddpic.com/mms-material-img/2021-09-10/7ad322b9-fd8e-4c0d-a165-4e01f0f60d8d.jpeg.a.jpeg","https://img.pddpic.com/mms-material-img/2021-09-10/00d81f48-eab2-42ee-ac14-5d82cf3cace0.jpeg.a.jpeg","https://img.pddpic.com/mms-material-img/2021-09-10/1306b4cd-6d33-42b9-b4a1-96a5a4f4067a.jpeg.a.jpeg","https://img.pddpic.com/mms-material-img/2021-09-10/a1b7fdc4-80fb-49a9-89ad-88e266cb3ef1.jpeg.a.jpeg","https://img.pddpic.com/mms-material-img/2021-09-10/ac174187-f40c-4819-82d9-dde6593127c6.jpeg.a.jpeg"],"shop_item": [],"relate_items": []},"error": "","secache": "b21e6f013f5220631f986cd98945d6dd","secache_time": 1700530278,"secache_date": "2023-11-21 09:31:18","translate_status": "","translate_time": 0,"language": {"default_lang": "cn","current_lang": "cn"},"reason": "","error_code": "0000","cache": 0,"api_info": "today:228 max:10000 all[1388=228+81+1079];expires:2030-12-31","execution_time": "1.714","server_time": "Beijing/2023-11-21 09:31:18","client_ip": "61.131.237.29","call_args": {"num_iid": "272509462368"},"api_type": "pinduoduo","translate_language": "zh-CN","translate_engine": "baidu","server_memory": "3.17MB","request_id": "gw-1.655c086521877","last_id": "2292341611"
}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/154101.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

键鼠自动化2.0展示

软件介绍&#xff1a;桌面键鼠自动化工具 Qtc 编写&#xff1a; 本软件采用Qt C编写&#xff0c;旨在提供高效、跨平台的桌面键鼠自动化解决方案。Qt C框架的选择确保了软件的稳定性、可靠性&#xff0c;并通过其图形用户界面实现了用户友好的操作体验。 鼠标移动与点击&#…

亚马逊车灯外贸出口CE认证标准办理解析

车灯是车辆夜间行驶在道路照明的工具&#xff0c;也是发出各种车辆行驶信号的提示工具。车灯一般分为前照灯、尾灯、转向灯等。车灯出口欧盟需要办理CE认证。 CE认证是欧盟对进入欧洲市场的产品强制性的认证标志&#xff0c;是指符合欧盟安全、健康、环境保护等标准和要求的产…

中国城镇化时空分异及影响因素数据集(2010-2020)

基于《中国统计年鉴》、各省份统计年鉴及EPS全球统计数据库等相关统计数据&#xff0c;从人居生活、人文环境、人城关系等维度界定了城镇化内涵框架与指标体系&#xff0c;利用改进的熵值法计算综合评价指数&#xff0c;并运用泰尔指数、方差分解及地理探测器等方法&#xff0c…

java参数传递

1、传递方式 参数传递有两种方式&#xff1a;值传递和引用传递。 值传递&#xff1a;这是 Java 中默认的参数传递方式。当参数以基本数据类型&#xff08;如 int、char、boolean 等&#xff09;&#xff09;或不可变对象&#xff08;如String、整数数组等&#xff09;的形式传…

【Android Jetpack】理解ViewModel

文章目录 ViewModel实现ViewModelViewModel的生命周期在Fragments间分享数据ViewModel和SavedInstanceState对比ViewModel原理ViewModel与AndroidViewModel ViewModel Android系统提供控件&#xff0c;比如Activity和Fragment&#xff0c;这些控件都是具有生命周期方法&#x…

Playcanvas后处理-辉光bloom

&#xff08;一&#xff09;Bloom介绍 Bloom&#xff08;辉光、光晕、泛光&#xff09;是一种常见的摄像机后处理&#xff08;PostProcessing&#xff09;效果&#xff0c;用于再现真实世界相机的成像伪影。这种效果会产生从图像中明亮区域边界延伸的光条纹&#xff08;或羽毛…

flink1.10袋鼠云 迁移 flink1.15原生环境 事项汇总

表DDL(平台自动生成)修改适配 1 DDL语法不通用 (袋鼠云DDL中支持给别名 DDL采用数据中台生成的模板,并把老版本DDL中的配置通过到相应参数中) 2 袋鼠云DDL支持给别名 sql中字段和DDL中字段不一致. 两种解决方案: 1 FlinkSQL别名语法和袋鼠云略不同 袋鼠云DDL: parseJson(parseJ…

Altium Designer学习笔记2

原理图的绘制 需要掌握的是系统自带原理图库元件的添加。

SQL Server - 使用 Merge 语句实现表数据之间的对比同步

在SQL server &#xff08;2008以上版本&#xff09;中当需要将一个表&#xff08;可能另一个库&#xff09;中数据同步到另一个表中时&#xff0c;可以考虑使用merge语句。 只需要提供&#xff1a; 1.目标表 &#xff08;target table&#xff09; 2.数据源表 (source table) …

[WUSTCTF 2020]level2 脱壳

这里我们发现ida打开后是有报错的 所以猜测是否有壳 所以我们去看看是否有壳 发现去壳了 然后再放到IDA中看即可

Atlassian发布最新补贴政策,Jira/Confluence迁移上云最低可至零成本

到2024年2月15日&#xff0c;Atlassian将不再提供对Jira、Confluence、Jira Service Management等Server版产品的支持。 近期&#xff0c;Atlassian推出了一项针对云产品的特殊优惠。现在从Server版迁移到云版&#xff0c;您能享受到高额补贴&#xff0c;甚至成本低至零元。立…

Odoo:行业领先的免费开源财务管理解决方案

面向现代企业的财务和会计软件 可靠关账&#xff0c;更快速、更准确地报告财务数据 Odoo ERP财务和会计软件可帮助财务主管设计、革新和理顺财务流程和运营。Odoo ERP无缝整合各种核心财务和会计功能&#xff0c;提供强大的合规管理特性&#xff0c;有助于企业改善业务绩效、提…

vue js 禁用控件一分钟,并显示倒计时

isCounting标记计时是否开始&#xff0c;remainTimeTip为显示文本&#xff0c;比如初始值设置为“获取验证码”&#xff0c;clock设置为每1秒自动调用一次&#xff0c;clearInterval(clock)会停止下一次的调用。 data(){return {remainTime:60,//禁用60秒isCounting:false,//是…

Selenium4+python被单独定义<div>的动态输入框和二级下拉框要怎么定位?

今天在做练习题的时候,发现几个问题捣鼓了好久,写下这篇来记录 问题一: 有层级的复选框无法定位到二级目录 对于这种拥有二级框的选项无法定位,也不是<select>属性. 我们查看下HTML,发现它是被单独封装在body内拥有动态属性的独立<div>,当窗口点击的时候才会触发…

十六、RabbitMQ快速入门

目录 一、在centos上下载MQ镜像 二、安装运行容器 三、登录进入MQ 1、添加一个新的用户 2、新建虚拟机 3、 为用户分配权限 四、RabbitMQ的基本概念 RabbitMQ中的几个概念: 五、常见消息模型 六、简单的消息生产与消费 1、消费者类 2、生产者类 3、基本消息队列的消…

数据库中的undo与redo的作用

undo与redo的作用 ​专栏内容&#xff1a; 手写数据库toadb 本专栏主要介绍如何从零开发&#xff0c;开发的步骤&#xff0c;以及开发过程中的涉及的原理&#xff0c;遇到的问题等&#xff0c;让大家能跟上并且可以一起开发&#xff0c;让每个需要的人成为参与者。 本专栏会定期…

xpath

xpath 使用 使用 from lxml import etree或者 from lxml import htmlet etree.XML(xml) et etree.HTML(html) res et.xpath("/book") # 返回列表项目Valueet.xpath(“/book”)/表示根节点/div/a子节点用/依次表示/name/text()text()取文本/book//nick//表示标签…

手动添加扩展到composer中

如果拓展包第三方没有提供composer安装方式&#xff0c;可以将扩展包手动添加到vendor目录下 将拓展包复制到vendor文件夹下 拓展包需要配置好composer.json文件中的autoload和包里面的命名空间 配置vendor/composer/autoload_psr4.php文件 xx\\xx\\ > array($vendorDir…

Kubernetes Gateway API 攻略:解锁集群流量服务新维度!

Kubernetes Gateway API 刚刚 GA&#xff0c;旨在改进将集群服务暴露给外部的过程。这其中包括一套更标准、更强大的 API资源&#xff0c;用于管理已暴露的服务。在这篇文章中&#xff0c;我将介绍 Gateway API 资源&#xff0c;并以 Istio 为例来展示这些资源是如何关联的。通…

C语言之sizeof 和 strlen 详细介绍

C语言之sizeof 和 strlen 文章目录 C语言之sizeof 和 strlen1. sizeof 和 strlen 的比较1.1 sizeof1.2 strlen1.3 sizeof 和 strlen 的对比 2. 练习2.1.1 一维数组2.1.2 字符数组 1. sizeof 和 strlen 的比较 1.1 sizeof sizeof是C语言中的一个关键字&#xff0c;计算的是变量…