使用KeepMyGoogleVoice自動保活Google Voice后端開發
導讀:后端開發后端開發 Google Voice是谷歌推出的一款虛擬美國手機號碼,通過Google Voice可以方便的完成很多本來很折騰的事情。但是Google Voice要求每隔建設網站公司網站seo優化診斷工具。
Google Voice是谷歌推出的一款虛擬美國手機號碼,通過Google Voice可以方便的完成很多本來很折騰的事情。但是Google Voice要求每隔一段時間就需要使用一次,不然將會被取消號碼。往常都是通過手動收發短信來避免被取消,現在通過KeepMyGoogleVoice可以實現配置后,每月自動發短信給CloudFlare查詢網站的IP來實現保活。
github地址:https://github.com/uselibrary/KeepMyGoogleVoice 支持的系統版本: CentOS 7/Debain 9/Ubuntu 16.04+ (不建議CentOS 7,可能存在兼容性問題,如網站建設哪家好果還是不行,請前往https://accounts.google.com/DisplayUnlockCaptcha檢查是否啟用了安全驗證) 有bug的話,去github提issue
[title]一鍵腳本及配置[/tit網站seo優化le]
wget --no-check-certificate -O gv.sh https://raw.githubusercontent.com/uselibrary/KeepMyGoogleVoice/master/gv.sh && chmod +x gv.sh && bash gv.sh完成安裝后,手動將你的賬號和密碼輸入到/root/gv.py中,具體位置如如下:
voice.login(email='xxxxx@gmail.com', passwd='xxxxx')[title]操作與說明[/title]
KeepMyGoogleVoice是使用Python腳本自動發送短信給cloudflare來實現保活Google Voice。默認情況下,將發送一條短信到8336721001查詢baidu.com的IP。如果你想修改,可以在執行完一鍵腳本后,更改/root/gv.py中的phoneNumber和text內容。
執行此腳本后,對于CentOS 7將自動安裝python3.6和pip3;對于Debain 9/Ubuntu 18.04+將自動安裝python3和python3-pip。 一鍵腳本如下,安裝過程中需要輸入google賬號和密碼。
wget --no-check-certificate -O gv.sh https://raw.githubusercontent.com/uselibrary/KeepMyGoogleVoice/master/gv.sh && chmod +x gv.sh && bash gv.sh完成安裝后,手動將你的賬號和密碼輸入到/root/gv.py中,具體位置如如下:
voice.login(email='xxxxx@gmail.com', passwd='xxxxx')僅當一鍵腳本無**常使用是才參考此項 如果上述一腳腳本無法執行,可以手動安裝。執行以下命令,手動輸入Google賬號和密碼,并通過crontab將其設置為每月執行一次。
wget --no-check-certi網站建設多少錢ficate -O gv.py https://raw.githubusercontent.com/uselibrary/KeepMyGoogleVoice/master/gv.py && chmod +x gv.py并且,對于CentOS 7 執行一下命令
yum -y install epel-release yum -y install python36 yum -y install python36-setuptools easy_install-3.6 pip pip3 install googlevoice對于Debian 9/Ubuntu 16.04+ 執行一下命令
apt install python3 apt install python3-pip pip3 install googlevoice相關建設網站公司網站seo優化診斷工具。聲明: 本文由我的SEOUC技術文章主頁發布于:2023-05-28 ,文章使用KeepMyGoogleVoice自動保活Google Voice后端開發主要講述Google,Voice網站建設源碼以及服務器配置搭建相關技術文章。轉載請保留鏈接: http://www.bifwcx.com/article/web_11619.html