mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🐞 fix: 修复 xhs 的discovery链接
This commit is contained in:
parent
7587272dcd
commit
c0a2dff975
@ -1052,6 +1052,9 @@ export class tools extends plugin {
|
|||||||
|| /(http:|https:)\/\/www\.xiaohongshu\.com\/explore\/(\w+)/.exec(
|
|| /(http:|https:)\/\/www\.xiaohongshu\.com\/explore\/(\w+)/.exec(
|
||||||
e.msg,
|
e.msg,
|
||||||
)?.[0]
|
)?.[0]
|
||||||
|
|| /(http:|https:)\/\/www\.xiaohongshu\.com\/discovery\/item\/(\w+)/.exec(
|
||||||
|
e.msg,
|
||||||
|
)?.[0]
|
||||||
// 注入ck
|
// 注入ck
|
||||||
XHS_NO_WATERMARK_HEADER.cookie = this.xiaohongshuCookie;
|
XHS_NO_WATERMARK_HEADER.cookie = this.xiaohongshuCookie;
|
||||||
// 解析短号
|
// 解析短号
|
||||||
|
Loading…
x
Reference in New Issue
Block a user