1、视频下载失败-403,重新切换其他下载地址尝试下载

2、支持动态视频下载(抖音里面属于图文-但是又不是图文)--实际是多个视频组合的这种。(没有将视频做合并的计划)
This commit is contained in:
jianzhichu
2025-12-07 23:09:02 +08:00
parent 123124bb51
commit 41e2bf6ce0
11 changed files with 374 additions and 47 deletions
+6 -1
View File
@@ -82,7 +82,12 @@ namespace dy.net.model
/// 去重优先级配置,json字符串格式存储
/// </summary>
[SugarColumn(Length = 500, IsNullable = true)]
public string PriorityLevel { get; set; }// = "[{\"id\":1,\"name\":\"喜欢的视频\",\"sort\":1},{\"id\":2,\"name\":\"收藏的视频\",\"sort\":2},{\"id\":3,\"name\":\"关注的视频\",\"sort\":3}]";
public string PriorityLevel { get; set; }
/// <summary>
/// 是否下载动态图视频
/// </summary>
public bool DownDynamicVideo { get; set; }
}
}
+6 -1
View File
@@ -70,7 +70,7 @@ namespace dy.net.model
/// <summary>
/// 视频地址(解析会有多个取第一个)
/// </summary>
[SugarColumn(Length =0200,IsNullable =true)]
[SugarColumn(Length =2000,IsNullable =true)]
public string VideoUrl { get; set; }
/// <summary>
/// 视频下载后保存路径
@@ -149,5 +149,10 @@ namespace dy.net.model
[SugarColumn(IsIgnore = true)]
public string ViedoCate =>(string.IsNullOrWhiteSpace(Tag1) ? "" : Tag1) + "/" + (string.IsNullOrWhiteSpace(Tag2) ? "" : Tag2);
// 普通字符串字段,显式标记为 SQLite TEXT 类型
[SugarColumn(ColumnDataType = "TEXT", Length = -1)]
public string DynamicVideos { get; set; }
}
}