番茄免费小说

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

创建自动构建

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

自动填充模块和参数

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

  {
    "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. 在网页端「移动端」/「移动端脚本」点击右边的“运行”按钮,并选择设备,然后执行。
  • 4
    点赞
  • 14
    收藏
    觉得还不错? 一键收藏
  • 5
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值