Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
docs: update doc about user-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
indes committed Apr 25, 2020
1 parent 59cc140 commit 74ea7cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ bot_token: XXX
# - token_1
# - token_2
telegraph_token: xxxx
user_agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
preview_text: 0
disable_web_page_preview: false
socks5: 127.0.0.1:1080
Expand All @@ -73,7 +74,8 @@ sqlite:
| --------------------------| ----------------------------------------- | ------------------------------------------ |
| bot_token | Telegram Bot Token | 必填 |
| telegraph_token | Telegraph Token, 用于转存原文到 Telegraph | 可忽略(不转存原文到 Telegraph ) |
| preview_text | 纯文字预览字数(不借助Telegraph) |可忽略(默认0, 0为禁用)
| preview_text | 纯文字预览字数(不借助Telegraph) |可忽略(默认0, 0为禁用) |
| user_agent | User Agent |可忽略 |
| disable_web_page_preview | 是否禁用 web 页面预览 | 可忽略(默认 false, true 为禁用) |
| update_interval | RSS 源扫描间隔(分钟) | 可忽略(默认 10) |
| error_threshold | 源最大出错次数 |可忽略(默认 100) |
Expand Down

0 comments on commit 74ea7cc

Please sign in to comment.