{{myComment}}获取数据错误
Opened this issue · 3 comments
CharlesMorgan666 commented
文档里添加了{{myComment}},但当豆瓣评价里没写的情况下,会获取到标签。
我的评价
标签: 小说
Wanxp commented
提供给下模板和电影名称
CharlesMorgan666 commented
------------------ 原始邮件 ------------------
发件人: "Wanxp/obsidian-douban" ***@***.***>;
发送时间: 2023年10月30日(星期一) 中午12:20
***@***.***>;
***@***.******@***.***>;
主题: Re: [Wanxp/obsidian-douban] {{myComment}}获取数据错误 (Issue #82)
提供给下模板和电影名称
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
peytonyip commented
碰到了同样的问题,模板用的这个(电视剧的,书籍和电影的也有这种情况,都是带评分的基本模板加上时间线):
---
doubanId: {{id}}
title: {{title}}
type: {{type}}
score: {{score}}
scoreStar: {{scoreStar}}
myRating: {{myRating}}
myRatingStar: {{myRatingStar}}
originalTitle: {{originalTitle}}
genre: {{genre}}
datePublished: {{datePublished}}
director: {{director}}
actor: {{actor}}
author: {{author}}
tags: {{type}}, 我看过的电视剧, {{myTags}}
state: {{myState}}
url: {{url}}
aliases: {{aliases}}
country: {{country}}
language: {{language}}
IMDb: {{IMDb}}
time: {{time}}
episode: {{episode}}
createTime: {{currentDate}} {{currentTime}}
collectionDate: {{myCollectionDate}}
desc: {{desc}}
---
![image]({{image}})
Comment:
---
{{myComment}}
<span class='ob-timelines' data-date='{{myCollectionDate}}'
data-title='{{title}}' data-img='{{image}}'
data-class = "custom-my-tv-time-line">{{myComment}} |简介: {{desc}}
</span>
有问题的电视剧,基本是有短评的都有问题,这里列举两个:
https://movie.douban.com/subject/34902595/
https://movie.douban.com/subject/34456027/
同时也有名称多了字符的情况: