From 261dff4b03bb24a232190aa31521eb5b7063d66c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=B6=E7=B2=89?= <53338804+KNaiFen@users.noreply.github.com> Date: Tue, 6 Jun 2023 21:26:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0NICO=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E6=A8=A1=E6=9D=BF=20(#464)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: KNaiFen --- public/config.toml | 16 ++++++++++++++++ public/config.yaml | 14 ++++++++++++++ 2 files changed, 30 insertions(+) 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 + #########日志输出配置#########