rsshub 1.0.0-master.e6d4e1e → 1.0.0-master.e6d53dc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/radar/rules/all.ts +3 -6
- package/lib/api/radar/rules/one.ts +3 -6
- package/lib/config.ts +12 -22
- package/lib/errors/index.tsx +1 -1
- package/lib/index.ts +1 -1
- package/lib/middleware/anti-hotlink.test.ts +191 -6
- package/lib/middleware/anti-hotlink.ts +28 -0
- package/lib/middleware/parameter.test.ts +22 -5
- package/lib/middleware/parameter.ts +47 -17
- package/lib/registry.test.ts +8 -0
- package/lib/registry.ts +2 -0
- package/lib/router.js +0 -3
- package/lib/routes/141jav/index.ts +25 -21
- package/lib/routes/141ppv/index.ts +24 -20
- package/lib/routes/51read/article.ts +82 -0
- package/lib/routes/51read/namespace.ts +6 -0
- package/lib/routes/5eplay/utils.ts +5 -3
- package/lib/routes/agri/index.ts +307 -0
- package/lib/routes/agri/namespace.ts +8 -0
- package/lib/routes/agri/templates/description.art +21 -0
- package/lib/routes/aljazeera/index.ts +2 -2
- package/lib/routes/apnews/sitemap.ts +98 -0
- package/lib/routes/apnews/utils.ts +7 -5
- package/lib/routes/autocentre/index.ts +29 -0
- package/lib/routes/autocentre/namespace.ts +7 -0
- package/lib/routes/bilibili/api-interface.d.ts +1 -0
- package/lib/routes/bilibili/cache.ts +3 -1
- package/lib/routes/bilibili/dynamic.ts +7 -9
- package/lib/routes/binance/announcement.ts +168 -0
- package/lib/routes/binance/types.ts +26 -0
- package/lib/routes/bing/daily-wallpaper.ts +1 -1
- package/lib/routes/bjnews/cat.ts +43 -0
- package/lib/routes/bjnews/column.ts +43 -0
- package/lib/routes/bjnews/namespace.ts +6 -0
- package/lib/routes/bjnews/utils.ts +19 -0
- package/lib/routes/bjx/fd.ts +35 -26
- package/lib/routes/buaa/jiaowu.ts +1 -1
- package/lib/routes/buaa/lib/space/newbook.ts +171 -0
- package/lib/routes/buaa/lib/space/templates/newbook.art +44 -0
- package/lib/routes/cccfna/index.ts +2 -2
- package/lib/routes/cctv/category.ts +16 -12
- package/lib/routes/cctv/xwlb.ts +32 -10
- package/lib/routes/cdu/jwgg.ts +79 -0
- package/lib/routes/cdu/namespace.ts +6 -0
- package/lib/routes/cffex/announcement.ts +73 -0
- package/lib/routes/cffex/namespace.ts +6 -0
- package/lib/routes/chlinlearn/daily-blog.ts +55 -0
- package/lib/routes/chlinlearn/namespcae.ts +6 -0
- package/lib/routes/copymanga/comic.ts +3 -1
- package/lib/routes/devolverdigital/blog.ts +59 -42
- package/lib/routes/digitalcameraworld/news.ts +1 -1
- package/lib/routes/discord/channel.ts +10 -10
- package/lib/routes/discord/discord-api.ts +27 -32
- package/lib/routes/discord/templates/message.art +15 -0
- package/lib/routes/discourse/notifications.ts +2 -1
- package/lib/routes/dongqiudi/result.ts +1 -1
- package/lib/routes/eastmoney/report/index.ts +63 -15
- package/lib/routes/eastmoney/templates/stock_description.art +36 -0
- package/lib/routes/eastmoney/utils.ts +35 -0
- package/lib/routes/fediverse/timeline.ts +35 -18
- package/lib/routes/flashcat/blog.ts +61 -0
- package/lib/routes/flashcat/namespace.ts +6 -0
- package/lib/routes/ftm/index.ts +60 -0
- package/lib/routes/ftm/namespace.ts +6 -0
- package/lib/routes/galxe/index.ts +94 -0
- package/lib/routes/galxe/namespace.ts +9 -0
- package/lib/routes/gamersky/ent.ts +57 -0
- package/lib/routes/gamersky/namespace.ts +10 -0
- package/lib/routes/gamersky/news.ts +91 -0
- package/lib/routes/gamersky/review.ts +80 -0
- package/lib/routes/gamersky/utils.ts +94 -0
- package/lib/routes/gdut/oa-news.ts +12 -17
- package/lib/routes/gisreportsonline/index.ts +60 -0
- package/lib/routes/gisreportsonline/namespace.ts +6 -0
- package/lib/routes/github/activity.ts +4 -3
- package/lib/routes/github/search.ts +20 -18
- package/lib/routes/google/research.ts +45 -0
- package/lib/routes/gov/cbirc/index.ts +371 -0
- package/lib/routes/gov/chongqing/sydwgkzp.ts +4 -4
- package/lib/routes/gov/lswz/index.ts +289 -0
- package/lib/routes/gov/zj/ningbogzw-notice.ts +50 -0
- package/lib/routes/gov/zj/ningborsjnotice.ts +50 -0
- package/lib/routes/gq/news.ts +1 -1
- package/lib/routes/gs/developer/blog.ts +58 -0
- package/lib/routes/gs/namespace.ts +9 -0
- package/lib/routes/healthz.ts +8 -0
- package/lib/routes/hket/index.ts +80 -76
- package/lib/routes/hottoys/index.ts +63 -0
- package/lib/routes/hottoys/namespace.ts +6 -0
- package/lib/routes/hust/gs.ts +281 -0
- package/lib/routes/hust/namespace.ts +1 -1
- package/lib/routes/imhcg/blog.ts +47 -0
- package/lib/routes/imhcg/namespace.ts +7 -0
- package/lib/routes/imop/namespace.ts +10 -0
- package/lib/routes/imop/tianshu.ts +53 -0
- package/lib/routes/infzm/hot.ts +39 -0
- package/lib/routes/infzm/index.ts +3 -30
- package/lib/routes/infzm/utils.ts +34 -0
- package/lib/routes/inspirehep/author.ts +46 -0
- package/lib/routes/inspirehep/literature.ts +42 -0
- package/lib/routes/inspirehep/namespace.ts +7 -0
- package/lib/routes/inspirehep/types.ts +210 -0
- package/lib/routes/inspirehep/utils.ts +15 -0
- package/lib/routes/iwara/subscriptions.ts +1 -1
- package/lib/routes/javdb/actors.ts +6 -2
- package/lib/routes/joins/chinese.ts +218 -0
- package/lib/routes/joins/namespace.ts +8 -0
- package/lib/routes/joins/templates/description.art +17 -0
- package/lib/routes/juejin/dynamic.ts +114 -0
- package/lib/routes/kaopu/news.ts +3 -3
- package/lib/routes/kemono/index.ts +21 -0
- package/lib/routes/keylol/index.ts +56 -11
- package/lib/routes/kurogames/namespace.ts +7 -0
- package/lib/routes/kurogames/wutheringwaves/news.ts +59 -0
- package/lib/routes/link3/events.ts +86 -0
- package/lib/routes/link3/namespace.ts +6 -0
- package/lib/routes/link3/profile.ts +143 -0
- package/lib/routes/linkedin/cn/renderer.ts +1 -1
- package/lib/routes/lmu/jobs.ts +96 -0
- package/lib/routes/lmu/namespace.ts +17 -0
- package/lib/routes/lmu/templates/jobPosting.art +11 -0
- package/lib/routes/mcmod/index.ts +105 -0
- package/lib/routes/mcmod/namespace.ts +6 -0
- package/lib/routes/mcmod/templates/mod.art +13 -0
- package/lib/routes/misskey/user-timeline.ts +42 -0
- package/lib/routes/misskey/utils.ts +41 -1
- package/lib/routes/nationalgeographic/latest-stories.ts +1 -1
- package/lib/routes/nationalgeographic/templates/stories.art +1 -1
- package/lib/routes/newyorker/news.ts +24 -17
- package/lib/routes/oschina/news.ts +2 -0
- package/lib/routes/people/index.ts +4 -2
- package/lib/routes/picnob/user.ts +11 -3
- package/lib/routes/pixiv/search.ts +20 -1
- package/lib/routes/pixiv/utils.ts +3 -3
- package/lib/routes/psyche/topic.ts +1 -1
- package/lib/routes/psyche/type.ts +1 -1
- package/lib/routes/psyche/utils.ts +1 -1
- package/lib/routes/questn/community.ts +76 -0
- package/lib/routes/questn/events.ts +101 -0
- package/lib/routes/questn/namespace.ts +6 -0
- package/lib/routes/questn/util.ts +16 -0
- package/lib/routes/rebase/geekdaily.ts +35 -0
- package/lib/routes/rebase/namespace.ts +6 -0
- package/lib/routes/rss3/index.ts +22 -13
- package/lib/routes/rss3/interfaces/metadata.ts +67 -0
- package/lib/routes/rsshub/routes.ts +18 -12
- package/lib/routes/samd/news.ts +1 -1
- package/lib/routes/sara/index.ts +1 -1
- package/lib/routes/scut/gzic/media.ts +71 -0
- package/lib/routes/scut/gzic/news.ts +65 -0
- package/lib/routes/scut/gzic/notice.ts +88 -0
- package/lib/routes/shiep/config.ts +4 -10
- package/lib/routes/shiep/index.ts +9 -9
- package/lib/routes/showstart/artist.ts +5 -4
- package/lib/routes/showstart/brand.ts +5 -4
- package/lib/routes/showstart/event.ts +8 -7
- package/lib/routes/showstart/search.ts +43 -9
- package/lib/routes/showstart/service.ts +81 -53
- package/lib/routes/showstart/site.ts +41 -0
- package/lib/routes/showstart/utils.ts +9 -8
- package/lib/routes/sis001/author.ts +52 -0
- package/lib/routes/sis001/common.ts +38 -0
- package/lib/routes/sis001/forum.ts +2 -29
- package/lib/routes/sjtu/jwc.ts +4 -1
- package/lib/routes/sjtu/namespace.ts +1 -1
- package/lib/routes/sjtu/seiee/index.ts +97 -0
- package/lib/routes/smzdm/product.ts +86 -0
- package/lib/routes/spotify/show.ts +1 -1
- package/lib/routes/springer/journal.ts +10 -12
- package/lib/routes/sse/sselawsrules.ts +370 -0
- package/lib/routes/sspai/author.ts +1 -1
- package/lib/routes/sspai/column.ts +1 -1
- package/lib/routes/sspai/index.ts +1 -1
- package/lib/routes/sspai/matrix.ts +1 -1
- package/lib/routes/sspai/series-update.ts +1 -1
- package/lib/routes/sspai/tag.ts +1 -1
- package/lib/routes/sspai/topic.ts +1 -1
- package/lib/routes/sustainabilitymag/articles.ts +2 -0
- package/lib/routes/szse/rule.ts +315 -42
- package/lib/routes/t66y/index.ts +29 -7
- package/lib/routes/taoguba/blog.ts +1 -1
- package/lib/routes/taoguba/index.ts +1 -1
- package/lib/routes/techcrunch/news.ts +20 -29
- package/lib/routes/techcrunch/templates/description.art +7 -0
- package/lib/routes/telegram/channel.ts +34 -1
- package/lib/routes/test/index.ts +50 -43
- package/lib/routes/the/index.ts +210 -0
- package/lib/routes/the/namespace.ts +8 -0
- package/lib/routes/the/templates/description.art +27 -0
- package/lib/routes/the/util.ts +307 -0
- package/lib/routes/theblockbeats/index.ts +10 -5
- package/lib/routes/towardsdatascience/latest.ts +67 -0
- package/lib/routes/towardsdatascience/namespace.ts +6 -0
- package/lib/routes/tvb/news.ts +1 -0
- package/lib/routes/twitter/api/index.ts +2 -0
- package/lib/routes/twitter/api/web-api/api.ts +18 -0
- package/lib/routes/twitter/api/web-api/constants.ts +2 -0
- package/lib/routes/twitter/api/web-api/login.ts +66 -0
- package/lib/routes/twitter/api/web-api/utils.ts +53 -27
- package/lib/routes/twitter/home-latest.ts +60 -0
- package/lib/routes/twitter/home.ts +1 -1
- package/lib/routes/twitter/user.ts +1 -1
- package/lib/routes/twitter/utils.ts +4 -1
- package/lib/routes/uber/blog.ts +1 -1
- package/lib/routes/ustc/scms.ts +97 -0
- package/lib/routes/v2ex/xna.ts +55 -0
- package/lib/routes/wchscu/namespace.ts +6 -0
- package/lib/routes/wchscu/recruit.ts +73 -0
- package/lib/routes/xiaohongshu/notes.ts +10 -2
- package/lib/routes/xiaohongshu/user.ts +23 -2
- package/lib/routes/xidian/cs.ts +143 -0
- package/lib/routes/xidian/gr.ts +289 -0
- package/lib/routes/xidian/jwc.ts +1 -0
- package/lib/routes/xidian/namespace.ts +1 -1
- package/lib/routes/yahoo/news/index.ts +1 -0
- package/lib/routes/yahoo/news/listid.ts +67 -0
- package/lib/routes/yahoo/news/utils.ts +8 -2
- package/lib/routes/yicai/carousel.ts +48 -0
- package/lib/routes/yicai/utils.ts +23 -17
- package/lib/routes/youtube/subscriptions.ts +1 -0
- package/lib/routes/yystv/docs.ts +28 -19
- package/lib/routes/zhihu/answers.ts +5 -1
- package/lib/routes/zhihu/execlib/x-zse-96-v3.ts +2 -0
- package/lib/routes/zhihu/namespace.ts +3 -0
- package/lib/routes/zhihu/utils.ts +15 -2
- package/lib/routes/zsxq/types.ts +9 -0
- package/lib/routes/zsxq/utils.ts +4 -3
- package/lib/setup.test.ts +1 -1
- package/lib/types.ts +6 -0
- package/lib/utils/cache/index.ts +8 -0
- package/lib/utils/camelcase-keys.spec.ts +127 -0
- package/lib/utils/camelcase-keys.ts +27 -0
- package/lib/utils/common-utils.ts +1 -0
- package/lib/views/error.tsx +3 -3
- package/lib/views/index.tsx +4 -3
- package/lib/views/layout.tsx +1 -1
- package/package.json +46 -44
- package/lib/routes/sse/lawandrules.ts +0 -68
- package/lib/routes-deprecated/bjnews/news.js +0 -44
- package/lib/routes-deprecated/gamersky/ent.js +0 -89
- package/lib/routes-deprecated/gamersky/news.js +0 -34
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Route } from '@/types';
|
|
2
|
-
import
|
|
3
|
-
import { load } from 'cheerio';
|
|
1
|
+
import { DataItem, Route } from '@/types';
|
|
2
|
+
import ofetch from '@/utils/ofetch';
|
|
4
3
|
import * as url from 'node:url';
|
|
5
4
|
|
|
6
5
|
const host = 'https://github.com';
|
|
@@ -40,22 +39,25 @@ async function handler(ctx) {
|
|
|
40
39
|
|
|
41
40
|
const suffix = 'search?o='.concat(order, '&q=', encodeURIComponent(query), '&s=', sort, '&type=Repositories');
|
|
42
41
|
const link = url.resolve(host, suffix);
|
|
43
|
-
const response = await
|
|
44
|
-
|
|
42
|
+
const response = await ofetch(link, {
|
|
43
|
+
headers: {
|
|
44
|
+
accept: 'application/json',
|
|
45
|
+
},
|
|
46
|
+
});
|
|
45
47
|
|
|
46
|
-
const out =
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
|
|
48
|
+
const out = response.payload.results.map((item) => {
|
|
49
|
+
const {
|
|
50
|
+
repo: { repository },
|
|
51
|
+
hl_trunc_description,
|
|
52
|
+
} = item;
|
|
53
|
+
|
|
54
|
+
return {
|
|
55
|
+
title: repository.name,
|
|
56
|
+
author: repository.owner_login,
|
|
57
|
+
link: host.concat(`/${repository.owner_login}/${repository.name}`),
|
|
58
|
+
description: hl_trunc_description,
|
|
59
|
+
} as DataItem;
|
|
60
|
+
});
|
|
59
61
|
|
|
60
62
|
return {
|
|
61
63
|
allowEmpty: true,
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Route } from '@/types';
|
|
2
|
+
import ofetch from '@/utils/ofetch';
|
|
3
|
+
import { load } from 'cheerio';
|
|
4
|
+
import { parseDate } from '@/utils/parse-date';
|
|
5
|
+
|
|
6
|
+
const baseUrl = 'https://research.google';
|
|
7
|
+
|
|
8
|
+
export const route: Route = {
|
|
9
|
+
path: '/research',
|
|
10
|
+
categories: ['blog'],
|
|
11
|
+
example: '/google/research',
|
|
12
|
+
name: 'Research Blog',
|
|
13
|
+
maintainers: ['Levix'],
|
|
14
|
+
radar: [
|
|
15
|
+
{
|
|
16
|
+
source: ['research.google'],
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
handler: async () => {
|
|
20
|
+
const response = await ofetch(`${baseUrl}/blog`);
|
|
21
|
+
const $ = load(response);
|
|
22
|
+
const items = $('div.js-configurable-list .blog-posts-grid__cards .glue-grid__col')
|
|
23
|
+
.toArray()
|
|
24
|
+
.map((eleItem) => {
|
|
25
|
+
const item = $(eleItem);
|
|
26
|
+
const a = item.find('a').first();
|
|
27
|
+
return {
|
|
28
|
+
title: a.find('.headline-5').text(),
|
|
29
|
+
link: `${baseUrl}${a.attr('href')}`,
|
|
30
|
+
pubDate: parseDate(item.find('.glue-label.glue-spacer-1-bottom').text()),
|
|
31
|
+
author: 'Google',
|
|
32
|
+
category: item
|
|
33
|
+
.find('.not-glue.caption')
|
|
34
|
+
.toArray()
|
|
35
|
+
.map((item) => $(item).text().replace('·', '').trim()),
|
|
36
|
+
};
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
return {
|
|
40
|
+
title: 'Google Research Blog',
|
|
41
|
+
link: `${baseUrl}/blog`,
|
|
42
|
+
item: items,
|
|
43
|
+
};
|
|
44
|
+
},
|
|
45
|
+
};
|
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
import { Route } from '@/types';
|
|
2
|
+
|
|
3
|
+
import cache from '@/utils/cache';
|
|
4
|
+
import got from '@/utils/got';
|
|
5
|
+
import { load } from 'cheerio';
|
|
6
|
+
import timezone from '@/utils/timezone';
|
|
7
|
+
import { parseDate } from '@/utils/parse-date';
|
|
8
|
+
|
|
9
|
+
export const handler = async (ctx) => {
|
|
10
|
+
const { id = '915' } = ctx.req.param();
|
|
11
|
+
const limit = ctx.req.query('limit') ? Number.parseInt(ctx.req.query('limit'), 10) : 18;
|
|
12
|
+
|
|
13
|
+
const rootUrl = 'https://www.cbirc.gov.cn';
|
|
14
|
+
const apiUrl = new URL(`cn/static/data/DocInfo/SelectDocByItemIdAndChild/data_itemId=${id},pageIndex=1,pageSize=18.json`, rootUrl).href;
|
|
15
|
+
const apiBreadUrl = new URL(`cn/static/data/item/getItemBread/data_itemId=${id}.json`, rootUrl).href;
|
|
16
|
+
|
|
17
|
+
const { data: breadResponse } = await got(apiBreadUrl);
|
|
18
|
+
|
|
19
|
+
const item = breadResponse.data.find((b) => String(b.itemId) === id);
|
|
20
|
+
|
|
21
|
+
const currentUrl = new URL(`cn/view/pages/ItemList.html?itemPId=${item.itemPid}&itemId=${id}&itemUrl=ItemListRightList.html`, rootUrl).href;
|
|
22
|
+
|
|
23
|
+
const { data: response } = await got(apiUrl);
|
|
24
|
+
|
|
25
|
+
let items = response.data.rows.slice(0, limit).map((item) => {
|
|
26
|
+
const title = item.docTitle;
|
|
27
|
+
const description = item.docSubtitle;
|
|
28
|
+
const guid = item.docId;
|
|
29
|
+
|
|
30
|
+
return {
|
|
31
|
+
title,
|
|
32
|
+
description,
|
|
33
|
+
pubDate: timezone(parseDate(item.publishDate), +8),
|
|
34
|
+
link: new URL(`cn/view/pages/ItemDetail.html?docId=${guid}`, rootUrl).href,
|
|
35
|
+
guid,
|
|
36
|
+
id: guid,
|
|
37
|
+
content: {
|
|
38
|
+
html: description,
|
|
39
|
+
text: description,
|
|
40
|
+
},
|
|
41
|
+
enclosure_url: new URL(item.pdfFileUrl, rootUrl).href,
|
|
42
|
+
enclosure_type: 'application/pdf',
|
|
43
|
+
enclosure_title: title,
|
|
44
|
+
};
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
items = await Promise.all(
|
|
48
|
+
items.map((item) =>
|
|
49
|
+
cache.tryGet(item.link, async () => {
|
|
50
|
+
const apiDocUrl = new URL(`cn/static/data/DocInfo/SelectByDocId/data_docId=${item.guid}.json`, rootUrl).href;
|
|
51
|
+
|
|
52
|
+
const { data: detailResponse } = await got(apiDocUrl);
|
|
53
|
+
|
|
54
|
+
const data = detailResponse.data;
|
|
55
|
+
|
|
56
|
+
const $$ = load(data.docClob);
|
|
57
|
+
|
|
58
|
+
const title = data.docTitle;
|
|
59
|
+
const description = $$('div.Section0').html();
|
|
60
|
+
|
|
61
|
+
item.title = title;
|
|
62
|
+
item.description = description;
|
|
63
|
+
item.pubDate = timezone(parseDate(data.publishDate), +8);
|
|
64
|
+
item.category = data.listTwoItem?.[0]?.ItemLvs.map((c) => c.itemName);
|
|
65
|
+
item.author = data.docSource;
|
|
66
|
+
item.guid = `cbirc-${item.guid}`;
|
|
67
|
+
item.id = item.guid;
|
|
68
|
+
item.content = {
|
|
69
|
+
html: description,
|
|
70
|
+
text: $$('div.Section0').text(),
|
|
71
|
+
};
|
|
72
|
+
item.updated = parseDate(data.docEditdate);
|
|
73
|
+
item.language = $$('html').prop('lang');
|
|
74
|
+
|
|
75
|
+
return item;
|
|
76
|
+
})
|
|
77
|
+
)
|
|
78
|
+
);
|
|
79
|
+
|
|
80
|
+
const { data: currentResponse } = await got(currentUrl);
|
|
81
|
+
|
|
82
|
+
const $ = load(currentResponse);
|
|
83
|
+
|
|
84
|
+
$('a.lyxd').remove();
|
|
85
|
+
|
|
86
|
+
const language = $('html').prop('lang');
|
|
87
|
+
|
|
88
|
+
const image = new URL($('div.header-left img').prop('src'), rootUrl).href;
|
|
89
|
+
|
|
90
|
+
return {
|
|
91
|
+
title: `${$('title').text()} - ${item.itemName}`,
|
|
92
|
+
description: item.desc,
|
|
93
|
+
link: currentUrl,
|
|
94
|
+
item: items,
|
|
95
|
+
allowEmpty: true,
|
|
96
|
+
image,
|
|
97
|
+
author: item.type,
|
|
98
|
+
language,
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
export const route: Route = {
|
|
103
|
+
path: '/cbirc/:id?',
|
|
104
|
+
name: '分类',
|
|
105
|
+
url: 'www.cbirc.gov.cn',
|
|
106
|
+
maintainers: ['nczitzk'],
|
|
107
|
+
handler,
|
|
108
|
+
example: '/gov/cbirc/:id?',
|
|
109
|
+
parameters: { category: '分类,默认为监管动态,即 915,可在对应分类页 URL 中找到' },
|
|
110
|
+
description: `:::tip
|
|
111
|
+
若订阅 [监管动态](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemId=915&itemUrl=ItemListRightList.html),网址为 \`https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemId=915&itemUrl=ItemListRightList.html\`。截取 \`itemId\` 的值 \`915\` 作为参数填入,此时路由为 [\`/gov/cbirc/915\`](https://rsshub.app/gov/cbirc/915)。
|
|
112
|
+
:::
|
|
113
|
+
|
|
114
|
+
#### [首页](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=899&itemId=971&itemUrl=ItemListRightMore.html)
|
|
115
|
+
|
|
116
|
+
| [弹出公告](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=971&itemId=972&itemUrl=sss) | [法律声明](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=971&itemId=4128&itemUrl=ItemListRightArticle.html) |
|
|
117
|
+
| --------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
|
|
118
|
+
| [972](https://rsshub.app/gov/cbirc/972) | [4128](https://rsshub.app/gov/cbirc/4128) |
|
|
119
|
+
|
|
120
|
+
#### [机构概况](https://www.cbirc.gov.cn/cn/view/pages/jigougaikuang/jigougaikuang.html)
|
|
121
|
+
|
|
122
|
+
| [主要职责](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=900&itemId=901&itemUrl=ItemListRightArticle.html) | [总局领导](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=900&itemId=902&itemUrl=jigougaikuang/huilingdao.html) | [内设机构](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=900&itemId=911&itemUrl=jigougaikuang/neishejigou.html) | [直属行政机构](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=900&itemId=4243&itemUrl=jigougaikuang/zhishuxingzhengjigou.html) | [派出机构](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=900&itemId=912&itemUrl=jigougaikuang/paichujigou.html) |
|
|
123
|
+
| ------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
|
|
124
|
+
| [901](https://rsshub.app/gov/cbirc/901) | [902](https://rsshub.app/gov/cbirc/902) | [911](https://rsshub.app/gov/cbirc/911) | [4243](https://rsshub.app/gov/cbirc/4243) | [912](https://rsshub.app/gov/cbirc/912) |
|
|
125
|
+
|
|
126
|
+
| [联系方式](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=900&itemId=913&itemUrl=jigougaikuang/lianxifangshi.html) |
|
|
127
|
+
| -------------------------------------------------------------------------------------------------------------------------------- |
|
|
128
|
+
| [913](https://rsshub.app/gov/cbirc/913) |
|
|
129
|
+
|
|
130
|
+
#### [新闻资讯](https://www.cbirc.gov.cn/cn/view/pages/xinwenzixun/xinwenzixun.html)
|
|
131
|
+
|
|
132
|
+
| [监管动态](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=914&itemId=915&itemUrl=ItemListRightList.html) | [政策解读](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=914&itemId=916&itemUrl=ItemListRightMore.html) | [领导活动及讲话](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=914&itemId=919&itemUrl=ItemListRightList.html) | [新闻发布会及访谈](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=914&itemId=920&itemUrl=xinwenzixun/xinwenfabu.html) | [新闻发言人](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=914&itemId=921&itemUrl=xinwenzixun/xinwenfayan.html) |
|
|
133
|
+
| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
|
|
134
|
+
| [915](https://rsshub.app/gov/cbirc/915) | [916](https://rsshub.app/gov/cbirc/916) | [919](https://rsshub.app/gov/cbirc/919) | [920](https://rsshub.app/gov/cbirc/920) | [921](https://rsshub.app/gov/cbirc/921) |
|
|
135
|
+
|
|
136
|
+
#### [政务信息](https://www.cbirc.gov.cn/cn/view/pages/zhengwuxinxi/zhengwuxinxi.html)
|
|
137
|
+
|
|
138
|
+
| [政府信息公开](https://www.cbirc.gov.cn/cn/view/pages/zhengwuxinxi/zhengfuxinxi.html) | [公告通知](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=923&itemId=925&itemUrl=ItemListRightList.html) | [政策法规](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=923&itemId=926&itemUrl=ItemListRightMore.html) | [行政许可](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=923&itemId=930&itemUrl=zhengwuxinxi/xingzhengxuke.html) | [行政处罚](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=923&itemId=931&itemUrl=zhengwuxinxi/xingzhengchufa.html) |
|
|
139
|
+
| ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
|
|
140
|
+
| [924](https://rsshub.app/gov/cbirc/924) | [925](https://rsshub.app/gov/cbirc/925) | [926](https://rsshub.app/gov/cbirc/926) | [930](https://rsshub.app/gov/cbirc/930) | [931](https://rsshub.app/gov/cbirc/931) |
|
|
141
|
+
|
|
142
|
+
| [行政监管措施](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=923&itemId=932&itemUrl=ItemListRightList.html) | [人事信息](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=923&itemId=933&itemUrl=ItemListRightList.html) |
|
|
143
|
+
| -------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
|
|
144
|
+
| [932](https://rsshub.app/gov/cbirc/932) | [933](https://rsshub.app/gov/cbirc/933) |
|
|
145
|
+
|
|
146
|
+
#### [在线服务](https://www.cbirc.gov.cn/cn/view/pages/zaixianfuwu/zaixianfuwu.html)
|
|
147
|
+
|
|
148
|
+
| [行政许可办事服务指南](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=937&itemId=938&itemUrl=zaixianfuwu/banshifuwu.html) | [查询服务](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=937&itemId=939&itemUrl=zaixianfuwu/chaxunfuwu.html) |
|
|
149
|
+
| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
|
|
150
|
+
| [938](https://rsshub.app/gov/cbirc/938) | [939](https://rsshub.app/gov/cbirc/939) |
|
|
151
|
+
|
|
152
|
+
#### [互动交流](https://www.cbirc.gov.cn/cn/view/pages/hudongjiaoliu/hudongjiaoliu.html)
|
|
153
|
+
|
|
154
|
+
| [政务咨询](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=945&itemId=946&itemUrl=tosubmenu:hudongjiaoliu/woyaozixun.html) | [征集调查](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=945&itemId=950&itemUrl=ItemListRightMore.html) | [国务院办公厅开通“国家政务服务投诉与建议”小程序](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=945&itemId=952&itemUrl=http://www.gov.cn/xinwen/2018-09/20/content_5323786.htm) |
|
|
155
|
+
| --------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
156
|
+
| [946](https://rsshub.app/gov/cbirc/946) | [950](https://rsshub.app/gov/cbirc/950) | [952](https://rsshub.app/gov/cbirc/952) |
|
|
157
|
+
|
|
158
|
+
#### [统计数据](https://www.cbirc.gov.cn/cn/view/pages/tongjishuju/tongjishuju.html)
|
|
159
|
+
|
|
160
|
+
| [统计信息](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=953&itemId=954&itemUrl=ItemListRightList.html) | [数据图表](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=953&itemId=955&itemUrl=tosubmenu:tongjishuju/zongzichan.html) |
|
|
161
|
+
| ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
|
|
162
|
+
| [954](https://rsshub.app/gov/cbirc/954) | [955](https://rsshub.app/gov/cbirc/955) |
|
|
163
|
+
|
|
164
|
+
#### [专题专栏](https://www.cbirc.gov.cn/cn/view/pages/zhuantizhuanlan/zhuantizhuanlan.html)
|
|
165
|
+
|
|
166
|
+
| [推进普惠金融高质量发展](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=4234&itemUrl=ItemListRightMore.html) | [防范和处置非法集资](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=963&itemUrl=ItemListRightMore.html) | [消费者保护](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=4097&itemUrl=ItemListRightMore.html) | [法治宣传](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=4106&itemUrl=ItemListRightMore.html) | [政府网站年度报表](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=970&itemUrl=ItemListRightList.html) |
|
|
167
|
+
| ------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
|
|
168
|
+
| [4234](https://rsshub.app/gov/cbirc/4234) | [963](https://rsshub.app/gov/cbirc/963) | [4097](https://rsshub.app/gov/cbirc/4097) | [4106](https://rsshub.app/gov/cbirc/4106) | [970](https://rsshub.app/gov/cbirc/970) |
|
|
169
|
+
|
|
170
|
+
| [服务民营企业](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=4171&itemUrl=ItemListRightList.html) | [服务制造业发展](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=4217&itemUrl=ItemListRightList.html) | [学习贯彻习近平新时代中国特色社会主义思想主题教育](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=4229&itemUrl=ItemListRightMore.html) |
|
|
171
|
+
| --------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
172
|
+
| [4171](https://rsshub.app/gov/cbirc/4171) | [4217](https://rsshub.app/gov/cbirc/4217) | [4229](https://rsshub.app/gov/cbirc/4229) |
|
|
173
|
+
`,
|
|
174
|
+
categories: ['government'],
|
|
175
|
+
|
|
176
|
+
features: {
|
|
177
|
+
requireConfig: false,
|
|
178
|
+
requirePuppeteer: false,
|
|
179
|
+
antiCrawler: false,
|
|
180
|
+
supportRadar: true,
|
|
181
|
+
supportBT: false,
|
|
182
|
+
supportPodcast: false,
|
|
183
|
+
supportScihub: false,
|
|
184
|
+
},
|
|
185
|
+
radar: [
|
|
186
|
+
{
|
|
187
|
+
source: ['www.cbirc.gov.cn/:id?'],
|
|
188
|
+
target: (_, url) => {
|
|
189
|
+
url = new URL(url);
|
|
190
|
+
const id = url.searchParams.get('itemId');
|
|
191
|
+
|
|
192
|
+
return `/gov/cbirc${id ? `/${id}` : ''}`;
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
title: '首页 - 弹出公告',
|
|
197
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=971&itemId=972&itemUrl=sss'],
|
|
198
|
+
target: '/cbirc/972',
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
title: '首页 - 法律声明',
|
|
202
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=971&itemId=4128&itemUrl=ItemListRightArticle.html'],
|
|
203
|
+
target: '/cbirc/4128',
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
title: '机构概况 - 主要职责',
|
|
207
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=900&itemId=901&itemUrl=ItemListRightArticle.html'],
|
|
208
|
+
target: '/cbirc/901',
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
title: '机构概况 - 总局领导',
|
|
212
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=900&itemId=902&itemUrl=jigougaikuang/huilingdao.html'],
|
|
213
|
+
target: '/cbirc/902',
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
title: '机构概况 - 内设机构',
|
|
217
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=900&itemId=911&itemUrl=jigougaikuang/neishejigou.html'],
|
|
218
|
+
target: '/cbirc/911',
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
title: '机构概况 - 直属行政机构',
|
|
222
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=900&itemId=4243&itemUrl=jigougaikuang/zhishuxingzhengjigou.html'],
|
|
223
|
+
target: '/cbirc/4243',
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
title: '机构概况 - 派出机构',
|
|
227
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=900&itemId=912&itemUrl=jigougaikuang/paichujigou.html'],
|
|
228
|
+
target: '/cbirc/912',
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
title: '机构概况 - 联系方式',
|
|
232
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=900&itemId=913&itemUrl=jigougaikuang/lianxifangshi.html'],
|
|
233
|
+
target: '/cbirc/913',
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
title: '新闻资讯 - 监管动态',
|
|
237
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=914&itemId=915&itemUrl=ItemListRightList.html'],
|
|
238
|
+
target: '/cbirc/915',
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
title: '新闻资讯 - 政策解读',
|
|
242
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=914&itemId=916&itemUrl=ItemListRightMore.html'],
|
|
243
|
+
target: '/cbirc/916',
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
title: '新闻资讯 - 领导活动及讲话',
|
|
247
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=914&itemId=919&itemUrl=ItemListRightList.html'],
|
|
248
|
+
target: '/cbirc/919',
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
title: '新闻资讯 - 新闻发布会及访谈',
|
|
252
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=914&itemId=920&itemUrl=xinwenzixun/xinwenfabu.html'],
|
|
253
|
+
target: '/cbirc/920',
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
title: '新闻资讯 - 新闻发言人',
|
|
257
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=914&itemId=921&itemUrl=xinwenzixun/xinwenfayan.html'],
|
|
258
|
+
target: '/cbirc/921',
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
title: '政务信息 - 政府信息公开',
|
|
262
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/zhengwuxinxi/zhengfuxinxi.html'],
|
|
263
|
+
target: '/cbirc/924',
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
title: '政务信息 - 公告通知',
|
|
267
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=923&itemId=925&itemUrl=ItemListRightList.html'],
|
|
268
|
+
target: '/cbirc/925',
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
title: '政务信息 - 政策法规',
|
|
272
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=923&itemId=926&itemUrl=ItemListRightMore.html'],
|
|
273
|
+
target: '/cbirc/926',
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
title: '政务信息 - 行政许可',
|
|
277
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=923&itemId=930&itemUrl=zhengwuxinxi/xingzhengxuke.html'],
|
|
278
|
+
target: '/cbirc/930',
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
title: '政务信息 - 行政处罚',
|
|
282
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=923&itemId=931&itemUrl=zhengwuxinxi/xingzhengchufa.html'],
|
|
283
|
+
target: '/cbirc/931',
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
title: '政务信息 - 行政监管措施',
|
|
287
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=923&itemId=932&itemUrl=ItemListRightList.html'],
|
|
288
|
+
target: '/cbirc/932',
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
title: '政务信息 - 人事信息',
|
|
292
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=923&itemId=933&itemUrl=ItemListRightList.html'],
|
|
293
|
+
target: '/cbirc/933',
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
title: '在线服务 - 行政许可办事服务指南',
|
|
297
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=937&itemId=938&itemUrl=zaixianfuwu/banshifuwu.html'],
|
|
298
|
+
target: '/cbirc/938',
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
title: '在线服务 - 查询服务',
|
|
302
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=937&itemId=939&itemUrl=zaixianfuwu/chaxunfuwu.html'],
|
|
303
|
+
target: '/cbirc/939',
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
title: '互动交流 - 政务咨询',
|
|
307
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=945&itemId=946&itemUrl=tosubmenu:hudongjiaoliu/woyaozixun.html'],
|
|
308
|
+
target: '/cbirc/946',
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
title: '互动交流 - 征集调查',
|
|
312
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=945&itemId=950&itemUrl=ItemListRightMore.html'],
|
|
313
|
+
target: '/cbirc/950',
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
title: '互动交流 - 国务院办公厅开通“国家政务服务投诉与建议”小程序',
|
|
317
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=945&itemId=952&itemUrl=http://www.gov.cn/xinwen/2018-09/20/content_5323786.htm'],
|
|
318
|
+
target: '/cbirc/952',
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
title: '统计数据 - 统计信息',
|
|
322
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=953&itemId=954&itemUrl=ItemListRightList.html'],
|
|
323
|
+
target: '/cbirc/954',
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
title: '统计数据 - 数据图表',
|
|
327
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=953&itemId=955&itemUrl=tosubmenu:tongjishuju/zongzichan.html'],
|
|
328
|
+
target: '/cbirc/955',
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
title: '专题专栏 - 推进普惠金融高质量发展',
|
|
332
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=4234&itemUrl=ItemListRightMore.html'],
|
|
333
|
+
target: '/cbirc/4234',
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
title: '专题专栏 - 防范和处置非法集资',
|
|
337
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=963&itemUrl=ItemListRightMore.html'],
|
|
338
|
+
target: '/cbirc/963',
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
title: '专题专栏 - 消费者保护',
|
|
342
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=4097&itemUrl=ItemListRightMore.html'],
|
|
343
|
+
target: '/cbirc/4097',
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
title: '专题专栏 - 法治宣传',
|
|
347
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=4106&itemUrl=ItemListRightMore.html'],
|
|
348
|
+
target: '/cbirc/4106',
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
title: '专题专栏 - 政府网站年度报表',
|
|
352
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=970&itemUrl=ItemListRightList.html'],
|
|
353
|
+
target: '/cbirc/970',
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
title: '专题专栏 - 服务民营企业',
|
|
357
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=4171&itemUrl=ItemListRightList.html'],
|
|
358
|
+
target: '/cbirc/4171',
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
title: '专题专栏 - 服务制造业发展',
|
|
362
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=4217&itemUrl=ItemListRightList.html'],
|
|
363
|
+
target: '/cbirc/4217',
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
title: '专题专栏 - 学习贯彻习近平新时代中国特色社会主义思想主题教育',
|
|
367
|
+
source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=4229&itemUrl=ItemListRightMore.html'],
|
|
368
|
+
target: '/cbirc/4229',
|
|
369
|
+
},
|
|
370
|
+
],
|
|
371
|
+
};
|
|
@@ -30,12 +30,12 @@ async function handler(ctx: Context): Promise<Data> {
|
|
|
30
30
|
// 替换 url
|
|
31
31
|
const sydwgkzpUrl = `https://rlsbj.cq.gov.cn/zwxx_182/sydw/sydwgkzp${year}/`;
|
|
32
32
|
|
|
33
|
-
const { data: response }
|
|
33
|
+
const { data: response } = await got(sydwgkzpUrl);
|
|
34
34
|
|
|
35
35
|
const $ = load(response);
|
|
36
36
|
|
|
37
37
|
// 获取所有的标题
|
|
38
|
-
const list = $('
|
|
38
|
+
const list = $('ul[class="rsj-list1"] > li')
|
|
39
39
|
.toArray()
|
|
40
40
|
.map((item) => {
|
|
41
41
|
item = $(item);
|
|
@@ -54,10 +54,10 @@ async function handler(ctx: Context): Promise<Data> {
|
|
|
54
54
|
const items = await Promise.all(
|
|
55
55
|
list.map((item) =>
|
|
56
56
|
cache.tryGet(item.link, async () => {
|
|
57
|
-
const { data: response }
|
|
57
|
+
const { data: response } = await got(item.link);
|
|
58
58
|
const $ = load(response);
|
|
59
59
|
// 主题正文
|
|
60
|
-
item.description = $('
|
|
60
|
+
item.description = $('.trs_editor_view').first().html();
|
|
61
61
|
return item;
|
|
62
62
|
})
|
|
63
63
|
)
|