diff --git a/package.json b/package.json index 6310580..c294566 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bilibili-downloader", - "version": "1.0.6", + "version": "1.0.7", "description": "B 站个人动态视频下载助手,支持下载B站个人动态更新的4k视频,运行该程序后,你所关注的UP主更新的视频第一时间下载保存。", "main": "./dist/index.js", "scripts": { diff --git a/src/core/url.ts b/src/core/url.ts index 53e2407..69e5b92 100644 --- a/src/core/url.ts +++ b/src/core/url.ts @@ -2,7 +2,7 @@ * @Author : Zhelin Cheng * @Date : 2021-04-10 17:35:02 * @LastEditors : Zhelin Cheng - * @LastEditTime : 2021-04-24 14:22:43 + * @LastEditTime : 2021-04-24 19:52:41 * @FilePath : \bilibili-downloader\src\core\url.ts * @Description : 未添加文件描述 */ @@ -477,7 +477,7 @@ export const getVideosUrl = async (): Promise => { let isNeed = // 判断是否符合条件 - ((isTopic >= 0 && isCard) || isIncludeUid) && + (isTopic >= 0 || isCard || isIncludeUid) && // 判断是否需要下载 timeout < timestamp && !notes.includes(bvid) && @@ -488,6 +488,7 @@ export const getVideosUrl = async (): Promise => { isNeed = !excludeUid.has(userId); } + // console.log(uname, isTopic, isCard, isIncludeUid, isNeed) if (isNeed) { isDownload = true; await db