当前位置:网站首页>自动浏览拼多多商品
自动浏览拼多多商品
2022-07-02 01:37:00 【画中有画】
文本介绍使用冰狐智能辅助的自动构建脚本功能实现自动浏览拼多多商品。
业务逻辑梳理
了解拼多多浏览商品的过程,也即熟悉业务逻辑,建议选择拼多多v6.12.1版本(其他版本操作界面可能会稍有不同,所以模块参数有可能要根据实际情况修改)。
拼多多业务逻辑
选择模块并配置参数
在网页端「移动端」/「自动构建脚本」中新建一个“自动构建”,根据上一步的业务逻辑选择合适的自动构建模块并配置参数。
拼多多模块参数配置
元数据
在配置自动构建模块和参数的过程中,系统会自动生成使用json格式描述的元数据,可以使用这个元数据来直接复制一份完全一样的“自动构建”。
在网页端「移动端」/「自动构建脚本」中新建一个自动构建并点击“元数据”按钮,将如下元数据拷贝并粘贴到自己的“自动构建”的元数据中,即可快速创建一个完全相同的“自动构建”,这样就避免了选择模块和配置参数的过程,元数据如下:
{
"type": "root",
"children": [{
"type": "declareVar",
"var": [{
"name": "temp",
"type": "normal",
"initType": "null",
"initValue": "null"
}, {
"name": "ret",
"type": "normal",
"initType": "null",
"initValue": "null"
}, {
"name": "view",
"type": "normal",
"initType": "null",
"initValue": "null"
}, {
"name": "viewContainer",
"type": "normal",
"initType": "null",
"initValue": "null"
}, {
"name": "tag",
"type": "normal",
"initType": "null",
"initValue": "null"
}, {
"name": "item",
"type": "normal",
"initType": "null",
"initValue": "null"
}, {
"name": "index",
"type": "normal",
"initType": "null",
"initValue": "null"
}, {
"name": "data",
"type": "normal",
"initType": "string",
"initValue": ""
}, {
"name": "text",
"type": "normal",
"initType": "string",
"initValue": ""
}]
}, {
"type": "main",
"desc": "业务逻辑入口",
"debug": false,
"params": [],
"children": [{
"type": "launchApp",
"desc": "启动APP",
"debug": false,
"packageName": "com.xunmeng.pinduoduo",
"tag": "txt:推荐#",
"failed": "",
"maxStep": "30",
"children": [{
"type": "scroll",
"desc": "滚动处理",
"class": 1,
"debug": false,
"direction": "up",
"tag": "",
"family": [],
"descendant": [],
"widgetIndex": "0",
"minDistance": "0.8",
"maxDistance": "0.8",
"minScrollCount": "2",
"maxScrollCount": "3",
"minDuration": "500",
"maxDuration": "500",
"beforeWait": "1000",
"afterWait": "1000"
}, {
"type": "loop",
"desc": "循环处理",
"class": "2",
"debug": false,
"minCount": "2",
"maxCount": "5",
"indexVarName": "index",
"children": [{
"type": "traverse",
"desc": "遍历容器",
"class": 1,
"debug": false,
"tag": "cn:android.support.v4.view.ViewPager#",
"family": [1, 1],
"descendant": [],
"failed": "",
"traverseSelf": false,
"retryCount": "0",
"startIndex": "0",
"lastIndex": "0",
"randomPickCount": "1",
"clickable": false,
"className": "",
"children": [{
"type": "clickAndEnter",
"desc": "点击进入页面",
"class": "2",
"debug": false,
"family": [],
"descendant": [],
"checkTag": "txt:发起拼单#",
"mode": "2",
"failed": "",
"duration": "500",
"maxStep": "5",
"beforeWait": "0",
"afterWait": "0",
"target": "item",
"children": [{
"type": "scroll",
"desc": "滚动处理",
"class": 1,
"debug": false,
"direction": "up",
"tag": "",
"family": [],
"descendant": [],
"widgetIndex": "0",
"minDistance": "0.8",
"maxDistance": "0.8",
"minScrollCount": "3",
"maxScrollCount": "5",
"minDuration": "500",
"maxDuration": "500",
"beforeWait": "1000",
"afterWait": "3000"
}, {
"type": "back2Page",
"desc": "返回页面",
"debug": false,
"tag": "txt:首页#",
"root": "",
"backFirst": "true",
"failed": "",
"duration": "500",
"maxStep": "5",
"beforeWait": "0",
"afterWait": "0"
}]
}]
}, {
"type": "scroll",
"desc": "滚动处理",
"class": 1,
"debug": false,
"direction": "up",
"tag": "",
"family": [],
"descendant": [],
"widgetIndex": "0",
"minDistance": "0.8",
"maxDistance": "0.8",
"minScrollCount": "2",
"maxScrollCount": "3",
"minDuration": "500",
"maxDuration": "500",
"beforeWait": "1000",
"afterWait": "1000"
}]
}],
"false": {}
}]
}],
"desc": "根模块",
"debug": false
}
编译、测试和运行
- 编译自动构建。在网页端「移动端」/「自动构建脚本」中点击“编译”按钮,即可自动生成和自动构建一样名字的js脚本。
- 发布js脚本。在网页端「移动端」/「移动端脚本」中选择上一步生成js脚本,点击“发布”按钮发布js脚本。
- 运行脚本。在网页端「移动端」/「移动端脚本」中选择脚本,点击“运行”按钮,选择对应设备即可执行。
边栏推荐
- Edge computing accelerates live video scenes: clearer, smoother, and more real-time
- Principle of finding combinatorial number and template code
- How to compress video size while adding watermark with one click?
- A problem about function template specialization
- Réseau neuronal convolutif (y compris le Code et l'illustration correspondante)
- [IVX junior engineer training course 10 papers] 06 database and services
- 站在新的角度来看待产业互联网,并且去寻求产业互联网的正确方式和方法
- Edge extraction edges based on Halcon learning_ image. Hdev routine
- About asp Net core uses a small detail of datetime date type parameter
- uTools
猜你喜欢
成功实现边缘编码需要了解的六大经验教训
Learning note 3 -- Key Technologies of high-precision map (Part 1)
Penser au jeu 15: penser au service complet et au sous - service
Have you stepped on the nine common pits in the e-commerce system?
[disease detection] realize lung cancer detection system based on BP neural network, including GUI interface
How can I batch produce the same title for the video?
[IVX junior engineer training course 10 papers to get certificates] 03 events and guessing numbers games
[Maya] the error of importing Maya into Metahuman
II Basic structure of radio energy transmission system
[rust web rokcet Series 1] Hello, world and get, post, put, delete
随机推荐
How can the tsingsee Qingxi platform play multiple videos at the same time on the same node?
Basic usage of shell script
How to compress video size while adding watermark with one click?
matlab 使用 audiorecorder、recordblocking录制声音,play 播放声音,audiowrite 保存声音
The role of artificial intelligence in network security
Fastadmin controls the length of fields in the table
A problem about function template specialization
【图像增强】基于Frangi滤波器实现血管图像增强附matlab代码
Have you stepped on the nine common pits in the e-commerce system?
电商系统中常见的9大坑,你踩过没?
[IVX junior engineer training course 10 papers to get certificates] 03 events and guessing numbers games
The author is more willing to regard industrial Internet as a concept much richer than consumer Internet
Based on Simulink and FlightGear, the dynamic control of multi rotor UAV in equilibrium is modeled and simulated
Single chip microcomputer -- hlk-w801 transplant NES simulator (III)
Ks006 student achievement management system based on SSM
遷移雲計算工作負載的四個基本策略
学习笔记24--多传感器后融合技术
笔者更加愿意将产业互联网看成是一个比消费互联网要丰富得多的概念
Exclusive delivery of secret script move disassembly (the first time)
MySQL application day02