mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix(route): furaffinity user (#7009)
This commit is contained in:
@@ -38,7 +38,7 @@ pageClass: routes
|
||||
|
||||
### Home
|
||||
|
||||
<RouteEn author="TigerCubDen" example="/furaffinity/home" path="/furaffinity/:type?/:nsfw?" :paramsDesc="['Art Type, default to be `artwork`', 'NSFW Mode, do not filter NSFW contents when value set to `1`']" radar="1">
|
||||
<RouteEn author="TigerCubDen" example="/furaffinity/home" path="/furaffinity/home/:type?/:nsfw?" :paramsDesc="['Art Type, default to be `artwork`', 'NSFW Mode, do not filter NSFW contents when value set to `1`']" radar="1">
|
||||
|
||||
Type
|
||||
|
||||
@@ -50,7 +50,7 @@ Type
|
||||
|
||||
### Browse
|
||||
|
||||
<RouteEn author="TigerCubDen" example="/furaffinity/browse" path="/furaffinity/:nsfw?" :paramsDesc="['NSFW Mode, do not filter NSFW contents when value set to `1`']" radar="1"/>
|
||||
<RouteEn author="TigerCubDen" example="/furaffinity/browse" path="/furaffinity/browse/:nsfw?" :paramsDesc="['NSFW Mode, do not filter NSFW contents when value set to `1`']" radar="1"/>
|
||||
|
||||
### Website Status
|
||||
|
||||
@@ -62,7 +62,7 @@ Type
|
||||
|
||||
### Search
|
||||
|
||||
<RouteEn author="TigerCubDen" example="/furaffinity/search/tiger" path="/furaffinity/:keyword/:nsfw?" :paramsDesc="['Search keyword, enter any words you want to search, require English', 'NSFW Mode,do not filter NSFW contents when value set to `1`']" radar="1"/>
|
||||
<RouteEn author="TigerCubDen" example="/furaffinity/search/tiger" path="/furaffinity/search/:keyword/:nsfw?" :paramsDesc="['Search keyword, enter any words you want to search, require English', 'NSFW Mode,do not filter NSFW contents when value set to `1`']" radar="1"/>
|
||||
|
||||
### User's Watching List
|
||||
|
||||
|
||||
@@ -330,7 +330,7 @@ Tiny Tiny RSS 会给所有 iframe 元素添加 `sandbox="allow-scripts"` 属性
|
||||
|
||||
### 主页
|
||||
|
||||
<Route author="TigerCubDen" example="/furaffinity/home" path="/furaffinity/:type?/:nsfw?" :paramsDesc="['类型,默认为 `artwork`', 'NSFW开关, 当值为 `1` 时不过滤NSFW内容']" radar="1">
|
||||
<Route author="TigerCubDen" example="/furaffinity/home" path="/furaffinity/home/:type?/:nsfw?" :paramsDesc="['类型,默认为 `artwork`', 'NSFW开关, 当值为 `1` 时不过滤NSFW内容']" radar="1">
|
||||
|
||||
类型 type
|
||||
|
||||
@@ -342,7 +342,7 @@ Tiny Tiny RSS 会给所有 iframe 元素添加 `sandbox="allow-scripts"` 属性
|
||||
|
||||
### 浏览
|
||||
|
||||
<Route author="TigerCubDen" example="/furaffinity/browse" path="/furaffinity/:nsfw?" :paramsDesc="['NSFW开关, 当值为 `1` 时不过滤NSFW内容']" radar="1"/>
|
||||
<Route author="TigerCubDen" example="/furaffinity/browse" path="/furaffinity/browse/:nsfw?" :paramsDesc="['NSFW开关, 当值为 `1` 时不过滤NSFW内容']" radar="1"/>
|
||||
|
||||
### 站点状态
|
||||
|
||||
@@ -350,7 +350,7 @@ Tiny Tiny RSS 会给所有 iframe 元素添加 `sandbox="allow-scripts"` 属性
|
||||
|
||||
### 搜索
|
||||
|
||||
<Route author="TigerCubDen" example="/furaffinity/search/tiger" path="/furaffinity/:keyword/:nsfw?" :paramsDesc="['搜索关键词,仅限英文搜索', 'NSFW开关, 当值为 `1` 时不过滤NSFW内容']" radar="1"/>
|
||||
<Route author="TigerCubDen" example="/furaffinity/search/tiger" path="/furaffinity/search/:keyword/:nsfw?" :paramsDesc="['搜索关键词,仅限英文搜索', 'NSFW开关, 当值为 `1` 时不过滤NSFW内容']" radar="1"/>
|
||||
|
||||
### 用户主页简介
|
||||
|
||||
@@ -374,7 +374,7 @@ Tiny Tiny RSS 会给所有 iframe 元素添加 `sandbox="allow-scripts"` 属性
|
||||
|
||||
### 用户的日记
|
||||
|
||||
<Route author="TigerCubDen" example="/furaffinity/journals/rukis" path="/furaffinity/shouts/:username" :paramsDesc="['用户名, 可在用户主页的链接处找到']" radar="1"/>
|
||||
<Route author="TigerCubDen" example="/furaffinity/journals/rukis" path="/furaffinity/journals/:username" :paramsDesc="['用户名, 可在用户主页的链接处找到']" radar="1"/>
|
||||
|
||||
### 用户的创作画廊
|
||||
|
||||
|
||||
@@ -48,10 +48,10 @@ module.exports = async (ctx) => {
|
||||
const favorites_food = artist_information['Favorite Food'];
|
||||
|
||||
const contact_information = data.contact_information;
|
||||
let contact_result = 'null';
|
||||
let contact_result = 'none <br> <br> ';
|
||||
|
||||
// 对一个或多个用户联系方式进行遍历
|
||||
if (contact_information !== 'null') {
|
||||
if (contact_information) {
|
||||
contact_result = '';
|
||||
for (let i = 0; i < contact_information.length; i++) {
|
||||
for (const j in contact_information[i]) {
|
||||
|
||||
Reference in New Issue
Block a user