diff --git a/public/config.toml b/public/config.toml index 1f81e3e..1bfc067 100644 --- a/public/config.toml +++ b/public/config.toml @@ -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" diff --git a/public/config.yaml b/public/config.yaml index 1ccb5f7..0a2933e 100644 --- a/public/config.yaml +++ b/public/config.yaml @@ -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 + #########日志输出配置#########