Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nilaoda authored Jun 11, 2019
1 parent 15568f9 commit 2a61b61
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,11 @@ URL输入框可接受txt文件路径或文件夹拖入以进行批量下载:
txt文件格式为每行一个m3u8地址;
文件夹内存在若干m3u8文件。
## JS获取腾讯视频、优酷m3u8
腾讯视频
```
javascript:prompt(videoPlayer.getData()._videoData.title,Array.reverse(Array.from(videoPlayer.getData()._playlistData.stream))[0].m3u8_url);
```

![录屏](https://i.loli.net/2019/06/11/5cff32193455f17147.gif)
优酷
```
javascript:prompt(PLAYER._DownloadMonitor.context.dataset.title,PLAYER._DownloadMonitor.context.dataset.currentVideoUrl);
```

![录屏](https://i.loli.net/2019/06/11/5cff3233336d339889.gif)

0 comments on commit 2a61b61

Please sign in to comment.