淘宝天猫自动领取喵币
生活随笔
收集整理的這篇文章主要介紹了
淘宝天猫自动领取喵币
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
話不多說上代碼
手機連接電腦 打開做任務領喵幣界面??
需要安裝adb程序哦
# 天貓自動刷貓幣 import time, os def screen(i):# 文件名fileName = 'screen.png'# 文件路徑filePath = '/sdcard/tmp/' + fileName# 截圖pushScreen = 'adb shell screencap -p ' + filePathpullScreen = 'adb pull ' + filePath# os.system(pushScreen)# os.system(pullScreen)time.sleep(2)# #在當前屏幕中查找指定圖片(圖片需要由系統截圖功能截取的圖)# coords = pyautogui.locateOnScreen()# x,y=pyautogui.center(coords)# 點擊屏幕位置quliulan = 'adb shell input tap 895 1214' os.system(quliulan)time.sleep(2)# 滑動huadong = 'adb shell input swipe 800 800 800 400' os.system(huadong)print('滑動:', i, '次')time.sleep(3)# 滑動huadong = 'adb shell input swipe 800 800 800 400' os.system(huadong)time.sleep(17)# 返回# quliulan = 'adb shell input tap 947 1793' quliulan = 'adb shell input keyevent 4' os.system(quliulan)print('返回活動列表')i += 1screen(i) i = 1 screen(i)# 點擊位置 (x,y) # adb shell input tap 250 250# 滑動 # adb shell input swipe 800 800 800 400# 截圖和上傳命令 # adb shell screencap -p /sdcard/tmp/screen.png# adb pull /wamp/Apache24/htdocs/python/2020/tianmao/screen.png程序就會自動幫你領取喵幣啦~
總結
以上是生活随笔為你收集整理的淘宝天猫自动领取喵币的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: MEMS光学器件— MEMS OXC(光
- 下一篇: 利用APPium获取自动浏览获取喵币