当前位置:网站首页>自动浏览拼多多商品
自动浏览拼多多商品
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脚本。
- 运行脚本。在网页端「移动端」/「移动端脚本」中选择脚本,点击“运行”按钮,选择对应设备即可执行。
边栏推荐
- Memorabilia of domestic database in June 2022
- 卷積神經網絡(包含代碼與相應圖解)
- How to compress video size while adding watermark with one click?
- 电子协会 C语言 1级 32、计算2的幂
- Hcip day 14 (MPLS protocol)
- About asp Net core uses a small detail of datetime date type parameter
- Based on Simulink and FlightGear, the dynamic control of multi rotor UAV in equilibrium is modeled and simulated
- What are the skills of spot gold analysis?
- [rust web rokcet Series 1] Hello, world and get, post, put, delete
- Quatre stratégies de base pour migrer la charge de travail de l'informatique en nuage
猜你喜欢

Feature extraction and detection 16 brisk feature detection and matching

Self drawing of menu items and CListBox items

Basic concepts of machine learning

II Basic structure of radio energy transmission system

Learning notes 25 - multi sensor front fusion technology

Learn C language from scratch day 025 (maze)
![[rust web rokcet Series 1] Hello, world and get, post, put, delete](/img/d8/7dd5fe409d349a13128b6af554f952.jpg)
[rust web rokcet Series 1] Hello, world and get, post, put, delete

人工智能在网络安全中的作用

Four basic strategies for migrating cloud computing workloads

SAP ui5 beginner tutorial XXI - trial version of custom formatter of SAP ui5
随机推荐
Circular statements in shell programming
MATLAB realizes voice signal resampling and normalization, and plays the comparison effect
笔者更加愿意将产业互联网看成是一个比消费互联网要丰富得多的概念
Leetcode 45 Jumping game II (2022.02.14)
Android high frequency network interview topic must know and be able to compare Android development environment
CTF daily question day45 sensor
1218 square or round
电子协会 C语言 1级 33 、奇偶数判断
Exclusive delivery of secret script move disassembly (the first time)
Pyldavis installation and use | attributeerror: module 'pyldavis' has no attribute' gensim '| visual results are exported as separate web pages
只是以消费互联网的方式和方法来落地和实践产业互联网,并不能够带来长久的发展
CEPH buffer yyds dry inventory
三分钟学会基础k线图知识
II Basic structure of radio energy transmission system
Design and control of multi rotor aircraft (VII) -- sensor calibration and measurement model
人工智能在网络安全中的作用
[Floyd] post disaster reconstruction
KS006基于SSM实现学生成绩管理系统
Data visualization in medical and healthcare applications
【图像增强】基于Frangi滤波器实现血管图像增强附matlab代码