Skip to main content

autotask_android

基于airtest_mobileauto的安卓自动化任务脚本

GitHub forksGitHub stars

脚本开发环境说明

  • 本脚本基于分辨率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, 王者荣耀体验币兑换皮肤碎片

连续签到50天

基于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

Star History Chart

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autoansign-1.2.1.tar.gz (125.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autoansign-1.2.1-py3-none-any.whl (130.4 kB view details)

Uploaded Python 3

File details

Details for the file autoansign-1.2.1.tar.gz.

File metadata

  • Download URL: autoansign-1.2.1.tar.gz
  • Upload date:
  • Size: 125.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for autoansign-1.2.1.tar.gz
Algorithm Hash digest
SHA256 259f75541197004a1c8120dedaa41343b97466203fcb2758cf6081bca245230c
MD5 b1e0c2b34570cf157a84e1001e06394b
BLAKE2b-256 8925e720a908bcc26d4cbeaeae523a1a57a776b6227b544d1b253ad6c3443ea0

See more details on using hashes here.

File details

Details for the file autoansign-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: autoansign-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 130.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for autoansign-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dc17aa4443664c7c6e7692216d0a9a207d101de9d6ee7220e9058fd1d3c051e1
MD5 7873f195fbb7cb6f0c89ee6dab47fef0
BLAKE2b-256 0f203c78abe50a1219d887102e56beabff025e7f6a0d649aa90bbfba358e8a4e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 files

1.2

1 file

0.0.2

1 file

0.0.1.post2

1 file

0.0.1.post1

1 file

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page