mirror of
https://github.com/Wanxp/obsidian-douban.git
synced 2026-04-05 01:03:23 +08:00
feat(attachments): add template support for attachment folder support
Signed-off-by: Ruins He <lyhypacm@gmail.com>
This commit is contained in:
parent
5c5b1b6348
commit
561e42fe73
@ -506,6 +506,8 @@ export default abstract class DoubanAbstractLoadHandler<T extends DoubanSubject>
|
|||||||
if (!folder) {
|
if (!folder) {
|
||||||
folder = DEFAULT_SETTINGS.attachmentPath;
|
folder = DEFAULT_SETTINGS.attachmentPath;
|
||||||
}
|
}
|
||||||
|
folder = this.parsePartText(folder, extract, context)
|
||||||
|
|
||||||
const referHeaders = {'referer': image};
|
const referHeaders = {'referer': image};
|
||||||
if ((syncConfig ? syncConfig.cacheHighQuantityImage : context.settings.cacheHighQuantityImage) && context.userComponent.isLogin()) {
|
if ((syncConfig ? syncConfig.cacheHighQuantityImage : context.settings.cacheHighQuantityImage) && context.userComponent.isLogin()) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user