Skip to content

Commit

Permalink
update v2.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nICEnnnnnnnLee committed Oct 9, 2022
1 parent e1c03ca commit dcb3c82
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 14 deletions.
4 changes: 3 additions & 1 deletion .github/release.info
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
* 将POST方式查询视频源时的HTTP连接超时时间改为20s
* 修复[#94](https://github.com/nICEnnnnnnnLee/BilibiliLiveRecorder/issues/94), 修复YY直播
* 修复[#93](https://github.com/nICEnnnnnnnLee/BilibiliLiveRecorder/issues/93), 抖音直播新增另一种备用解析方式, 注意`liver=douyin2`, cookie文件名为`douyin2-cookie.txt`
* 修复抖音直播传入短链接`https://v.douyin.com/xxxx`的解析方式
4 changes: 2 additions & 2 deletions .github/release.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"tag_main": "2.20.0",
"tag_latest": "2.20.0"
"tag_main": "2.21.0",
"tag_latest": "2.21.0"
}
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,13 @@ Go go go, Bilibili Pikachu!
| ------------- | ------------- | ------------- |
| douyu | 2022/09/25 | `flv`清晰度可多选,但部分高清需要cookie |
| kuaishou | 2022/09/25 | `flv`清晰度可多选,必须要cookie(可以不登录,只需要过了拖拽验证即可) |
| douyin | 2022/08/08 | `flv`清晰度可多选,必须要cookie(可以不登录,只需要过了拖拽验证即可。没有测试移动端限定独播)。id为`https://live.douyin.com/1234567`后面的那串数字,也可以直接输入短网址类型`https://v.douyin.com/xxxx` |
| douyin | 2022/10/09 | `flv`清晰度可多选,必须要cookie(可以不登录,只需要过了拖拽验证即可)。id为`https://live.douyin.com/1234567`后面的那串数字,也可以直接输入短网址类型`https://v.douyin.com/xxxx` |
| douyin2 | 2022/10/09 | 抖音的另一种解析方式,前者失败后可以尝试。`flv`清晰度可多选,必须要cookie(可以不登录,只需要过了拖拽验证即可)。id为`https://live.douyin.com/1234567`后面的那串数字,也可以直接输入短网址类型`https://v.douyin.com/xxxx` |
| yy | 2022/10/09 | `flv`清晰度可多选,必须要cookie(可以不登录,只需要过了拖拽验证即可) |
| huya | 2022/08/30 | `flv`清晰度可多选,可不需要cookie。部分视频时间戳校正后声音会变形,ffmpeg处理后正常 |
| acfun | 2022/09/25 | `flv`清晰度可多选,可不需要cookie |
| bili | 2021/11/14 | `flv`清晰度可多选,可不需要cookie |
| zhanqi | 2019/06/30 | `flv`清晰度可多选,可不需要cookie |
| yy | 2019/06/15 | `flv`只支持默认清晰度 |
| huajiao | 2019/06/02 | `flv`只支持默认清晰度(似乎只有一种清晰度) |

<details>
Expand Down Expand Up @@ -275,7 +276,7 @@ or传入参数: qnPri=蓝光4M>蓝光

## :smile:LICENSE
```
Copyright (C) 2019 NiceLee. All Rights Reserved.
Copyright (C) 2019-2022 NiceLee. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
5 changes: 5 additions & 0 deletions UPDATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
## 更新
+ V2.21.0
* 修复[#94](https://github.com/nICEnnnnnnnLee/BilibiliLiveRecorder/issues/94), 修复YY直播
* 修复[#93](https://github.com/nICEnnnnnnnLee/BilibiliLiveRecorder/issues/93), 抖音直播新增另一种备用解析方式, 注意`liver=douyin2`, cookie文件名为`douyin2-cookie.txt`
* 修复抖音直播传入短链接`https://v.douyin.com/xxxx`的解析方式

+ V2.20.0
* 将POST方式查询视频源时的HTTP连接超时时间改为20s
+ V2.19.0
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>top.nicelee</groupId>
<artifactId>live-record</artifactId>
<version>2.20.0</version>
<version>2.21.0</version>
<name>iLiveRecord</name>
<description>B站、Acfun、斗鱼、虎牙、快手、抖音直播录制</description>
<properties>
Expand Down
15 changes: 8 additions & 7 deletions src/main/java/nicelee/bilibili/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

public class Main {

final static String version = "v2.20.0";
final static String version = "v2.21.0";
public static Thread thRecord;
public static Thread thMonitor;
public static Thread thCommand;
Expand All @@ -31,15 +31,16 @@ public static void main(String[] args) throws IOException {
// "plugin=true&debug=false&check=true&retryAfterMinutes=0.5&retryIfLiveOff=true&liver=douyu&qnPri=蓝光4M>高清>蓝光8M>超清>蓝光>流畅&qn=-1&id=262537&fileName=测试{liver}-{name}-{startTime}-{endTime}-{seq}&" }; // 清晰度全部可选,但部分高清需要cookie
// args = new String[] { "debug=true&check=true&liver=kuaishou&id=3xh62hmw79fmc32&qn=0&delete=false&fileName=测试{liver}-{name}-{startTime}-{endTime}-{seq}&timeFormat=yyyyMMddHHmm" }; // 清晰度全部可选,可不需要cookie
// args = new String[]{"debug=true&check=true&liver=huya&id=11342412"}; // 清晰度全部可选,可不需要cookie
// args = new String[]{"debug=true&check=true&liver=yy&id=28581146&qn=1"}; // 只支持默认清晰度 54880976
// args = new String[]{"debug=true&check=false&liver=yy&id=1355306560"}; // 清晰度全部可选,可不需要cookie
// args = new String[]{"debug=true&check=true&liver=yy&id=28581146"}; // 清晰度全部可选,可不需要cookie
// args = new String[]{"debug=true&check=true&liver=yy&id=29216766"}; // 清晰度全部可选,可不需要cookie
// args = new String[] { "debug=true&check=true&liver=zhanqi&id=90god" }; // 清晰度全部可选,可不需要cookie 90god huashan ydjs
// args = new String[] { "debug=true&check=true&liver=huajiao&id=278581432&qn=1" }; // 只支持默认清晰度(似乎只有一种清晰度)
// args = new String[] { "debug=true&check=true&liver=acfun&id=378269" };
// args = new String[]{"debug=true&liver=douyin&id=https://v.douyin.com/dFfDBcU&delete=false&check=false"}; // 清晰度全部可选,可不需要cookie
// args = new String[]{"debug=true&liver=douyin&id=448984890564&delete=false&check=false"}; // 清晰度全部可选,可不需要cookie
// args = new String[]{"debug=true&liver=douyin&id=https://v.douyin.com/EQBYoH&delete=false&check=false"}; // 清晰度全部可选,可不需要cookie
// args = new String[] { "debug=true&liver=douyin_web&id=https://v.douyin.com/EQBYoH&delete=false&check=false" }; // 清晰度全部可选,可不需要cookie
// args = new String[]{"debug=true&liver=douyin_web&id=227807351025&delete=false&check=false"}; // 清晰度全部可选,可不需要cookie
// args = new String[]{"debug=true&liver=douyin&id=https://v.douyin.com/dFfDBcU&delete=false&check=false"}; // 清晰度全部可选,需要跳过验证的cookie
// args = new String[]{"debug=true&liver=douyin&id=448984890564&delete=false&check=false"}; // 清晰度全部可选,需要跳过验证的cookie
// args = new String[]{"debug=true&liver=douyin&id=https://v.douyin.com/EQBYoH&delete=false&check=false"}; // 清晰度全部可选,需要跳过验证的cookie
// args = new String[]{"debug=true&liver=douyin2&id=814607739589&delete=false&check=false"}; // 清晰度全部可选,需要跳过验证的cookie

final Plugin plugin = new Plugin();
if (args != null && args[0].contains("plugin=true")) {
Expand Down

0 comments on commit dcb3c82

Please sign in to comment.