Skip to content

Commit

Permalink
fix #7 重写获取信息的正则表达式
Browse files Browse the repository at this point in the history
  • Loading branch information
nICEnnnnnnnLee committed Mar 7, 2020
1 parent 5dcd27d commit b8886da
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 115 deletions.
23 changes: 4 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ AcFun 视频下载器,用于下载A站视频。
+ 支持断点续传下载!!!!!(因异常原因退出后, 只要下载目录不变, 直接在上次基础上继续下载)

## :smile:免责声明
本项目为基于浏览器行为的个性化定制工具,其功能是**为A站用户提供其可接触权限内的内容的离线保存**,涉及到的多媒体内容版权归其所有者所有。
用户对多媒体资源的剪辑、再发布等任何行为,均应确保获得所有者授权。
作者对使用此工具或基于此工具的二次开发所产生的任何行为概不负责。
+ 本项目为基于浏览器行为的个性化定制工具,其功能是**为A站用户提供其可接触权限内的内容的离线保存**,涉及到的多媒体内容版权归其所有者所有。
+ 用户对多媒体资源的剪辑、再发布等任何行为,均应确保获得所有者授权。
+ 作者对使用此工具或基于此工具的二次开发所产生的任何行为概不负责。

## :smile:第三方库使用声明
* 使用[JSON.org](https://github.com/stleary/JSON-java)库做简单的Json解析[![](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/stleary/JSON-java/blob/master/LICENSE)
Expand All @@ -42,27 +42,12 @@ AcFun 视频下载器,用于下载A站视频。
## :smile:其它
* **下载地址**: [https://github.com/nICEnnnnnnnLee/AcFunDown/releases](https://github.com/nICEnnnnnnnLee/AcFunDown/releases)
* **GitHub**: [https://github.com/nICEnnnnnnnLee/AcFunDown](https://github.com/nICEnnnnnnnLee/AcFunDown)
* **Gitee码云**: [https://gitee.com/NiceLeee/AcFunDown](https://gitee.com/NiceLeee/AcFunDown)
* [**更新日志**](https://github.com/nICEnnnnnnnLee/AcFunDown/blob/master/UPDATE.md)

<details>
<summary>LICENSE</summary>


[第三方LICENSE](https://github.com/nICEnnnnnnnLee/AcFunDown/tree/master/release/LICENSE/third-party)
```
Copyright (C) 2019 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.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
GPL 3.0
</details>
2 changes: 2 additions & 0 deletions UPDATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## UPDATE
* v0.8
* fix [issue #7](https://github.com/nICEnnnnnnnLee/AcFunDown/issues/7)重写获取信息的正则表达式
* v0.7
* fix [issue #6](https://github.com/nICEnnnnnnnLee/AcFunDown/issues/6)修复AcFun番剧清晰度错误的问题
* v0.6
Expand Down
2 changes: 1 addition & 1 deletion src/nicelee/acfun/parsers/impl/AbstractBaseParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public AbstractBaseParser(Object... obj) {
* @return
*/
private final static Pattern pVideoInfo = Pattern
.compile("window\\.videoInfo ?= ?(.*);[ \n]+window\\.addEventListener");
.compile("window\\.videoInfo ?= ?(.*?});");

protected VideoInfo getAVDetail(String avId, int videoFormat, boolean getVideoLink) {
VideoInfo viInfo = new VideoInfo();
Expand Down
94 changes: 0 additions & 94 deletions src/nicelee/acfun/util/net/WebSocket.java

This file was deleted.

2 changes: 1 addition & 1 deletion src/nicelee/ui/Global.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

public class Global {
// 界面显示相关
public static String version = "v0.7";
public static String version = "v0.8";
public static boolean themeDefault = true;

public static boolean isAlertIfDownloded = true;
Expand Down

0 comments on commit b8886da

Please sign in to comment.