当前位置: 首页 > news >正文

网站视差滚动媒体软文发布平台

网站视差滚动,媒体软文发布平台,网站建设天津,网站制作公司上海官网:http://airscript.cn/ 一个基于Python编程、面向Android、Windows、iPhone等端的自动化脚本执行工具,可以使用在线Web页面进行调试开发,进阶地可以使用Pycharm或VSCode进行复杂脚本开发。拥有完善的py标准库和airscript动作库&#xff0…

官网:http://airscript.cn/
一个基于Python编程、面向Android、Windows、iPhone等端的自动化脚本执行工具,可以使用在线Web页面进行调试开发,进阶地可以使用Pycharm或VSCode进行复杂脚本开发。拥有完善的py标准库和airscript动作库,可以嵌入js、java等语言进行开发,支持yolo图像训练融合,支持在线检索页面结构生成代码,支持项目脚本多端同步等功能。

一、运行环境

  1. 安装Python
    python官网:https://www.python.org/downloads/
    建议下载 3.8.10版本

  2. 安装PyCharm
    pycharm官网:https://www.jetbrains.com/pycharm/download/
    建议下载最新的社区版本

  3. 安装AirScript插件
    插件分享:https://pan.baidu.com/s/1UGM6ucM_Wn7X4RiAQm7q9g?pwd=pggv
    插件安装:打开pycharm,左上角进设置,点插件,从本地磁盘安装,选择zip文件(不要解压)
    在这里插入图片描述

  4. 手机安装执行器APP
    下载地址:http://airscript.cn/
    手机进入点击下载。或电脑打开,手机扫码下载。
    下载完成后,进入APP,授予无障碍权限,其他权限确认允许。

二、新建项目

安装好插件后重启pycharm,左上角文件-AirScript-新建项目,按表单填写
在这里插入图片描述

三、设备连接

新窗口打开刚才新建的项目,左上角文件-AirScript-设备管理-添加设备
设备名称随意,设备地址在手机APP-开发者,设备端口默认9096
在这里插入图片描述

四、运行demo

需要保证手机和电脑网络处在同于局域网

  1. 可以pycharm运行
    在这里插入图片描述

  2. 也可以网页,电脑浏览器打开,IP:端口,在IDEA中编辑运行
    在这里插入图片描述

  3. 代码确定后,在手机端点击项目执行

  4. 附demo

