mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2026-03-22 06:57:16 +08:00
@@ -1,8 +1,9 @@
|
||||
**项目更新内容:**
|
||||
|
||||
1. 修改 API 模式默认端口为 `5556`
|
||||
2. 优化提取链接的正则表达式
|
||||
3. 支持音乐图集作品下载
|
||||
1. 修复部分图文作品下载失败的问题
|
||||
2. 修改 API 模式默认端口为 `5556`
|
||||
3. 优化提取链接的正则表达式
|
||||
4. 支持音乐图集作品下载
|
||||
|
||||
*****
|
||||
|
||||
@@ -11,4 +12,5 @@
|
||||
**版本号:2.0.2**
|
||||
|
||||
1. 修复单张图片的作品下载后文件损坏问题
|
||||
2. 修复用户脚本 CSS 样式冲突问题
|
||||
2. 修复部分图文作品下载失败的问题
|
||||
3. 修复用户脚本 CSS 样式冲突问题
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// ==UserScript==
|
||||
// @name XHS-Downloader
|
||||
// @namespace https://github.com/JoeanAmier/XHS-Downloader
|
||||
// @version 2.0.2
|
||||
// @version 2.0.3
|
||||
// @description 提取小红书作品/用户链接,下载小红书无水印图文/视频作品文件
|
||||
// @author JoeanAmier
|
||||
// @match http*://xhslink.com/*
|
||||
@@ -158,7 +158,7 @@ XHS-Downloader 用户脚本 详细说明:
|
||||
images.forEach((item) => {
|
||||
let match = item.urlDefault.match(regex);
|
||||
if (match && match[1]) {
|
||||
urls.push(`https://ci.xiaohongshu.com/${match[1]}?imageView2/format/png`);
|
||||
urls.push(`https://ci.xiaohongshu.com/${match[1]}?imageView2/format/png?`);
|
||||
}
|
||||
})
|
||||
return urls
|
||||
|
||||
Reference in New Issue
Block a user