问题描述

按照hexo-douban上的教程安装完之后,输入命令

1
hexo douban -bgm

发现报错,用户ID输入错误

image-20221208152742775

问题解决

更改hexo根目录下的_config.yml文件,将原本的user改为id

1
2
3
4
5
6
7
8
9
10
11
12
13
douban:
id: xxxxxxx
builtin: true # 选择是否有主题渲染
book:
title: 'xxxx'
quote: 'xxxxx'
movie:
title: 'This is my movie title'
quote: 'This is my movie quote'
# game:
# title: 'This is my game title'
# quote: 'This is my game quote'
timeout: 100000

问题的解决方案来自于这里

https://github.com/mythsman/hexo-douban/issues/107

image-20221208152715048