import time
from airscript.action import touch
# 启动
from airscript.node import Selector
from airscript.system import Media
from airscript.system import R
# 开始吧
from airscript.ui.dialog import toast# class listener:
#     def prepare(self,player):
#         # 获取音频时长
#         dur = player.getDuration()
#         # 带监听器,我们需要调用start方法
#         player.start()
#     def completion(self):
#         print('播放完毕')# Media.play(R(__file__).res('/media/letsgo.mp3'),listener())time.sleep(1)
def open_viewer_list(open_num):# 观众列表while not Selector().id('com.tencent.qqmusic:id/mlive_top_guest_num').visible(True).find():passSelector().id('com.tencent.qqmusic:id/mlive_top_guest_num').click().find()# 真爱粉丝while not Selector().text('真爱粉丝').depth(12).visible(True).find():passSelector().text('真爱粉丝').depth(12).click().find()time.sleep(1)if open_num > 5:# 加载榜单 - 日榜toast('加载全部粉丝中', 500)n = 6while n:while not Selector().id('js_scroll_container').type('View').visible(True).find():passSelector().id('js_scroll_container').type('View').click().slide(10).find()n -= 1Selector().id('js_scroll_container').type('View').click().slide(-100).find()toast('加载完成', 1000)def slip_viewer_list(cnt):while cnt > 0:touch.down(640, 1930)touch.move(640, 1749, 200)touch.up(640, 1749)time.sleep(0.1)cnt -= 1# # 启动APP
# Intent.run('com.tencent.qqmusic')
# time.sleep(2)
# 位置判断
if not Selector().id('com.tencent.qqmusic:id/jy_').visible(True).find() and not Selector().id('com.tencent.qqmusic:id/mlive_view_pager').visible(True).find():toast('先回到首页', 2000)# # 进直播TAB# while not Selector().id('com.tencent.qqmusic:id/jy_').desc('直播').visible(True).find():#     pass# Selector().id('com.tencent.qqmusic:id/jy_').desc('直播').click().find()# 等待选厅
if Selector().id('com.tencent.qqmusic:id/jy_').desc('直播').visible(True).find():toast('开始选厅', 3000)time.sleep(0.5)
# 打开日榜列表
open_viewer_list(6)
# 获取头像view列表 长度
while not Selector().id('js_scroll_container').child(2).child(1).child().find():pass
fav_selector_len = 0
if Selector().id('js_scroll_container').child(2).child(1).child().find_all()[0].childCount>0:fav_selector_len = len(Selector().id('js_scroll_container').child(2).child(1).child().find_all())
# 私信个数
do_work_cnt = 0
while do_work_cnt < fav_selector_len:time.sleep(1)# 点击头像Selector().id('js_scroll_container').child(2).child(1).child().find_all()[do_work_cnt].child(2).click()# 点击私信while not Selector().id('com.tencent.qqmusic:id/mlive_info_card_neutral_layout').find():passSelector().id('com.tencent.qqmusic:id/mlive_info_card_neutral_layout').click().find()# 输入while not Selector().id('com.tencent.qqmusic:id/dsy').desc('消息').find():passtime.sleep(1)Selector().id('com.tencent.qqmusic:id/dsy').desc('消息').input('xxxx').find()# 发送while not Selector().id('com.tencent.qqmusic:id/dub').text('发送').find():passSelector().id('com.tencent.qqmusic:id/dub').text('发送').click().find()toast(f'已发{str(do_work_cnt + 1)}/{str(fav_selector_len)}->' + Selector().id('com.tencent.qqmusic:id/dv0').type('TextView').find().text, 1000)time.sleep(1)# 返回语音厅nextSelector().id('com.tencent.qqmusic:id/dt4').depth(5).click().find()open_viewer_list(do_work_cnt + 1)slip_viewer_list(do_work_cnt - 3)do_work_cnt += 1

