mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
微博解析增加对文章的判断
This commit is contained in:
parent
dec52457e0
commit
50c512d873
@ -957,6 +957,8 @@ export class tools extends plugin {
|
||||
if (page_info) {
|
||||
// 视频
|
||||
const videoUrl = page_info.urls?.mp4_720p_mp4 || page_info.urls?.mp4_hd_mp4;
|
||||
// 文章
|
||||
if (!videoUrl) return true
|
||||
try {
|
||||
this.downloadVideo(videoUrl, false, {
|
||||
"User-Agent":
|
||||
|
Loading…
x
Reference in New Issue
Block a user