feat: update popular category
This commit is contained in:
parent
cf1c9c98ff
commit
2bc803800a
|
|
@ -6,9 +6,14 @@ const HOME_PAGE = 'https://apnews.com';
|
|||
|
||||
export const route: Route = {
|
||||
path: '/topics/:topic?',
|
||||
categories: ['traditional-media'],
|
||||
categories: ['traditional-media', 'popular'],
|
||||
example: '/apnews/topics/apf-topnews',
|
||||
parameters: { topic: 'Topic name, can be found in URL. For example: the topic name of AP Top News [https://apnews.com/apf-topnews](https://apnews.com/apf-topnews) is `apf-topnews`, `trending-news` by default' },
|
||||
parameters: {
|
||||
topic: {
|
||||
description: 'Topic name, can be found in URL. For example: the topic name of AP Top News [https://apnews.com/apf-topnews](https://apnews.com/apf-topnews) is `apf-topnews`',
|
||||
default: 'trending-news',
|
||||
},
|
||||
},
|
||||
features: {
|
||||
requireConfig: false,
|
||||
requirePuppeteer: false,
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ export const route: Route = {
|
|||
},
|
||||
],
|
||||
requirePuppeteer: false,
|
||||
antiCrawler: true,
|
||||
antiCrawler: false,
|
||||
supportBT: false,
|
||||
supportPodcast: false,
|
||||
supportScihub: false,
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ export const route: Route = {
|
|||
features: {
|
||||
requireConfig: false,
|
||||
requirePuppeteer: false,
|
||||
antiCrawler: true,
|
||||
antiCrawler: false,
|
||||
supportBT: false,
|
||||
supportPodcast: false,
|
||||
supportScihub: false,
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const urlRegex = /(https?:\/\/[^\s"'<>]+)/g;
|
|||
|
||||
export const route: Route = {
|
||||
path: '/topic/:id/:showUid?',
|
||||
categories: ['social-media', 'popular'],
|
||||
categories: ['social-media'],
|
||||
example: '/jike/topic/556688fae4b00c57d9dd46ee',
|
||||
parameters: { id: '圈子 id, 可在即刻 web 端圈子页或 APP 分享出来的圈子页 URL 中找到', showUid: '是否在内容中显示用户信息,设置为 1 则开启' },
|
||||
features: {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { parseDate } from '@/utils/parse-date';
|
|||
|
||||
export const route: Route = {
|
||||
path: '/user/:id',
|
||||
categories: ['social-media', 'popular'],
|
||||
categories: ['social-media'],
|
||||
example: '/jike/user/3EE02BC9-C5B3-4209-8750-4ED1EE0F67BB',
|
||||
parameters: { id: '用户 id, 可在即刻分享出来的单条动态页点击用户头像进入个人主页,然后在个人主页的 URL 中找到,或者在单条动态页使用 RSSHub Radar 插件' },
|
||||
features: {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import path from 'node:path';
|
|||
|
||||
export const route: Route = {
|
||||
path: '/:category/:topic?',
|
||||
categories: ['traditional-media'],
|
||||
categories: ['traditional-media', 'popular'],
|
||||
example: '/reuters/world/us',
|
||||
parameters: { category: 'find it in the URL, or tables below', topic: 'find it in the URL, or tables below' },
|
||||
features: {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import type { Namespace } from '@/types';
|
||||
|
||||
export const namespace: Namespace = {
|
||||
name: 'Reuters 路透社',
|
||||
name: 'Reuters',
|
||||
url: 'reuters.com',
|
||||
description: `:::tip
|
||||
You can use \`sophi=true\` query parameter to invoke the **experimental** method, which can, if possible, fetch more articles(between 20 and 100) with \`limit\` given. But some articles from the old method might not be available.
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ const baseUrl = 'https://sehuatang.org/';
|
|||
|
||||
export const route: Route = {
|
||||
path: '/user/:uid',
|
||||
categories: ['multimedia', 'popular'],
|
||||
categories: ['multimedia'],
|
||||
example: '/sehuatang/user/411096',
|
||||
parameters: { uid: '用户 uid, 可在用户主页 URL 中找到' },
|
||||
features: {
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ function judgeTrue(str, ...validStrings) {
|
|||
|
||||
export const route: Route = {
|
||||
path: ['/:type/:id/:all/:shownote?'],
|
||||
categories: ['multimedia', 'popular'],
|
||||
categories: ['multimedia'],
|
||||
example: '/ximalaya/album/299146',
|
||||
parameters: { type: '专辑类型, 通常可以使用 `album`,可在对应专辑页面的 URL 中找到', id: '专辑 id, 可在对应专辑页面的 URL 中找到', all: '是否需要获取全部节目,填入 `1`、`true`、`all` 视为获取所有节目,填入其他则不获取。' },
|
||||
features: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue