• 番茄免费小说


    最近几年除了刷短视频比较火爆外,免费小说也越来越流行,尤其是网络免费小说,比如番茄免费小说,大多数情况下都是通过手工来刷小说,会浪费大家很多时间,今天我来使用一个完全不同的方法,不编程直接通过配置参数来实现刷小说,实现步骤如下:

    创建自动构建

    进入冰狐智能辅助​在网页端「移动端」/「自动构建脚本」中新建一个“构建”。

    自动填充模块和参数

    通过元数据可以直接复制一个完全一样的构建。在上一步创建的构建右边点击“元数据”按钮,将如下元数据拷贝进入并保存,此时系统会根据元数据自动完成模块参数配置。

      {
        "type": "root",
        "children": [{
            "type": "declareVar",
            "var": [{
                "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": "item",
                "type": "normal",
                "initType": "null",
                "initValue": "null"
            }]
        }, {
            "type": "enterApp",
            "desc": "进入APP",
            "debug": true,
            "packageName": "com.dragon.read",
            "findTag": "txt:书城-",
            "autoInstall": false,
            "autoUpdate": false,
            "wait": "1000",
            "failed": "",
            "maxStep": "30",
            "children": [{
                "type": "clickAndEnter",
                "desc": "点击进入任务",
                "class": 1,
                "debug": true,
                "clickTag": "txt:福利-",
                "checkTag": "txt^:现金金额|txt:登录查看余额|txt:加入书架-",
                "root": "",
                "mode": "2",
                "failed": "exitPopup",
                "descendant": [],
                "duration": "500",
                "maxStep": "15",
                "beforeWait": "0",
                "afterWait": "0",
                "children": [{
                    "type": "searchAndLoopDeal",
                    "desc": "搜索控件并循环处理",
                    "debug": false,
                    "root": "",
                    "retryCount": "0",
                    "failed": "",
                    "duration": "500",
                    "maxStep": "8",
                    "beforeWait": "0",
                    "afterWait": "0",
                    "dealItems": [{
                        "key": "txt:立即签到|txt^:看视频最高再领-$&1",
                        "value": {
                            "type": "click",
                            "desc": "点击控件",
                            "class": "2",
                            "debug": false,
                            "mode": "2",
                            "random": true,
                            "descendant": [],
                            "beforeWait": "0",
                            "afterWait": "1000",
                            "target": "view"
                        }
                    }, {
                        "key": "txt:立即领取-$&1",
                        "value": {
                            "type": "click",
                            "desc": "点击控件"
                        }
                    }, {
                        "key": "txt:开宝箱得金币@cn:android.view.View-$&1",
                        "value": {
                            "type": "click",
                            "desc": "点击控件",
                            "class": "2",
                            "debug": true,
                            "mode": "2",
                            "random": true,
                            "descendant": [],
                            "beforeWait": "0",
                            "afterWait": "1000",
                            "target": ""
                        }
                    }]
                }]
            }]
        }, {
            "type": "popup",
            "name": "exitPopupWithAD",
            "false": ["exitPopup", "dealAD"]
        }, {
            "type": "popup",
            "name": "exitPopup"
        }, {
            "type": "ad",
            "desc": "广告处理",
            "debug": "on",
            "enterWindowList": ["com.bytedance.sdk.openadsdk.activity.base.TTRewardExpressVideoActivity", "com.ss.android.excitingvideo.ExcitingVideoActivity"],
            "enterTags": "id:com.dragon.read:id/vangogh_video_view|id:com.dragon.read:id/video_view|id:com.dragon.read:id/mimo_reward_root_view|id:com.dragon.read:id/tt_reward_root|txt^:奖励将于|txt*:获得奖励|txt$:后可领取奖励|txt$:后可领取金币|txt$:后可领金币-",
            "breakTags": "txt:福利|id:com.dragon.read:id/ari-",
            "dealItems": [{
                "key": "txt^:参与互动|txt^:浏览页面-",
                "value": {
                    "type": "scroll",
                    "desc": "滚动处理",
                    "class": 1,
                    "debug": false,
                    "direction": "up",
                    "minDistance": "0.8",
                    "maxDistance": "0.8",
                    "minScrollCount": "2",
                    "maxScrollCount": "2",
                    "minDuration": "500",
                    "maxDuration": "500",
                    "beforeWait": "1000",
                    "afterWait": "1000"
                }
            }, {
                "key": "txt*:要继续观看视频-",
                "value": {
                    "type": "click",
                    "desc": "点击控件",
                    "class": "2",
                    "debug": false,
                    "mode": "1",
                    "random": true,
                    "descendant": [-1, 2],
                    "beforeWait": "0",
                    "afterWait": "3000",
                    "target": "view"
                }
            }, {
                "key": "txt:禁止-",
                "value": {
                    "type": "click",
                    "desc": "点击控件",
                    "class": "2",
                    "debug": false,
                    "mode": "1",
                    "random": true,
                    "descendant": [],
                    "beforeWait": "0",
                    "afterWait": "1000",
                    "target": "view"
                }
            }]
        }, {
            "type": "windowChange"
        }, {
            "type": "notification",
            "children": []
        }],
        "desc": "根模块",
        "debug": true
    }

    编译运行

    1. 在网页端「移动端」/「自动构建脚本」点击右边的“编译”按钮,将自动构建编译成与自动构建名称相同的js脚本。
    2. 在网页端「移动端」/「移动端脚本」点击右边的“发布”按钮发布脚本。
    3. 在网页端「移动端」/「移动端脚本」点击右边的“运行”按钮,并选择设备,然后执行。
  • 相关阅读:
    【重新定义matlab强大系列十四】基于问题求解有/无约束非线性优化
    对数据库密码使用MD5加密算法加密,并进行登录验证
    13.LoadRunner内置参数和事务定义
    89:第七章:开发前台首页、作家个人展示页、粉丝等功能:10:【前台,作家中心:粉丝比例柱状图、饼状图;粉丝地域分布】(前端图表使用Echarts实现;)
    使用Bochs调试操作系统代码
    VMware虚拟机找不到*.vmdk文件
    ubuntu 20.04 docker安装emqx 最新版本或指定版本
    C#大作业——学生信息管理系统
    备战秋招--spring篇
    Google PLB(Protective Load Balancing) 简评
  • 原文地址:https://blog.csdn.net/jcgu/article/details/125598685