Coder Social home page Coder Social logo

euserv_extend-1's Introduction

EUserv_extend

使用 腾讯云函数 SCF 自动续期EUserv免费IPv6 VPS脚本

说明

自动获取账号内所有的VPS项目,并检测是否需要续期,需要续期会自动续期。

使用说明

1、修改 main.py 中的用户名,密码,并配置合适的推送方式(Server酱酷推PushPlusTelegram Bot Pushwecomchan

USERNAME: 你的EUserv账户邮箱或Customer ID

USERNAME = '[email protected]'
USERNAME = '[email protected] [email protected]' # 多个账号写法

PASSWORD: 账户的密码

PASSWORD = 'password'
PASSWORD = 'password1 password2' # 多个账号写法
Server酱
 
SCKEY = 'SCU64664Tfb2052dc10382535c3dd19e48ba000fc5dacd6a5dc3f6'
  
酷推
 
COOLPUSH_SKEY = ''
# 通知类型 CoolPush_MODE的可选项有(默认send):send[QQ私聊]、group[QQ群聊]、wx[个微]、ww[企微]
COOLPUSH_MODE = 'send'
PushPlus
 
PUSHPLUS_TOKEN = ''
Telegram Bot Push
 
TG_BOT_TOKEN = '' # 通过 @BotFather 申请获得,示例:1077xxx4424:AAFjv0FcqxxxxxxgEMGfi22B4yh15R5uw
TG_USER_ID = '' # 用户、群组或频道 ID,示例:129xxx206
TG_API_HOST = 'api.telegram.org' # 自建 API 反代地址,供网络环境无法访问时使用,网络正常则保持默认
wecomchan 具体可参考 https://github.com/easychen/wecomchan/tree/main/go-scf
 
WECOMCHAN_DOMAIN = ''  # 你的服务器的主页 例: https://example.com/
WECOMCHAN_SEND_KEY = ''  # 你配置的key
WECOMCHAN_TO_USER = '@all'  # 默认全部推送, 对个别人推送可用 User1|User2

2、新建层 BeautifulSoupBeautifulSoup.zip 导入 ,添加运行环境 Python 3.6。

3、新建腾讯云函数 EUserv_extend ,运行环境选择 Python 3.6,创建方式选择 空白函数,内存选择 64M,执行超时时间建议为 300 s(网站在国外访问比较慢,建议部署在非大陆区域,例如HK、SG等),将修改后的 main.py 粘贴进去。

4、在 EUserv_extend⇨函数管理⇨层管理 里绑定层 BeautifulSoup

5、测试,没有错误就在 EUserv_extend⇨触发管理⇨创建触发器触发周期⇨自定义触发周期 填入

0 0 8 */7 * * * # 每 7 天的 8 点执行,修改成你想要的时间。Cron 相关文档: https://cloud.tencent.com/document/product/583/9708

6、完成。

其他说明

本项目直接修改自 CokeMine/EUserv_extend 以适用于腾讯云函数。

euserv_extend-1's People

Contributors

if1y avatar o0oo0ooo0 avatar xmjwit avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.