autotask_android
基于airtest_mobileauto的安卓自动化任务脚本
脚本开发环境说明
- 本脚本基于分辨率
960x540, dpi160的安卓模拟器开发 - dpi或者分辨率不同很容易识别失败。
- 有的模拟器打开特定APP会闪退
安装
python -m pip install autoansign --upgrade
当前开发项目
基于url的签到
web_url,直接打开特定url,实现签到, 适配任意的安卓设备- 将url存储到
web_url.txt,下面是我常用的url
none
基于浏览器的签到
- 注: 本脚本于via-5.9.0测试通过, 需开启桌面模式、全屏、浏览器标识(windows/chrome),其他浏览器自行替换图片资源
- 脚本现在通过打开url执行, 而不是打开浏览器, 再点击网页, 因此需要配置via为默认的浏览器
- 只能在境内的模拟器/容器内执行, 这些网站在不同地区显示的内容不同.
web_ablesci, 科研通每日签到web_muchong,小木虫每日签到web_tiyanbi, 王者荣耀体验币兑换皮肤碎片
基于app的签到
app_alicloud, 阿里云盘每日签到(横屏版960x540)
运行
- 创建
tag.txt则开启领取tag.py中定义的礼包
python run.py config.win.yaml
我的配置文件 config.win.yaml
mynode: 10
MuMudir: 'D:\Program Files\Netease\MuMu Player 12\shell'
MuMu_Instance:
10: "0"
LINK_dict:
10: Android:///127.0.0.1:16384
figdir: assets
logfile:
10: result.ce.txt
prefix: "autotask"
Star History
Metadata
Release files for autoansign 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| autoansign-1.2.1.tar.gz | 125.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| autoansign-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 256.0 kB
Release files / autoansign-1.2.1.tar.gz
| Download URL | autoansign-1.2.1.tar.gz |
|---|---|
| Size | 125.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
259f75541197004a1c8120dedaa41343b97466203fcb2758cf6081bca245230c
|
|
BLAKE2b-256 checksum How to use checksums |
8925e720a908bcc26d4cbeaeae523a1a57a776b6227b544d1b253ad6c3443ea0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Release files / autoansign-1.2.1-py3-none-any.whl
| Download URL | autoansign-1.2.1-py3-none-any.whl |
|---|---|
| Size | 130.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc17aa4443664c7c6e7692216d0a9a207d101de9d6ee7220e9058fd1d3c051e1
|
|
BLAKE2b-256 checksum How to use checksums |
0f203c78abe50a1219d887102e56beabff025e7f6a0d649aa90bbfba358e8a4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|