当前位置:网站首页>Automatically browse pinduoduo products
Automatically browse pinduoduo products
2022-07-02 01:43:00 【There is a picture in the picture】
Text introduction use Ice fox intelligent assistant The auto build script function of enables you to automatically browse pinduoduo products .
Business logic
Understand the process of pinduoduo browsing products , That is, be familiar with business logic , Suggested choice A lot of spelling v6.12.1 edition ( The operation interface of other versions may be slightly different , Therefore, the module parameters may need to be modified according to the actual situation ).
Pinduoduo business logic
Select the module and configure the parameters
On the web side 「 Mobile 」/「 Build scripts automatically 」 Create a new one in “ An automated build ”, According to the business logic of the previous step, select the appropriate automatic building module and configure parameters .
Pinduoduo module parameter configuration
Metadata
In the process of configuring automatic building modules and parameters , The system will automatically generate and use json Metadata of format description , You can use this metadata to directly copy an identical “ An automated build ”.
On the web side 「 Mobile 」/「 Build scripts automatically 」 Create an automatic build in and click “ Metadata ” Button , Copy and paste the following metadata into your “ An automated build ” In the metadata of , You can quickly create an identical “ An automated build ”, This avoids the process of selecting modules and configuring parameters , The metadata is as follows :
{
"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": " Business logic entry ",
"debug": false,
"params": [],
"children": [{
"type": "launchApp",
"desc": " start-up APP",
"debug": false,
"packageName": "com.xunmeng.pinduoduo",
"tag": "txt: recommend #",
"failed": "",
"maxStep": "30",
"children": [{
"type": "scroll",
"desc": " Scroll processing ",
"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": " Loop processing ",
"class": "2",
"debug": false,
"minCount": "2",
"maxCount": "5",
"indexVarName": "index",
"children": [{
"type": "traverse",
"desc": " Traversal container ",
"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": " Click to enter the page ",
"class": "2",
"debug": false,
"family": [],
"descendant": [],
"checkTag": "txt: Initiate a collage #",
"mode": "2",
"failed": "",
"duration": "500",
"maxStep": "5",
"beforeWait": "0",
"afterWait": "0",
"target": "item",
"children": [{
"type": "scroll",
"desc": " Scroll processing ",
"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": " Return page ",
"debug": false,
"tag": "txt: home page #",
"root": "",
"backFirst": "true",
"failed": "",
"duration": "500",
"maxStep": "5",
"beforeWait": "0",
"afterWait": "0"
}]
}]
}, {
"type": "scroll",
"desc": " Scroll processing ",
"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": " Root module ",
"debug": false
}
compile 、 Testing and running
- Compile auto build . On the web side 「 Mobile 」/「 Build scripts automatically 」 Click on the “ compile ” Button , Can automatically generate and automatically build the same name js Script .
- Release js Script . On the web side 「 Mobile 」/「 Mobile script 」 Select the previous generation js Script , Click on “ Release ” Button Publishing js Script .
- Run script . On the web side 「 Mobile 」/「 Mobile script 」 Select script , Click on “ function ” Button , Select the corresponding device to execute .
边栏推荐
- [Floyd] post disaster reconstruction
- 6-3漏洞利用-SSH环境搭建
- The smart Park "ZhongGuanCun No.1" subverts your understanding of the park
- MATLAB realizes voice signal resampling and normalization, and plays the comparison effect
- Parted command
- We should make clear the branch prediction
- Altium designer measure distance (ctrl+m)
- A problem about function template specialization
- Bat Android Engineer interview process analysis + restore the most authentic and complete first-line company interview questions
- Error creating bean with name ‘stringRedisTemplate‘ defined in class path re
猜你喜欢
Réseau neuronal convolutif (y compris le Code et l'illustration correspondante)
Number of palindromes in C language (leetcode)
Study note 2 -- definition and value of high-precision map
GL Studio 5 安装与体验
【图像增强】基于Frangi滤波器实现血管图像增强附matlab代码
LeetCode、3无重复最长子序列
Android high frequency network interview topic must know and be able to compare Android development environment
6-3 vulnerability exploitation SSH environment construction
Pyldavis installation and use | attributeerror: module 'pyldavis' has no attribute' gensim '| visual results are exported as separate web pages
卷積神經網絡(包含代碼與相應圖解)
随机推荐
Modeling essays series 124 a simple coding method
浅浅了解Servlet
5g/4g pole gateway_ Smart pole gateway
成功实现边缘编码需要了解的六大经验教训
Three core problems of concurrent programming
【LeetCode 43】236. The nearest common ancestor of binary tree
学习笔记2--高精度地图定义及价值
Four basic strategies for migrating cloud computing workloads
Architecture evolution from MVC to DDD
Cross domain? Homology? Understand what is cross domain at once
Introduction to ffmpeg Lib
It's already 30. Can you learn programming from scratch?
[IVX junior engineer training course 10 papers] 06 database and services
[Obsidian] wechat is sent to Obsidian using remotely save S3 compatibility
[IVX junior engineer training course 10 papers to get certificates] 01 learn about IVX and complete the New Year greeting card
开发工具创新升级,鲲鹏推进计算产业“竹林”式生长
Learn basic K-line diagram knowledge in three minutes
D discard the virtual recovery method
Another programmer "deleted the library and ran away", deleted the code of the retail platform, and was sentenced to 10 months
Réseau neuronal convolutif (y compris le Code et l'illustration correspondante)