Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
o0oo0ooo0 authored Jul 14, 2021
1 parent af080de commit a6508a2
Showing 1 changed file with 29 additions and 18 deletions.
47 changes: 29 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

## 使用说明

1、修改 **main.py** 中的用户名,密码,并配置合适的推送方式([Server酱](https://sc.ftqq.com/?c=code)[酷推](https://cp.xuthus.cc)[PushPlus](https://pushplus.hxtrip.com/message)[Telegram Bot Push](https://core.telegram.org/bots/api#authorizing-your-bot)
1、修改 **main.py** 中的用户名,密码,并配置合适的推送方式([Server酱](https://sc.ftqq.com/?c=code)[酷推](https://cp.xuthus.cc)[PushPlus](https://pushplus.hxtrip.com/message)[Telegram Bot Push](https://core.telegram.org/bots/api#authorizing-your-bot)[wecomchan](https://github.com/easychen/wecomchan)


USERNAME: 你的EUserv账户邮箱或Customer ID
Expand All @@ -22,37 +22,48 @@ PASSWORD: 账户的密码
PASSWORD = 'password'
PASSWORD = 'password1 password2' # 多个账号写法
```
Server酱

```
<details>
<summary>Server酱</summary>
<pre><code>
SCKEY = 'SCU64664Tfb2052dc10382535c3dd19e48ba000fc5dacd6a5dc3f6'
```
酷推
</code></pre>
</details>

```
<details>
<summary>酷推</summary>
<pre><code>
COOLPUSH_SKEY = ''
# 通知类型 CoolPush_MODE的可选项有(默认send):send[QQ私聊]、group[QQ群聊]、wx[个微]、ww[企微]
COOLPUSH_MODE = 'send'
```
PushPlus
</code></pre>
</details>

```
<details>
<summary>PushPlus</summary>
<pre><code>
PUSHPLUS_TOKEN = ''
```
Telegram Bot Push
```
</code></pre>
</details>

<details>
<summary>Telegram Bot Push</summary>
<pre><code>
TG_BOT_TOKEN = '' # 通过 @BotFather 申请获得,示例:1077xxx4424:AAFjv0FcqxxxxxxgEMGfi22B4yh15R5uw
TG_USER_ID = '' # 用户、群组或频道 ID,示例:129xxx206
TG_API_HOST = 'api.telegram.org' # 自建 API 反代地址,供网络环境无法访问时使用,网络正常则保持默认
```
wecomchan
</code></pre>
</details>

具体可参考[wecomchan_go-scf](https://github.com/easychen/wecomchan/tree/main/go-scf)
```
<details>
<summary>wecomchan</summary>
具体可参考 https://github.com/easychen/wecomchan/tree/main/go-scf
<pre><code>
WECOMCHAN_DOMAIN = '' # 你的服务器的主页 例: https://example.com/
WECOMCHAN_SEND_KEY = '' # 你配置的key
WECOMCHAN_TO_USER = '@all' # 默认全部推送, 对个别人推送可用 User1|User2
```
</code></pre>
</details>

2、新建层 **BeautifulSoup**[BeautifulSoup.zip](https://github.com/o0oo0ooo0/EUserv_extend/releases/download/0.1/BeautifulSoup.zip) 导入 ,添加运行环境 Python 3.6。

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

0 comments on commit a6508a2

Please sign in to comment.