Products
GG网络技术分享 2025-03-18 16:05 14
大家都知道之前出了一个德国的EUserv免费VPS主机,但是后来每个月都要进行手动续期。之前也分享了自动续期的图文教程【德国Euserv免费VPS主机手动续费续期图文教程】,但是毕竟每个月都要手动比较麻烦,这里就分享一下自动续期脚本的图文教程,其中 eu_ex 是 EUserv_extend 的简写。一个 Python 脚本,可以帮你续期免费 EUserv IPv6 VPS。
这个脚本可以自动检查你账户中的 VPS 数量,如果可以续期,就为 VPS 续期。
脚本地址为:https://github.com/a-beam-of-light/eu_ex
安装 Python3 和必要的依赖,以下命令在 debian/ubuntu 为例,
#Install Python3apt install python3 python3-pip -y
#Intstall dependences
pip install requests beautifulsoup4
不建议在 main.py
文件第 37-38 行直接用你的真实值去替换USERNAME
和PASSWORD
。可以使用环境变量传入。你可以添加多个账户,并以一个空格分隔。
你可以添加多个 mailparser.io 解析数据的下载 URL ID,并以一个空格分隔。下载的 URL ID 在https://files.mailparser.io/d/<download_url_id>
。
将 Actions secrets 传入你的 GitHub Action 运行环境的环境变量。例如,以下环境变量是必需的。
env:USERNAME: ${{ secrets.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}
# https://mailparser.io
MAILPARSER_DOWNLOAD_URL_ID: ${{ secrets.MAILPARSER_DOWNLOAD_URL_ID }}
以 gmail 为例, 转发邮件至 mailparser。可以是非 gmail 邮箱,前提是可以收到 euserv 的邮件。目前 outlook/hotmail 是收不到的。
首先创建新的收件箱。
创建数据解析规则。
数据解析规则,pin 为必需,其他可选。
pin 的解析规则
subject 的解析规则
sender 的解析规则
receiver 的解析规则
创建解析数据下载 URL
解析数据下载 URL
解析数据下载设置
mailparser 收件箱设置(可选,为减少收到 spam 邮件的风险,最好设置)
mailparser 收件箱设置 1
mailparser 收件箱设置 2
效果如图,
From: EUserv Support <support@euserv.de>To: xyz@example.com
Subject: EUserv - PIN for the Confirmation of a Security Check
Content-Type: text/plain; charset = utf-8
Dear XYZ,
you have just requested a PIN for confirmation of a security check at EUserv. If you have not requested the PIN then ignore this email.
PIN:
123456
PLEASE NOTE: If you already have requested a new PIN for the same process this PIN is invalid. Also this PIN is only valid within the session in which it has been requested. This means the PIN is invalid if you for example change the browser or if you logout and perform a new login.
Sincerely,
Your customer support EUserv
--
Web ................: http://www.euserv.com
Login control panel.: https://support.euserv.com
FAQ ................: http://faq.euserv.com
Help & Guides.......: http://wiki.euserv.com
Community / Forum...: http://forum.euserv.com
Mailing-Liste ......: http://www.euserv.com/en/?show_contact=mailinglist
Twitter ............: http://twitter.com/euservhosting
Facebook ...........: http://www.facebook.com/euservhosting
--
EUserv Internet
is a division of
ISPpro Internet KG
Postal address:
ISPpro Internet KG
Division EUserv Internet
P.O. Box 2224
07622 Hermsdorf
GERMANY
Support-Phone: +49 (0) 3641 3101011 (English speaking)
Administration:
ISPpro Internet KG
Neue Str. 4
D-07639 Bad Klosterlausnitz
GERMANY
Management...............: Dirk Seidel
Register.................: AG Jena, HRA 202638
VAT Number...............: 162/156/36600
Tax office ..............: Jena
International VAT Number.: DE813856317
以上很多大佬都成功设置了,本站并未进行设置,出现的各类问题也并未知晓。如果怕问题的也可以使用手动续期吧。
Demand feedback