universeindream / maicaiassistant Goto Github PK
View Code? Open in Web Editor NEW买菜助手 - 支持美团买菜、叮咚买菜、盒马、山姆等,可定时执行抢菜
License: GNU General Public License v3.0
买菜助手 - 支持美团买菜、叮咚买菜、盒马、山姆等,可定时执行抢菜
License: GNU General Public License v3.0
在买菜助手界面上,选好当前方案 叮咚APP抢购-支付宝-自动送达时间 后,点击悬浮开关抢购,无法启动叮咚买菜APP,2.7和2.8都这样,我用的是GOOGLE PIXEL2XL
微信群2群没法添加
拉人助手查不此人?被封号了吗?
盒马这个配置好像不成熟
异常提示:步骤:点击购物车-已重复执行了10s 已自动。。。停止了吧。。
不会进入结算界面?还是哪里配置有问题。
现在好像是只能修改? 不能增加条件节点?
能否加上这个功能, 谢谢
叮咚版本v9.50.0
如果购物车提示(当前人多拥挤,。。。)则无法自动刷新,程序10s退出。
请解决,谢谢啦
小米开启无障碍后,还是没有悬浮窗出现
叮咚买菜到支付页面后 如果配送时间无运力,直接10s异常提醒,不会自动循环监控执行
美团紧急,悬浮窗正常,但只执行了一次。过十秒后显示异常提示,点击结算已重复执行十秒未执行
悬浮窗问题
如题 时间默认unix 1970年 但控件只能改小时和分钟不能改日期
配置后保存显示JSON数据非法 无法保存,点击抢购只提交一次结算 过个十秒左右提示异常 。
rt,用的默认配置
Sent from PPHub
三星Note10 安卓12.0
购买方案:美团抢购-自动选择送货时间-支付宝
Build version: 2.1.7
Build date: 1981-01-01 01:01:02
Current date: 2022-04-15 23:41:15
Device: Realme RMX3350
OS version: Android 12 (SDK 31)
Stack trace:
java.lang.IllegalArgumentException: com.univerindream.maicaiassistant: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
at android.app.PendingIntent.checkFlags(PendingIntent.java:375)
at android.app.PendingIntent.getActivityAsUser(PendingIntent.java:464)
at android.app.PendingIntent.getActivity(PendingIntent.java:444)
at android.app.PendingIntent.getActivity(PendingIntent.java:408)
at com.univerindream.maicaiassistant.MHUtil.notify$lambda-1(MHUtil.kt:303)
at com.univerindream.maicaiassistant.MHUtil.$r8$lambda$CGoI0Kk99SWu38CTk-Gt_QG4rj4(Unknown Source:0)
at com.univerindream.maicaiassistant.MHUtil$$ExternalSyntheticLambda0.accept(Unknown Source:8)
at com.blankj.utilcode.util.NotificationUtils.getNotification(NotificationUtils.java:111)
at com.blankj.utilcode.util.NotificationUtils.notify(NotificationUtils.java:95)
at com.blankj.utilcode.util.NotificationUtils.notify(NotificationUtils.java:61)
at com.univerindream.maicaiassistant.MHUtil.notify(MHUtil.kt:298)
at com.univerindream.maicaiassistant.service.GlobalActionBarService$runLoop$1.invokeSuspend(GlobalActionBarService.kt:135)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
2.1.7的“盒马正常购买“流程,选择时间的时候是直接点击确认,利用系统默认选择了第一个时间。
我想指定一个时间(比如“今日 17:15-17:45送达”),尝试修改方案:用TXT可以找到这个node,判断NODE_CAN_CLICK也是OK的,但是handle里面执行CLICK_NODE却没有效果
早起发现报错,停在了抢支付的界面。个人认为可能是方案暂时没有进行下一步的策略,因为我看方案写的是调支付宝或微信支付
当然美团这点很逗,从未听说订单提交待支付是个半本地缓存状态,也就是说我们要抢到支付按钮出来之后继续抢支付队列)
另外,有关盒马团购的抢菜,盒马社区团购其实可以搞个脚本8点刷出列表后一边疯狂勾选SKU一边疯狂点结算,因为抢到之后可以用信用卡付,每个订单的单品还可以随时申请退款。所以先抢先付就完了。(但可能由于要输入支付密码可能不太好完全无人值守)
目前导出功能不太好用,是把配置复制到剪切板,分享时容易出现发送字数限制。建议直接导入导出文件,让用户不用关心具体的配置。
Sent from PPHub
miui 13没有悬浮窗,开了app悬浮窗后运行程序提示bug报错。
试了好几个版本都一样
点启用 就来回弹来弹去 主程序
如开启自动抢购后,可能自动抢购3-5次,然后就就不动了
请问紧急和非紧急有什么区别
测试两台安卓手机,Android11运行一轮就停止,并且触发异常响铃。旧手机Android8测试过程中,可完美循环运行。咨询一下作者如何解决?
有些菜是不定时的能刷新出来,然后可以下单的
购买方案:叮咚抢购
Build version: 2.1.7
Build date: 1981-01-01 01:01:02
Current date: 2022-04-15 23:48:04
Device: Realme RMX3350
OS version: Android 12 (SDK 31)
Stack trace:
java.lang.IllegalArgumentException: com.univerindream.maicaiassistant: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
at android.app.PendingIntent.checkFlags(PendingIntent.java:375)
at android.app.PendingIntent.getActivityAsUser(PendingIntent.java:464)
at android.app.PendingIntent.getActivity(PendingIntent.java:444)
at android.app.PendingIntent.getActivity(PendingIntent.java:408)
at com.univerindream.maicaiassistant.MHUtil.notify$lambda-1(MHUtil.kt:303)
at com.univerindream.maicaiassistant.MHUtil.$r8$lambda$CGoI0Kk99SWu38CTk-Gt_QG4rj4(Unknown Source:0)
at com.univerindream.maicaiassistant.MHUtil$$ExternalSyntheticLambda0.accept(Unknown Source:8)
at com.blankj.utilcode.util.NotificationUtils.getNotification(NotificationUtils.java:111)
at com.blankj.utilcode.util.NotificationUtils.notify(NotificationUtils.java:95)
at com.blankj.utilcode.util.NotificationUtils.notify(NotificationUtils.java:61)
at com.univerindream.maicaiassistant.MHUtil.notify(MHUtil.kt:298)
at com.univerindream.maicaiassistant.service.GlobalActionBarService$runLoop$1.invokeSuspend(GlobalActionBarService.kt:167)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
如题。
捡漏的情况比较有用。
Build version: 2.1.0
Build date: 1981-01-01 01:01:02
Current date: 2022-04-12 10:43:56
Device: HUAWEI BLA-AL00
OS version: Android 6.0.1 (SDK 23)
Stack trace:
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6552)
at android.view.ViewRootImpl.invalidateChildInParent(ViewRootImpl.java:942)
at android.view.ViewGroup.invalidateChild(ViewGroup.java:5081)
at android.view.View.invalidateInternal(View.java:12719)
at android.view.View.invalidate(View.java:12683)
at android.view.View.invalidate(View.java:12667)
at android.widget.TextView.checkForRelayout(TextView.java:7156)
at android.widget.TextView.setText(TextView.java:4347)
at android.widget.TextView.setText(TextView.java:4204)
at android.widget.TextView.setText(TextView.java:4179)
at com.univerindream.maicaiassistant.service.GlobalActionBarService.updateSnapUpButton(GlobalActionBarService.kt:220)
at com.univerindream.maicaiassistant.service.GlobalActionBarService.cancelTask(GlobalActionBarService.kt:208)
at com.univerindream.maicaiassistant.service.GlobalActionBarService.access$cancelTask(GlobalActionBarService.kt:26)
at com.univerindream.maicaiassistant.service.GlobalActionBarService$runLoop$1.invokeSuspend(GlobalActionBarService.kt:136)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
原本准备自己修改json脚本支持看看能否支持的
研究了一下脚本发现好像不是简单的修改名字
就那个有三个选项的组件 开启无障碍后 点开软件 闪了一下就没了 软件界面也正常 直接设置时间开启定时抢购 到时间后 开关自动就关掉了
下午想刷刷看有没有新的运力出来时,买菜助手会因为无法选择送达时间而直接停止点击并响铃,从而无法持续尝试抢购。
这个逻辑是提前加入购物车,然后负责抢运力把
我使用美团紧急模式,打开美团买菜APP,在购物车界面点 浮窗抢购,会提示当前时段约满,然后会自动点掉,来回几次后,就不操作了,需要再次点击浮窗才可以继续尝试,请问怎么改成一直尝试呢?
表象:授权无障碍权限后,有配置、抢购悬浮窗,点击抢购,会循环拉起美团买菜APP,最终买菜助手崩溃。
崩溃日志:
Build version: 2.1.7
Build date: 1981-01-01 01:01:02
Current date: 2022-04-15 10:24:19
Device: Xiaomi M2011K2C
OS version: Android 12 (SDK 31)
Stack trace:
java.lang.IllegalArgumentException: com.univerindream.maicaiassistant: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
at android.app.PendingIntent.checkFlags(PendingIntent.java:375)
at android.app.PendingIntent.getActivityAsUser(PendingIntent.java:458)
at android.app.PendingIntent.getActivity(PendingIntent.java:444)
at android.app.PendingIntent.getActivity(PendingIntent.java:408)
at com.univerindream.maicaiassistant.MHUtil.notify$lambda-1(MHUtil.kt:303)
at com.univerindream.maicaiassistant.MHUtil.$r8$lambda$CGoI0Kk99SWu38CTk-Gt_QG4rj4(Unknown Source:0)
at com.univerindream.maicaiassistant.MHUtil$$ExternalSyntheticLambda0.accept(Unknown Source:8)
at com.blankj.utilcode.util.NotificationUtils.getNotification(NotificationUtils.java:111)
at com.blankj.utilcode.util.NotificationUtils.notify(NotificationUtils.java:95)
at com.blankj.utilcode.util.NotificationUtils.notify(NotificationUtils.java:61)
at com.univerindream.maicaiassistant.MHUtil.notify(MHUtil.kt:298)
at com.univerindream.maicaiassistant.service.GlobalActionBarService$runLoop$1.invokeSuspend(GlobalActionBarService.kt:135)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
一加9开启辅助权限后报错,app无法打开
ERROR DETAILS内容:
Build version: 2.1.6
Build date: 1981-01-01 01:01:02
Current date: 2022-04-13 19:37:05
Device: OnePlus LE2121
OS version: Android 12 (SDK 31)
Stack trace:
java.lang.RuntimeException: Unable to create service com.univerindream.maicaiassistant.service.GlobalActionBarService: java.lang.IllegalArgumentException: com.univerindream.maicaiassistant: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4662)
at android.app.ActivityThread.access$100(ActivityThread.java:253)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2203)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:233)
at android.os.Looper.loop(Looper.java:344)
at android.app.ActivityThread.main(ActivityThread.java:8184)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)
Caused by: java.lang.IllegalArgumentException: com.univerindream.maicaiassistant: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
at android.app.PendingIntent.checkFlags(PendingIntent.java:378)
at android.app.PendingIntent.getActivityAsUser(PendingIntent.java:461)
at android.app.PendingIntent.getActivity(PendingIntent.java:447)
at android.app.PendingIntent.getActivity(PendingIntent.java:411)
at com.univerindream.maicaiassistant.MHUtil.startForegroundService(MHUtil.kt:189)
at com.univerindream.maicaiassistant.service.GlobalActionBarService.onCreate(GlobalActionBarService.kt:44)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4649)
... 9 more
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.