From 1c21be5e77d091cefb6355682c581e056c2ac2dc Mon Sep 17 00:00:00 2001 From: wxs Date: Fri, 13 Mar 2026 20:54:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(pugongying):=20=E4=B8=BA=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=AF=B7=E6=B1=82=E6=B7=BB=E5=8A=A0=20API=20?= =?UTF-8?q?Key=20=E8=AE=A4=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- pugongying/xhs-pgy-export.user.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pugongying/xhs-pgy-export.user.js b/pugongying/xhs-pgy-export.user.js index 5d7db97..a54f3d2 100644 --- a/pugongying/xhs-pgy-export.user.js +++ b/pugongying/xhs-pgy-export.user.js @@ -29,13 +29,19 @@ namespace: "dataSummary", buildUrl: (userId) => `${PROXY_API_BASE}/v1/pugongying/data_summary?userId=${encodeURIComponent(userId)}`, - extraHeaders: () => ({ "X-Cookie": root.document.cookie }), + extraHeaders: () => ({ + "X-Cookie": root.document.cookie, + "Authorization": "Bearer PsjpalaBZF2EVIyU5M7V9KHzUstOIN82LyMn9nqLekExyxIBnjjURlMKMDBSZwrG", + }), }, { namespace: "fansSummary", buildUrl: (userId) => `${PROXY_API_BASE}/v1/pugongying/fans_summary?userId=${encodeURIComponent(userId)}`, - extraHeaders: () => ({ "X-Cookie": root.document.cookie }), + extraHeaders: () => ({ + "X-Cookie": root.document.cookie, + "Authorization": "Bearer PsjpalaBZF2EVIyU5M7V9KHzUstOIN82LyMn9nqLekExyxIBnjjURlMKMDBSZwrG", + }), }, ]; const NAMESPACE_LABEL_MAP = {