adb连接,具体方式详见 https://050403.xyz/index.php/archives/31/ 这篇文章禁用指令:adb shell pm suspend --user 0 com.oplus.sauadb shell pm suspend --user 0 com.oplus.otaadb shell pm suspend --user 0 com.oplus.romupdate开启指令:adb shell pm unsuspend --user 0 com.oplus.sauadb shell pm unsuspend --user 0 com.oplus.otaadb shell pm unsuspend --user 0 com.oplus.romupdate检查更新组件状态:adb shell pm list packages | grep "oplus" # 查看包名是否存在以上指令在color os 14测试没问题
测试
分流点{ "tag": "TG-proxy", "protocol": "shadowsocks", }规则{ "type":"field", "domain":[ "t.me", "tdesktop.com", "telegra.ph", "telegram.me", "telegram.org", "telesco.pe" ], "outboundTag":"TG-proxy" }, {
请输入密码访问
转自:https://zhuanlan.zhihu.com/p/581264235作为通过模拟鼠标在浏览器上操作的python库,selenium有着简单易学,清晰的可视化(driver本身是一个可视的浏览器),能够快速布置等特点,非常适合初学者上手。本文是笔者平常做研究获取数据过程中的使用经验和遇到的坑的一些总结,希望能帮到大家。但是由于使用经验仅限于对文本数据的获取,所以本文代码只会涉及获取字符串数据。所有代码基于python。所有代码基于Chrome driver。一、安装及配置官方文档:The Selenium Browser Automation Projectselenium-python中文文档: Selenium with Python中文翻译文档要注意的是selenium的安装分为两部分:selenium包的安装:以python为例就是正常的pip install selenium和浏览器模拟器的下载:直接下载官网相应的driver,比如我本身使用Chrome浏览器所以下载Chrome Driver。注意一定要下载适配现在版本的driver,不然会无法运行。下载之后是
下载相关文件,这里是20.04,在这个面页:https://launchpad.net/ubuntu/+source/chromium-browser/1:85.0.4183.83-0ubuntu0.20.04.3/+build/25538391# dependencies wget https://launchpad.net/~canonical-chromium-builds/+archive/ubuntu/stage/+files/chromium-codecs-ffmpeg_96.0.4664.110-0ubuntu0.18.04.1_arm64.deb wget https://launchpad.net/~canonical-chromium-builds/+archive/ubuntu/stage/+files/chromium-codecs-ffmpeg-extra_96.0.4664.110-0ubuntu0.18.04.1_arm64.deb # chromium-browser wget https://launchpad.net/~canonical-chro