增加NICO用户配置文件模板 (#464)

Co-authored-by: KNaiFen <knaifen@foxmail.com>
This commit is contained in:
奶粉andKNaiFen authored and GitHub committed 2023-06-06 13:26:42 +00:00
1 parent 2d28b3bbc1
commit 261dff4b03
2 files changed
+30

No files matched your search

+16
View File
@@ -206,6 +206,22 @@ douyin_cookie = '__ac_nonce=123456; __ac_signature=123456;'
### 可以使用Chrome插件Get cookies.txt来生成txt文件。
#youtube_cookie = 'cookiejar.txt'
#------NICO------#
### The email or phone number associated with your Niconico account
### 【翻译:与您的Niconico账户相关的电子邮件或电话号码】
# niconico-email = xxxxxxxxxxx
### The password of your Niconico account
### 【翻译:您的Niconico账户的密码】
# niconico-password = xxxxxxxxxxxx
### Value of the user-session token. Can be used as an alternative to providing a password.
### 【翻译:用户会话令牌的值。可作为提供密码的替代方法。】
# niconico-user-session = xxxxxxxxxxx
### Purge cached Niconico credentials to initiate a new session and reauthenticate.
### 【翻译:清除缓存的 Niconico 凭证,以启动一个新的会话并重新认证。】
# niconico-purge-credentials = xxxxxxxxxxxx
# 日志输出配置
[LOGGING.formatters.verbose]
format = "%(asctime)s %(filename)s[line:%(lineno)d](Pid:%(process)d Tname:%(threadName)s) %(levelname)s %(message)s"
+14
View File
@@ -199,6 +199,20 @@ streamers:
### 可以使用Chrome插件Get cookies.txt来生成txt文件。
#youtube_cookie: 'cookiejar.txt'
#------NICO------#
### The email or phone number associated with your Niconico account
### 【翻译:与您的Niconico账户相关的电子邮件或电话号码】
# niconico-email: xxxxxxxxxxx
### The password of your Niconico account
### 【翻译:您的Niconico账户的密码】
# niconico-password: xxxxxxxxxxxx
### Value of the user-session token. Can be used as an alternative to providing a password.
### 【翻译:用户会话令牌的值。可作为提供密码的替代方法。】
# niconico-user-session: xxxxxxxxxxx
### Purge cached Niconico credentials to initiate a new session and reauthenticate.
### 【翻译:清除缓存的 Niconico 凭证,以启动一个新的会话并重新认证。】
# niconico-purge-credentials: xxxxxxxxxxxx
#########日志输出配置#########