diff --git a/BBDown/BBDown.csproj b/BBDown/BBDown.csproj index c9a6983a2..8a5f79334 100644 --- a/BBDown/BBDown.csproj +++ b/BBDown/BBDown.csproj @@ -3,7 +3,7 @@ <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>netcoreapp3.1</TargetFramework> - <Version>1.2.1</Version> + <Version>1.2.2</Version> <Description>BBDown是一个免费且便捷高效的哔哩哔哩下载/解析软件.</Description> </PropertyGroup> diff --git a/BBDown/Program.cs b/BBDown/Program.cs index 7f3427d8b..3df7bb00d 100644 --- a/BBDown/Program.cs +++ b/BBDown/Program.cs @@ -57,7 +57,7 @@ class MyOption public static int Main(params string[] args) { ServicePointManager.DefaultConnectionLimit = 2048; - ServicePointManager.ServerCertificateValidationCallback = delegate + ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, errors) => { return true; }; @@ -546,6 +546,8 @@ private static async Task DoWorkAsync(MyOption myOption) else if (webJson.Contains("\"durl\":[")) //flv { bool flag = false; + //默认以最高清晰度解析 + webJson = GetPlayJson(aid, p.cid, epId, tvApi, bangumi, "120"); reParse: List<string> clips = new List<string>(); List<string> dfns = new List<string>(); diff --git a/README.md b/README.md index 42e09de0d..10accea7a 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,9 @@ Commands: <details> <summary>点击查看详情</summary> +* 2020年8月19日 21:18 + 修复1.2.1中TV模式下没有获取到可用最高清晰度的问题 + * 2020年8月18日 21:19 SSL处理 修正视频发布时间时区问题