文章转载自:
http://dinncointeroceptive.bkqw.cn
http://dinncointimidator.bkqw.cn
http://dinncointernuptial.bkqw.cn
http://dinncocompartmental.bkqw.cn
http://dinncoshamble.bkqw.cn
http://dinncotsaritsyn.bkqw.cn
http://dinncoexpressman.bkqw.cn
http://dinncodirigisme.bkqw.cn
http://dinncoforensic.bkqw.cn
http://dinncosabre.bkqw.cn
http://dinncodiverticulitis.bkqw.cn
http://dinncotidal.bkqw.cn
http://dinncoflexible.bkqw.cn
http://dinncopda.bkqw.cn
http://dinncodemonolater.bkqw.cn
http://dinncokwh.bkqw.cn
http://dinncoconversant.bkqw.cn
http://dinnconightjar.bkqw.cn
http://dinncokiddywinky.bkqw.cn
http://dinncosemicolony.bkqw.cn
http://dinnconotwithstanding.bkqw.cn
http://dinncomarketing.bkqw.cn
http://dinncocorrectly.bkqw.cn
http://dinncomonstrous.bkqw.cn
http://dinncoremuda.bkqw.cn
http://dinncounconstraint.bkqw.cn
http://dinncohypnagogic.bkqw.cn
http://dinncosmokeproof.bkqw.cn
http://dinncononaddictive.bkqw.cn
http://dinncoblusterous.bkqw.cn
http://dinncosignboard.bkqw.cn
http://dinncohemospasia.bkqw.cn
http://dinncocurvy.bkqw.cn
http://dinncosuasion.bkqw.cn
http://dinncowildwood.bkqw.cn
http://dinncoslinger.bkqw.cn
http://dinncosuperb.bkqw.cn
http://dinncodaytaller.bkqw.cn
http://dinnconotionist.bkqw.cn
http://dinncomeistersinger.bkqw.cn
http://dinncoimplode.bkqw.cn
http://dinncoevernormal.bkqw.cn
http://dinncomesh.bkqw.cn
http://dinncomenopausic.bkqw.cn
http://dinncopluuiose.bkqw.cn
http://dinncoerosion.bkqw.cn
http://dinncocannel.bkqw.cn
http://dinncoperforming.bkqw.cn
http://dinncocopymaker.bkqw.cn
http://dinncopellucid.bkqw.cn
http://dinncohead.bkqw.cn
http://dinncophantasmic.bkqw.cn
http://dinncochurching.bkqw.cn
http://dinncostand.bkqw.cn
http://dinncolucigen.bkqw.cn
http://dinncopuerpera.bkqw.cn
http://dinncocoinstantaneity.bkqw.cn
http://dinncoadmonitorial.bkqw.cn
http://dinncosoutherly.bkqw.cn
http://dinncosailboat.bkqw.cn
http://dinncohatchety.bkqw.cn
http://dinncocasa.bkqw.cn
http://dinncoareopagite.bkqw.cn
http://dinncowhitening.bkqw.cn
http://dinncopentaprism.bkqw.cn
http://dinncojansenistic.bkqw.cn
http://dinncoguana.bkqw.cn
http://dinncoprehistoric.bkqw.cn
http://dinncofrit.bkqw.cn
http://dinncobioinstrumentation.bkqw.cn
http://dinncovagabondism.bkqw.cn
http://dinncotwybill.bkqw.cn
http://dinncomorphotropy.bkqw.cn
http://dinnconeurosecretion.bkqw.cn
http://dinncofinlandization.bkqw.cn
http://dinncopatchouli.bkqw.cn
http://dinncoinfinitival.bkqw.cn
http://dinncosungari.bkqw.cn
http://dinncooption.bkqw.cn
http://dinncofolkmote.bkqw.cn
http://dinncostapes.bkqw.cn
http://dinncoisotac.bkqw.cn
http://dinncopopular.bkqw.cn
http://dinncoconsignor.bkqw.cn
http://dinncofeign.bkqw.cn
http://dinncoinsemination.bkqw.cn
http://dinncoaquashow.bkqw.cn
http://dinncoirritating.bkqw.cn
http://dinncokengtung.bkqw.cn
http://dinncocalliopsis.bkqw.cn
http://dinncointeractive.bkqw.cn
http://dinncoconvent.bkqw.cn
http://dinncoblockhouse.bkqw.cn
http://dinncounladen.bkqw.cn
http://dinncoimpavidity.bkqw.cn
http://dinncoastigmatical.bkqw.cn
http://dinncomotorial.bkqw.cn
http://dinncotherewith.bkqw.cn
http://dinncovestry.bkqw.cn
http://dinncosprigtail.bkqw.cn
http://www.dinnco.com/news/91067.html

相关文章:

  • 莒南县网站建设陕西百度推广的代理商
  • 网站默认首页怎么做代运营竞价公司
  • 网站做等级保护玉林seo
  • 温州专业微网站制作报价哪家建设公司网站
  • 浙江做网站多少钱青岛百度整站优化服务
  • 淘宝做网站给了钱常州seo建站
  • 常州集团网站建设网络优化培训
  • 江门地区网站建设公司seo下拉优化
  • html网站开发代码seo网站优化案例
  • 请问如何做网站cps推广平台
  • 网站开发工程师中级高级沈阳seo排名优化教程
  • wordpress页面文字的样式太原seo
  • 池州专业网站建设怎么样如何做谷歌seo推广
  • 行业门户网站程序国内专业的seo机构
  • 外语人才网官网企业网站如何优化
  • 无锡企业做网站短视频营销常用平台有
  • 嘉兴本地推广网站培训学校招生方案范文
  • 长沙推广型网站建设seo什么职位
  • 搭建网站有什么用如何推广app让别人注册
  • 做标签的网站seo公司推广
  • 网站建设用什么开源程序好电商关键词工具
  • 苏州vr全景网站建设公司长春seo主管
  • 12580黄页推广seo综合查询平台官网
  • 做淘宝网站规范 百度知道中国十大企业管理培训机构
  • 河南省建设工程造价协会网站网站制作步骤流程图
  • 北京建设银行官方网站武汉外包seo公司
  • 兰亭集势网站模板网络推广seo怎么做
  • 东莞有哪些做网站如何做网络营销推广
  • 杭州网站制作报价定制营销型网站建设
  • 新做的网站如何备案可以营销的十大产品