diff --git a/assets/radar-rules.js b/assets/radar-rules.js index 8c27c3a925..48b5292ecb 100644 --- a/assets/radar-rules.js +++ b/assets/radar-rules.js @@ -2757,7 +2757,12 @@ title: '搜索', docs: 'https://docs.rsshub.app/social-media.html#fur-affinity', source: '/search/', - target: (params, url) => `/furaffinity/search/${new URL(url).searchParams.get('q')}`, + target: (params, url) => { + const keyword = new URL(url).searchParams.get('q'); + if (keyword) { + return `/furaffinity/search/${keyword}`; + } + }, }, { title: '用户主页简介', @@ -2784,10 +2789,10 @@ target: '/furaffinity/commissions/:username', }, { - title: '用户的Shouts留言', + title: '用户的 Shouts 留言', docs: 'https://docs.rsshub.app/social-media.html#fur-affinity', source: '/user/:username/', - target: '/furaffinity/user/:username', + target: '/furaffinity/shouts/:username', }, { title: '用户的日记', diff --git a/docs/en/social-media.md b/docs/en/social-media.md index 00784d53b8..28a67a676d 100644 --- a/docs/en/social-media.md +++ b/docs/en/social-media.md @@ -38,7 +38,7 @@ pageClass: routes ### Home - + Type @@ -50,7 +50,7 @@ Type ### Browse - + ### Website Status @@ -58,51 +58,51 @@ Type ### Userpage Profile - + ### Search - + ### User's Watching List - + ### User's Watcher List - + ### User's Commission Information - + ### User's Shouts - + ### User's Journals - + ### User's Gallery - + ### User's Scraps - + ### User's Favorites - + ### Submission Comments - + ### Journal Comments - + ## Gab diff --git a/docs/social-media.md b/docs/social-media.md index 05dcd32de4..84c66be6a6 100644 --- a/docs/social-media.md +++ b/docs/social-media.md @@ -324,7 +324,7 @@ Tiny Tiny RSS 会给所有 iframe 元素添加 `sandbox="allow-scripts"` 属性 ### 主页 - + 类型 type