Skip to main content

安卓签到

Project description

autotask_android

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

GitHub forksGitHub stars

脚本开发环境说明

  • 本脚本基于分辨率960x540, dpi160的安卓模拟器开发
  • dpi或者分辨率不同很容易识别失败。
  • 有的模拟器打开特定APP会闪退

环境依赖

python -m pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple  --upgrade

当前开发项目

基于url的签到

  • web_url,直接打开特定url,实现签到, 适配任意的安卓设备
  • 将url存储到web_url.txt,下面是我常用的url
none

基于浏览器的签到

  • 注: 本脚本于via-5.9.0测试通过, 需开启桌面模式、全屏、浏览器标识(windows/chrome),其他浏览器自行替换图片资源
  • 只能在境内的模拟器/容器内执行, 这些网站在不同地区显示的内容不同.
  • web_ablesci, 科研通每日签到
  • web_muchong, 小木虫每日签到

基于app的签到

  • app_alicloud, 阿里云盘每日签到(横屏版960x540)

运行

  • 创建tag.txt则开启领取tag.py中定义的礼包
python run.py config.win.yaml

我的配置文件 config.win.yaml

mynode: 1
BlueStackdir: C:\Program Files\BlueStacks_nxt
BlueStack_Instance: {1: "Pie64_2"}
BlueStack_Windows: {1: "autotask"}
LINK_dict: {1: "Android:///127.0.0.1:5575"}
figdir: assets
logfile: {1: "result.1.txt"}
prefix: "autotask"

计划任务

  • Windows可以点击run.bat, 或将run.bat添加到Windows的自动化任务 alt text

Star History

Star History Chart

Project details


Download files

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

Source Distribution

autoAnSign-0.0.1.tar.gz (37.0 kB view details)

Uploaded Source

File details

Details for the file autoAnSign-0.0.1.tar.gz.

File metadata

  • Download URL: autoAnSign-0.0.1.tar.gz
  • Upload date:
  • Size: 37.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for autoAnSign-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d3c0e5b17615d7b9d5c01cb59b02fa9c0f0254552990e696581ac79eda774787
MD5 1ab85738f56b0d24c518e2cdfe316dae
BLAKE2b-256 4def24d9d10583ad6e5a8896d9c752c55ef6fa370cc3b866e9cec11225998598

See more details on using hashes here.

Supported by

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