基本设置
插件
->豆瓣
->基本设置
-
设置豆瓣ID
-
设置TMDB API Key
设置定时任务
同步数据
文章插入豆瓣
可以以豆列的方式展示电影、图书、音乐。
默认编辑器
- 编辑器中插入豆瓣展示
- 输入链接回车
其他编辑器
<douban src="https://www.themoviedb.org/movie/667538-transformers-rise-of-the-beasts"></douban>
豆瓣链接
图书展示
https://book.douban.com/subject/34481379
音乐专辑展示
https://music.douban.com/subject/6816154
电影展示
https://movie.douban.com/subject/1292001
游戏展示
http://www.douban.com/game/26817171
舞台剧展示
https://www.douban.com/location/drama/11519197/
TMDB 链接 (基本设置-TMDB API Key)
电影展示
https://www.themoviedb.org/movie/667538-transformers-rise-of-the-beasts
剧集展示
https://www.themoviedb.org/tv/1416-grey-s-anatomy
配置图片代理
location ^~ / {
proxy_pass https://img9.doubanio.com;
proxy_set_header Host img9.doubanio.com;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Referer img9.doubanio.com;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-Proto $scheme;
proxy_http_version 1.1;
add_header X-Cache $upstream_cache_status;
add_header Strict-Transport-Security "max-age=31536000";
add_header Cache-Control no-cache;
}
1p面板方式搭建