Last update at :2024-03-13,Edit by888u
Many friends have GV numbers (short for Google Voice). Currently, Google has a recycling policy. GV numbers that have not been used for a long time will be received by the system. If you prevent the recycling, it has become a concern for everyone. The blogger has published several articles before. As long as the information is sent regularly, recycling can be prevented, but what if the article is forgotten as soon as possible? Today, I saw that imes, the Internet giant, wrote a one-click script for automatic account protection, so I shared it with everyone.
github address: https://github.com/uselibrary/KeepMyGoogleVoice
One-click script and configuration:
wget --no-check-certificate -O gv.sh https://raw.githubusercontent.com/uselibrary/KeepMyGoogleVoice/master/gv.sh && chmod +x gv.sh && bash gv.sh
1 | wget --no-check-certificate -O gv.sh https://raw.githubusercontent.com/uselibrary/KeepMyGoogleVoice/master/gv.sh && chmod +x gv.sh && bash gv.sh |
After completing the installation, manually enter your account and password into /root/gv.py. The specific location is as follows:
voice.login(email='xxxxx@gmail.com', passwd='xxxxx')1 | voice.login(email='xxxxx@gmail.com', passwd='xxxxx') |
Operation and instructions
KeepMyGoogleVoice uses a Python script to automatically send text messages to cloudflare to keep Google Voice alive. By default, a text message will be sent to 8336721001 to query the IP of baidu.com. If you want to modify it, you can change the phoneNumber and text contents in /root/gv.py after executing the one-click script.
Supported system versions: Debain 9/Ubuntu 16.04+/CentOS 7 (CentOS 7 is not recommended, there may be compatibility issues)
After executing this script, python3.6 and pip3 will be automatically installed for CentOS 7; python3 and python3-pip will be automatically installed for Debain 9/Ubuntu 18.04+.
The one-click script is as follows, you need to enter your Google account and password during the installation process
wget --no-check-certificate -O gv.sh https://raw.githubusercontent.com/uselibrary/KeepMyGoogleVoice/master/gv.sh && chmod +x gv.sh && bash gv.sh
1 | wget --no-check-certificate -O gv.sh https://raw.githubusercontent.com/uselibrary/KeepMyGoogleVoice/master/gv.sh && chmod +x gv.sh && bash gv.sh |
After completing the installation, manually enter your account and password into /root/gv.py. The specific location is as follows:
voice.login(email='xxxxx@gmail.com', passwd='xxxxx')1 | voice.login(email='xxxxx@gmail.com', passwd='xxxxx') |
Refer to this item only if the one-click script cannot be used normally
If the above script cannot be executed, you can install it manually. Execute the following command, manually enter the Google account and password, and set it to be executed monthly through crontab.
wget --no-check-certificate -O gv.py https://raw.githubusercontent.com/uselibrary/KeepMyGoogleVoice/master/gv.py && chmod +x gv.py1 | wget --no-check-certificate -O gv.py https://raw.githubusercontent.com/uselibrary/KeepMyGoogleVoice/master/gv.py && chmod +x gv.py |
And, for CentOS 7, execute the following command
yum -y install epel-release yum -y install python36 yum -y install python36-setuptools easy_install-3.6 pip pip3 -y install googlevoice
12345 | yum -y install epel-release yum -y install python36 yum -y install python36-setuptools easy_install-3.6 pip pip3 -y install googlevoice |
For Debian 9/Ubuntu 16.04+ execute the following command
apt install python3 apt install python3-pip pip3 install googlevoice
123 | apt install python3 apt install python3-pip pip3 install googlevoice |
Original text: https://pa.ci/92.html
Recommended site search: Hong Kong cloud host, PHP space recommendation, foreign free ASP space, Hong Kong virtual host, mainland China domain name, foreign PHP space, IP proxy, server space rental, free virtual host application and filing query,
发表评论