Code Monkey home page Code Monkey logo

autoxue's Introduction

学习强国 AutoXue 2.3

有个事情必须在这里先声明,使用前请一定要看清楚README!这里提过的一些版本号、配置方法都是有用的

挑战答题 题库 在线版1 | 在线版2 | 下载版

项目更名 AutoXue: 支持阅读文章、视听学习、每日答题、挑战答题,自由配置积分或积点点通,阅读文章支持收藏、分享、评论(支援评论列表整理请看这里),每日可积分41分、积点点通33点

使用本项目直接下载zip 或者

$:git clone https://github.com/kessil/AutoXue.git --depth=1

环境要求

使用方法

  1. 很重要!首先请确认自己的操作系统,XP系统只能安装python3.4-,请不要往下看了,项目要求python版本最低3.6,因为python3.6+加入了本项目使用的f-string特性,另、操作系统太低可能无法安装使用模拟器,所以,系统不符合的用户真心不要浪费时间往下看了
  2. 安装好Python、ADB、MuMu模拟器,并添加python和ADB环境变量
  3. 安装ADBkeyboard输入法(解决输入中文,ADD版本过低将输入乱码,请注意ADB版本)
  4. 安装学习强国APP,测试版本为2.5.0
  5. 双击运行初次安装.bat, 或者
# 安装虚拟环境
python -m venv venv
# 安装项目依赖
(venv)$:python -m pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
  1. 打开MuMu模拟器(连接安卓手机需要开启USB调试),登录学习强国APP并置于首页

经测试,华为手机时有发生无法获取布局情况导致异常中断,其他手机未测试。强烈建议在模拟器中食用。作者不会考虑特别为某台设备做适配。

  1. 确认配置(强调!请不要使用Windows自带记事本修改配置,都会上GitHub的人我不用解释太多吧),config-default.ini勿修改,在config-custom.ini中修改配置,积分或是积点点通做相应配置即可

修改方法: 从config-default.ini复制需要改动的[section]和[option]到config-custom.ini,注意,每条配置必须在其section下

如:要修改模拟器连接端口,那么你的config-custom.ini应该像这样

; ./xuexi/config-custom.ini
[mumu]
port = 对应的端口号
配置值 积分 积点点通 备注
challenge_count 10+ 30+ 答对5题积3分上限6分
video_count 6+ 20+ 要求6则,每则1分上限6分
video_delay 180+ 54+ 总时长要求18分钟,每3分钟积1分上限6分
article_count 6+ 20+ 要求6篇,每篇1分上限6分
article_delay 120+ 36+ 总时长要求12分钟,每2分钟积1分上限6分
star_share_comment 2+ 2+ 不积点点通
  1. 双击开始积分.bat, 或者
# 运行脚本程序
(venv)$:python -m xuexi

autoxue's People

Contributors

kessil avatar cclauss avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.