rsshub 1.0.0-master.f2ed98e → 1.0.0-master.f2eee10
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/README.md +6 -24
- package/lib/api_router.js +1 -1
- package/lib/app.js +2 -0
- package/lib/config.js +28 -3
- package/lib/maintainer.js +25 -0
- package/lib/middleware/cache/memory.js +2 -2
- package/lib/middleware/parameter.js +1 -1
- package/lib/middleware/template.js +14 -1
- package/lib/radar-rules.js +0 -313
- package/lib/radar.js +79 -0
- package/lib/router.js +137 -145
- package/lib/routes/axis-studios/work.js +0 -0
- package/lib/routes/blow-studio/work.js +0 -0
- package/lib/routes/blur-studio/index.js +0 -0
- package/lib/routes/digic-pictures/index.js +0 -0
- package/lib/routes/everything/changes.js +1 -1
- package/lib/routes/gov/hunan/notice.js +1 -1
- package/lib/routes/method-studios/index.js +0 -0
- package/lib/routes/ps/product.js +0 -0
- package/lib/routes/unit-image/films.js +0 -0
- package/lib/static/logo.png +0 -0
- package/lib/utils/puppeteer.js +2 -2
- package/lib/utils/render.js +2 -46
- package/lib/utils/request-wrapper.js +2 -2
- package/lib/utils/wechat-mp.js +2 -2
- package/lib/v2/0818tuan/index.js +47 -0
- package/lib/v2/0818tuan/maintainer.js +3 -0
- package/lib/v2/0818tuan/radar.js +13 -0
- package/lib/v2/0818tuan/router.js +3 -0
- package/lib/v2/141jav/index.js +71 -0
- package/lib/v2/141jav/maintainer.js +3 -0
- package/lib/v2/141jav/radar.js +40 -0
- package/lib/v2/141jav/router.js +3 -0
- package/lib/v2/141jav/templates/description.art +47 -0
- package/lib/v2/141ppv/index.js +71 -0
- package/lib/v2/141ppv/maintainer.js +3 -0
- package/lib/v2/141ppv/radar.js +40 -0
- package/lib/v2/141ppv/router.js +3 -0
- package/lib/v2/141ppv/templates/description.art +47 -0
- package/lib/v2/163/maintainer.js +1 -0
- package/lib/v2/163/music/artist-songs.js +39 -0
- package/lib/v2/163/radar.js +13 -4
- package/lib/v2/163/router.js +1 -0
- package/lib/v2/163/templates/music/playlist.art +1 -1
- package/lib/v2/18comic/templates/description.art +4 -0
- package/lib/v2/18comic/utils.js +9 -5
- package/lib/v2/1point3acres/blog.js +67 -0
- package/lib/v2/1point3acres/category.js +17 -0
- package/lib/v2/1point3acres/maintainer.js +9 -0
- package/lib/v2/1point3acres/offer.js +69 -0
- package/lib/v2/1point3acres/radar.js +53 -0
- package/lib/v2/1point3acres/router.js +10 -0
- package/lib/v2/1point3acres/section.js +28 -0
- package/lib/v2/1point3acres/templates/image.art +1 -0
- package/lib/v2/1point3acres/templates/offer.art +11 -0
- package/lib/v2/1point3acres/thread.js +15 -0
- package/lib/v2/1point3acres/utils.js +79 -0
- package/lib/v2/2048/index.js +7 -5
- package/lib/v2/2048/radar.js +13 -0
- package/lib/v2/36kr/hot-list.js +59 -0
- package/lib/v2/36kr/index.js +3 -30
- package/lib/v2/36kr/maintainer.js +1 -0
- package/lib/v2/36kr/radar.js +6 -0
- package/lib/v2/36kr/router.js +1 -0
- package/lib/v2/36kr/utils.js +36 -0
- package/lib/v2/3dmgame/game.js +39 -0
- package/lib/v2/3dmgame/maintainer.js +4 -0
- package/lib/v2/3dmgame/news_center.js +42 -0
- package/lib/v2/3dmgame/radar.js +19 -0
- package/lib/v2/3dmgame/router.js +4 -0
- package/lib/v2/3dmgame/utils.js +30 -0
- package/lib/v2/4ksj/forum.js +128 -0
- package/lib/v2/4ksj/maintainer.js +3 -0
- package/lib/v2/4ksj/radar.js +13 -0
- package/lib/v2/4ksj/router.js +3 -0
- package/lib/v2/4ksj/templates/description.art +56 -0
- package/lib/v2/50forum/radar.js +1 -1
- package/lib/v2/50forum/zhuanjia.js +1 -1
- package/lib/v2/591/maintainer.js +3 -0
- package/lib/v2/5eplay/index.js +100 -0
- package/lib/v2/5eplay/maintainer.js +3 -0
- package/lib/v2/5eplay/radar.js +13 -0
- package/lib/v2/5eplay/router.js +3 -0
- package/lib/v2/5eplay/utils.js +35 -0
- package/lib/v2/6park/index.js +65 -0
- package/lib/v2/6park/maintainer.js +8 -0
- package/lib/v2/6park/news.js +76 -0
- package/lib/v2/6park/radar.js +65 -0
- package/lib/v2/6park/router.js +4 -0
- package/lib/v2/6v123/latestMovies.js +14 -0
- package/lib/v2/6v123/latestTVSeries.js +14 -0
- package/lib/v2/6v123/maintainer.js +4 -0
- package/lib/v2/6v123/radar.js +23 -0
- package/lib/v2/6v123/router.js +4 -0
- package/lib/v2/6v123/utils.js +83 -0
- package/lib/v2/7mmtv/index.js +15 -23
- package/lib/v2/7mmtv/templates/description.art +5 -1
- package/lib/v2/81/81rc/index.js +62 -0
- package/lib/v2/81/maintainer.js +3 -0
- package/lib/v2/81/radar.js +18 -0
- package/lib/v2/81/router.js +3 -0
- package/lib/v2/acfun/radar.js +1 -1
- package/lib/v2/aeaweb/index.js +81 -0
- package/lib/v2/aeaweb/maintainer.js +3 -0
- package/lib/v2/aeaweb/radar.js +13 -0
- package/lib/v2/aeaweb/router.js +3 -0
- package/lib/v2/aeaweb/templates/description.art +3 -0
- package/lib/v2/aeon/category.js +27 -0
- package/lib/v2/aeon/maintainer.js +4 -0
- package/lib/v2/aeon/radar.js +19 -0
- package/lib/v2/aeon/router.js +4 -0
- package/lib/v2/aeon/templates/essay.art +3 -0
- package/lib/v2/aeon/templates/video.art +10 -0
- package/lib/v2/aeon/type.js +29 -0
- package/lib/v2/aeon/utils.js +50 -0
- package/lib/v2/agirls/index.js +14 -42
- package/lib/v2/agirls/topic.js +16 -43
- package/lib/v2/agirls/topic_list.js +14 -14
- package/lib/v2/agirls/utils.js +37 -0
- package/lib/v2/aijishu/index.js +26 -0
- package/lib/v2/aijishu/maintainer.js +5 -0
- package/lib/v2/aijishu/radar.js +25 -0
- package/lib/v2/aijishu/router.js +3 -0
- package/lib/v2/aijishu/utils.js +36 -0
- package/lib/v2/aisixiang/column.js +36 -0
- package/lib/v2/aisixiang/maintainer.js +6 -0
- package/lib/v2/aisixiang/radar.js +29 -0
- package/lib/v2/aisixiang/router.js +6 -0
- package/lib/v2/aisixiang/thinktank.js +49 -0
- package/lib/v2/aisixiang/toplist.js +37 -0
- package/lib/v2/aisixiang/utils.js +37 -0
- package/lib/v2/aliresearch/information.js +57 -0
- package/lib/v2/aliresearch/maintainer.js +3 -0
- package/lib/v2/aliresearch/radar.js +13 -0
- package/lib/v2/aliresearch/router.js +3 -0
- package/lib/v2/aliyundrive/files.js +10 -14
- package/lib/v2/amazon/awsblogs.js +27 -0
- package/lib/v2/amazon/kindle-software-updates.js +48 -0
- package/lib/v2/amazon/maintainer.js +4 -0
- package/lib/v2/amazon/radar.js +24 -0
- package/lib/v2/amazon/router.js +4 -0
- package/lib/v2/amazon/templates/software-description.art +4 -0
- package/lib/v2/apache/apisix/blog.js +32 -0
- package/lib/v2/apache/maintainer.js +3 -0
- package/lib/v2/apache/radar.js +13 -0
- package/lib/v2/apache/router.js +3 -0
- package/lib/v2/apiseven/blog.js +46 -0
- package/lib/v2/apiseven/maintainer.js +3 -0
- package/lib/v2/apiseven/radar.js +13 -0
- package/lib/v2/apiseven/router.js +3 -0
- package/lib/v2/apkpure/maintainer.js +3 -0
- package/lib/v2/apkpure/radar.js +13 -0
- package/lib/v2/apkpure/router.js +3 -0
- package/lib/v2/apkpure/versions.js +48 -0
- package/lib/v2/apnews/topics.js +24 -29
- package/lib/v2/aqara/community.js +32 -0
- package/lib/v2/aqara/maintainer.js +4 -0
- package/lib/v2/aqara/news.js +53 -0
- package/lib/v2/aqara/radar.js +21 -0
- package/lib/v2/aqara/router.js +4 -0
- package/lib/v2/arcteryx/maintainer.js +5 -0
- package/lib/v2/arcteryx/new-arrivals.js +38 -0
- package/lib/v2/arcteryx/outlet.js +40 -0
- package/lib/v2/arcteryx/radar.js +29 -0
- package/lib/v2/arcteryx/regear-new-arrivals.js +53 -0
- package/lib/v2/arcteryx/router.js +5 -0
- package/lib/v2/arcteryx/templates/product-description.art +12 -0
- package/lib/v2/arcteryx/templates/regear-product-description.art +16 -0
- package/lib/v2/arcteryx/utils.js +23 -0
- package/lib/v2/arknights/radar.js +1 -1
- package/lib/v2/atcoder/radar.js +1 -1
- package/lib/v2/bad/index.js +58 -0
- package/lib/v2/bad/maintainer.js +3 -0
- package/lib/v2/bad/radar.js +13 -0
- package/lib/v2/bad/router.js +3 -0
- package/lib/v2/baozimh/index.js +10 -15
- package/lib/v2/bast/index.js +74 -0
- package/lib/v2/bast/maintainer.js +3 -0
- package/lib/v2/bast/radar.js +13 -0
- package/lib/v2/bast/router.js +3 -0
- package/lib/v2/bellroy/maintainer.js +3 -0
- package/lib/v2/bellroy/new-releases.js +26 -0
- package/lib/v2/bellroy/radar.js +13 -0
- package/lib/v2/bellroy/router.js +3 -0
- package/lib/v2/bgmlist/maintainer.js +3 -0
- package/lib/v2/bgmlist/onair.js +32 -0
- package/lib/v2/bgmlist/radar.js +13 -0
- package/lib/v2/bgmlist/router.js +3 -0
- package/lib/v2/bgmlist/templates/description.art +4 -0
- package/lib/v2/bilibili/bangumi.js +4 -4
- package/lib/v2/bilibili/cache.js +17 -5
- package/lib/v2/bilibili/dynamic.js +2 -2
- package/lib/v2/bilibili/followers.js +12 -1
- package/lib/v2/bilibili/followings.js +16 -1
- package/lib/v2/bilibili/followings_dynamic.js +3 -3
- package/lib/v2/bilibili/hotSearch.js +29 -0
- package/lib/v2/bilibili/liveSearch.js +18 -10
- package/lib/v2/bilibili/maintainer.js +3 -2
- package/lib/v2/bilibili/radar.js +13 -1
- package/lib/v2/bilibili/router.js +3 -2
- package/lib/v2/bilibili/topic.js +2 -2
- package/lib/v2/bilibili/userChannel.js +2 -1
- package/lib/v2/bilibili/userCollection.js +3 -1
- package/lib/v2/bilibili/utils.js +7 -6
- package/lib/v2/bilibili/video-all.js +8 -3
- package/lib/v2/bilibili/video.js +1 -1
- package/lib/v2/bilibili/vsearch.js +1 -1
- package/lib/v2/biquge/radar.js +1 -1
- package/lib/v2/bit/cs/cs.js +24 -0
- package/lib/v2/bit/cs/utils.js +53 -0
- package/lib/v2/bit/jwc/jwc.js +24 -0
- package/lib/v2/bit/jwc/utils.js +49 -0
- package/lib/v2/bit/maintainer.js +3 -0
- package/lib/v2/bit/radar.js +25 -1
- package/lib/v2/bit/router.js +3 -0
- package/lib/v2/bit/yjs.js +27 -0
- package/lib/v2/bjsk/keti.js +54 -0
- package/lib/v2/bjsk/maintainer.js +1 -0
- package/lib/v2/bjsk/radar.js +8 -0
- package/lib/v2/bjsk/router.js +1 -0
- package/lib/v2/blizzard/maintainer.js +3 -0
- package/lib/v2/blizzard/news.js +50 -0
- package/lib/v2/blizzard/radar.js +13 -0
- package/lib/v2/blizzard/router.js +3 -0
- package/lib/v2/bmkg/earthquake.js +29 -0
- package/lib/v2/bmkg/maintainer.js +4 -0
- package/lib/v2/bmkg/news.js +42 -0
- package/lib/v2/bmkg/radar.js +19 -0
- package/lib/v2/bmkg/router.js +4 -0
- package/lib/v2/bnu/fdy.js +41 -0
- package/lib/v2/bnu/lib.js +40 -0
- package/lib/v2/bnu/maintainer.js +3 -0
- package/lib/v2/bnu/radar.js +23 -5
- package/lib/v2/bnu/router.js +2 -0
- package/lib/v2/caai/index.js +22 -0
- package/lib/v2/caai/maintainer.js +3 -0
- package/lib/v2/caai/radar.js +13 -0
- package/lib/v2/caai/router.js +3 -0
- package/lib/v2/caai/utils.js +46 -0
- package/lib/v2/caixin/latest.js +5 -5
- package/lib/v2/camchina/index.js +52 -0
- package/lib/v2/camchina/maintainer.js +3 -0
- package/lib/v2/camchina/radar.js +13 -0
- package/lib/v2/camchina/router.js +3 -0
- package/lib/v2/cankaoxiaoxi/index.js +44 -57
- package/lib/v2/cankaoxiaoxi/maintainer.js +2 -1
- package/lib/v2/cankaoxiaoxi/radar.js +7 -52
- package/lib/v2/cankaoxiaoxi/router.js +2 -1
- package/lib/v2/cankaoxiaoxi/templates/description.art +5 -0
- package/lib/v2/cas/ia/yjs.js +25 -0
- package/lib/v2/cas/is/index.js +44 -0
- package/lib/v2/cas/maintainer.js +2 -0
- package/lib/v2/cas/radar.js +21 -1
- package/lib/v2/cas/router.js +2 -0
- package/lib/v2/cau/ele.js +42 -0
- package/lib/v2/cau/maintainer.js +4 -0
- package/lib/v2/cau/radar.js +21 -0
- package/lib/v2/cau/router.js +4 -0
- package/lib/v2/cau/yjs.js +42 -0
- package/lib/v2/ccf/ccfcv/index.js +68 -0
- package/lib/v2/ccf/maintainer.js +5 -0
- package/lib/v2/ccf/news.js +45 -0
- package/lib/v2/ccf/radar.js +41 -0
- package/lib/v2/ccf/router.js +5 -0
- package/lib/v2/ccf/tfbd/index.js +22 -0
- package/lib/v2/ccf/tfbd/utils.js +47 -0
- package/lib/v2/ccnu/career.js +31 -0
- package/lib/v2/ccnu/cs.js +28 -0
- package/lib/v2/ccnu/maintainer.js +6 -0
- package/lib/v2/ccnu/radar.js +40 -0
- package/lib/v2/ccnu/router.js +6 -0
- package/lib/v2/ccnu/wu.js +27 -0
- package/lib/v2/ccnu/yjs.js +27 -0
- package/lib/v2/cebbank/all.js +5 -2
- package/lib/v2/cebbank/history.js +1 -0
- package/lib/v2/cebbank/radar.js +6 -6
- package/lib/v2/cgtn/maintainer.js +3 -0
- package/lib/v2/cgtn/podcast.js +35 -0
- package/lib/v2/cgtn/radar.js +13 -0
- package/lib/v2/cgtn/router.js +3 -0
- package/lib/v2/chiculture/maintainer.js +3 -0
- package/lib/v2/chiculture/radar.js +16 -0
- package/lib/v2/chiculture/router.js +3 -0
- package/lib/v2/chiculture/topic.js +61 -0
- package/lib/v2/chinathinktanks/radar.js +1 -1
- package/lib/v2/chsi/hotnews.js +56 -0
- package/lib/v2/chsi/kyzx.js +51 -0
- package/lib/v2/chsi/maintainer.js +2 -0
- package/lib/v2/chsi/radar.js +12 -0
- package/lib/v2/chsi/router.js +2 -0
- package/lib/v2/civitai/discussions.js +42 -0
- package/lib/v2/civitai/maintainer.js +4 -0
- package/lib/v2/civitai/models.js +26 -0
- package/lib/v2/civitai/radar.js +19 -0
- package/lib/v2/civitai/router.js +4 -0
- package/lib/v2/cloudnative/blog.js +34 -0
- package/lib/v2/cloudnative/maintainer.js +3 -0
- package/lib/v2/cloudnative/radar.js +13 -0
- package/lib/v2/cloudnative/router.js +3 -0
- package/lib/v2/cls/depth.js +84 -0
- package/lib/v2/cls/hot.js +54 -0
- package/lib/v2/cls/maintainer.js +5 -0
- package/lib/v2/cls/radar.js +25 -0
- package/lib/v2/cls/router.js +5 -0
- package/lib/v2/cls/telegraph.js +54 -0
- package/lib/v2/cls/templates/depth.art +10 -0
- package/lib/v2/cls/templates/telegraph.art +10 -0
- package/lib/v2/cls/utils.js +21 -0
- package/lib/v2/cneb/maintainer.js +4 -0
- package/lib/v2/cneb/radar.js +19 -0
- package/lib/v2/cneb/router.js +5 -0
- package/lib/v2/cneb/yjxw.js +72 -0
- package/lib/v2/cneb/yjxx.js +50 -0
- package/lib/v2/cnki/author.js +38 -26
- package/lib/v2/cnki/maintainer.js +1 -1
- package/lib/v2/cntheory/paper.js +25 -29
- package/lib/v2/codeforces/contests.js +13 -5
- package/lib/v2/codeforces/templates/contest.art +2 -3
- package/lib/v2/coindesk/index.js +5 -7
- package/lib/v2/comicat/maintainer.js +3 -0
- package/lib/v2/comicat/radar.js +11 -0
- package/lib/v2/comicat/router.js +3 -0
- package/lib/v2/comicat/search.js +42 -0
- package/lib/v2/coomer/utils.js +3 -1
- package/lib/v2/copymanga/comic.js +74 -58
- package/lib/v2/copymanga/templates/comic.art +1 -1
- package/lib/v2/cpuid/maintainer.js +3 -0
- package/lib/v2/cqgas/maintainer.js +3 -0
- package/lib/v2/cqgas/radar.js +13 -0
- package/lib/v2/cqgas/router.js +3 -0
- package/lib/v2/cqgas/tqtz.js +36 -0
- package/lib/v2/crossbell/radar.js +2 -2
- package/lib/v2/cssn/iolaw.js +38 -0
- package/lib/v2/cssn/maintainer.js +3 -0
- package/lib/v2/cssn/radar.js +11 -0
- package/lib/v2/cssn/router.js +3 -0
- package/lib/v2/cste/index.js +56 -0
- package/lib/v2/cste/maintainer.js +3 -0
- package/lib/v2/cste/radar.js +13 -0
- package/lib/v2/cste/router.js +3 -0
- package/lib/v2/csu/career.js +51 -0
- package/lib/v2/csu/mail.js +30 -26
- package/lib/v2/csu/maintainer.js +2 -0
- package/lib/v2/csu/radar.js +10 -2
- package/lib/v2/csu/router.js +1 -1
- package/lib/v2/csu/utils.js +17 -0
- package/lib/v2/cuc/radar.js +2 -2
- package/lib/v2/cuc/yz.js +16 -20
- package/lib/v2/curiouscat/maintainer.js +3 -0
- package/lib/v2/curiouscat/radar.js +13 -0
- package/lib/v2/curiouscat/router.js +3 -0
- package/lib/v2/curiouscat/user.js +40 -0
- package/lib/v2/cztv/daily.js +41 -0
- package/lib/v2/cztv/maintainer.js +4 -0
- package/lib/v2/cztv/radar.js +19 -0
- package/lib/v2/cztv/router.js +4 -0
- package/lib/v2/cztv/templates/daily.art +4 -0
- package/lib/v2/cztv/templates/zjxwlb.art +3 -0
- package/lib/v2/cztv/zjxwlb.js +38 -0
- package/lib/v2/dahecube/radar.js +3 -2
- package/lib/v2/daily/discussed.js +73 -0
- package/lib/v2/daily/index.js +83 -0
- package/lib/v2/daily/maintainer.js +5 -0
- package/lib/v2/daily/radar.js +25 -0
- package/lib/v2/daily/router.js +5 -0
- package/lib/v2/daily/upvoted.js +77 -0
- package/lib/v2/daily/utils.js +39 -0
- package/lib/v2/dblp/maintainer.js +3 -0
- package/lib/v2/dblp/publication.js +70 -0
- package/lib/v2/dblp/radar.js +13 -0
- package/lib/v2/dblp/router.js +3 -0
- package/lib/v2/dcfever/radar.js +4 -4
- package/lib/v2/ddosi/radar.js +2 -2
- package/lib/v2/deadline/maintainer.js +4 -0
- package/lib/v2/deadline/posts.js +53 -0
- package/lib/v2/deadline/radar.js +13 -0
- package/lib/v2/deadline/router.js +3 -0
- package/lib/v2/deadline/templates/desc.art +10 -0
- package/lib/v2/devolverdigital/blog.js +50 -0
- package/lib/v2/devolverdigital/maintainer.js +3 -0
- package/lib/v2/devolverdigital/radar.js +13 -0
- package/lib/v2/devolverdigital/router.js +3 -0
- package/lib/v2/dhu/maintainer.js +2 -0
- package/lib/v2/dhu/news/xsxx.js +42 -0
- package/lib/v2/dhu/radar.js +14 -0
- package/lib/v2/dhu/router.js +2 -0
- package/lib/v2/dhu/yjs/zs.js +46 -0
- package/lib/v2/discord/channel.js +38 -0
- package/lib/v2/discord/discord-api.js +61 -0
- package/lib/v2/discord/maintainer.js +3 -0
- package/lib/v2/discord/radar.js +13 -0
- package/lib/v2/discord/router.js +3 -0
- package/lib/v2/discord/templates/message.art +47 -0
- package/lib/v2/disinformationindex/maintainer.js +1 -1
- package/lib/v2/disinformationindex/radar.js +1 -1
- package/lib/v2/dlsite/ci-en/article.js +64 -0
- package/lib/v2/dlsite/index.js +5 -0
- package/lib/v2/dlsite/maintainer.js +2 -0
- package/lib/v2/dlsite/radar.js +14 -0
- package/lib/v2/dlsite/router.js +2 -0
- package/lib/v2/dlsite/templates/description.art +158 -0
- package/lib/v2/dlsite/utils.js +176 -0
- package/lib/v2/domp4/detail.js +26 -2
- package/lib/v2/domp4/latest.js +3 -2
- package/lib/v2/domp4/utils.js +3 -0
- package/lib/v2/dorohedoro/maintainer.js +3 -0
- package/lib/v2/dorohedoro/news.js +69 -0
- package/lib/v2/dorohedoro/radar.js +13 -0
- package/lib/v2/douban/maintainer.js +1 -0
- package/lib/v2/douban/other/list.js +40 -0
- package/lib/v2/douban/people/wish.js +3 -24
- package/lib/v2/douban/radar.js +6 -0
- package/lib/v2/douban/router.js +1 -0
- package/lib/v2/douban/templates/list_description.art +25 -0
- package/lib/v2/duozhuayu/maintainer.js +3 -0
- package/lib/v2/duozhuayu/radar.js +13 -0
- package/lib/v2/duozhuayu/router.js +3 -0
- package/lib/v2/duozhuayu/search.js +67 -0
- package/lib/v2/duozhuayu/templates/book.art +10 -0
- package/lib/v2/dxy/maintainer.js +4 -0
- package/lib/v2/dxy/profile/thread.js +82 -0
- package/lib/v2/dxy/radar.js +21 -0
- package/lib/v2/dxy/router.js +4 -0
- package/lib/v2/dxy/special.js +79 -0
- package/lib/v2/dxy/utils.js +72 -0
- package/lib/v2/earthquake/radar.js +2 -2
- package/lib/v2/eastmoney/maintainer.js +5 -0
- package/lib/v2/eastmoney/radar.js +16 -0
- package/lib/v2/eastmoney/report/index.js +59 -0
- package/lib/v2/eastmoney/router.js +2 -0
- package/lib/v2/eastmoney/search/index.js +55 -0
- package/lib/v2/ecust/e/news.js +44 -0
- package/lib/v2/ecust/gschool/yjs.js +27 -0
- package/lib/v2/ecust/maintainer.js +4 -0
- package/lib/v2/ecust/radar.js +21 -0
- package/lib/v2/ecust/router.js +4 -0
- package/lib/v2/embassy/radar.js +1 -1
- package/lib/v2/embassy/supportedList.js +4 -4
- package/lib/v2/epicgames/radar.js +13 -0
- package/lib/v2/feng/maintainer.js +3 -0
- package/lib/v2/ff14/radar.js +30 -0
- package/lib/v2/fffdm/radar.js +2 -2
- package/lib/v2/firecore/index.js +37 -0
- package/lib/v2/firecore/maintainer.js +3 -0
- package/lib/v2/firecore/radar.js +13 -0
- package/lib/v2/firecore/router.js +3 -0
- package/lib/v2/fishshell/index.js +27 -0
- package/lib/v2/fishshell/maintainer.js +3 -0
- package/lib/v2/fishshell/radar.js +13 -0
- package/lib/v2/flyert/creditcard.js +3 -0
- package/lib/v2/flyert/utils.js +14 -8
- package/lib/v2/followin/index.js +35 -0
- package/lib/v2/followin/kol.js +25 -0
- package/lib/v2/followin/maintainer.js +7 -0
- package/lib/v2/followin/news.js +21 -0
- package/lib/v2/followin/radar.js +37 -0
- package/lib/v2/followin/router.js +7 -0
- package/lib/v2/followin/tag.js +44 -0
- package/lib/v2/followin/templates/thread.art +15 -0
- package/lib/v2/followin/topic.js +25 -0
- package/lib/v2/followin/utils.js +84 -0
- package/lib/v2/fortnite/maintainer.js +3 -0
- package/lib/v2/fortnite/news.js +58 -0
- package/lib/v2/fortnite/radar.js +16 -0
- package/lib/v2/fortnite/router.js +3 -0
- package/lib/v2/freebuf/index.js +41 -0
- package/lib/v2/freebuf/maintainer.js +3 -0
- package/lib/v2/freebuf/radar.js +13 -0
- package/lib/v2/freebuf/router.js +3 -0
- package/lib/v2/freecomputerbooks/index.js +94 -0
- package/lib/v2/freecomputerbooks/maintainer.js +4 -0
- package/lib/v2/freecomputerbooks/radar.js +31 -0
- package/lib/v2/freecomputerbooks/router.js +3 -0
- package/lib/v2/freecomputerbooks/templates/desc.art +3 -0
- package/lib/v2/furstar/templates/description.art +1 -1
- package/lib/v2/futunn/main.js +67 -0
- package/lib/v2/futunn/maintainer.js +3 -0
- package/lib/v2/futunn/radar.js +13 -0
- package/lib/v2/futunn/router.js +5 -0
- package/lib/v2/futunn/templates/description.art +6 -0
- package/lib/v2/fx678/kx.js +44 -0
- package/lib/v2/fx678/maintainer.js +3 -0
- package/lib/v2/fx678/radar.js +13 -0
- package/lib/v2/fx678/router.js +3 -0
- package/lib/v2/fzmtr/announcements.js +38 -0
- package/lib/v2/fzmtr/maintainer.js +3 -0
- package/lib/v2/fzmtr/radar.js +11 -0
- package/lib/v2/fzmtr/router.js +3 -0
- package/lib/v2/gameapps/index.js +32 -13
- package/lib/v2/gamebase/maintainer.js +3 -0
- package/lib/v2/gamebase/news.js +74 -0
- package/lib/v2/gamebase/radar.js +13 -0
- package/lib/v2/gamebase/router.js +3 -0
- package/lib/v2/gcores/collection.js +136 -0
- package/lib/v2/gcores/maintainer.js +2 -0
- package/lib/v2/gcores/radar.js +18 -0
- package/lib/v2/gcores/radio.js +90 -0
- package/lib/v2/gcores/router.js +2 -0
- package/lib/v2/gcores/templates/content.art +16 -0
- package/lib/v2/geocaching/blogs.js +30 -0
- package/lib/v2/geocaching/maintainer.js +3 -0
- package/lib/v2/geocaching/radar.js +13 -0
- package/lib/v2/geocaching/router.js +3 -0
- package/lib/v2/geocaching/templates/blogs.art +6 -0
- package/lib/v2/gettr/maintainer.js +3 -0
- package/lib/v2/gettr/radar.js +13 -0
- package/lib/v2/gettr/router.js +3 -0
- package/lib/v2/gettr/templates/post.art +13 -0
- package/lib/v2/gettr/user.js +56 -0
- package/lib/v2/gitee/radar.js +4 -4
- package/lib/v2/github/comments.js +14 -15
- package/lib/v2/github/gist.js +35 -0
- package/lib/v2/github/maintainer.js +4 -2
- package/lib/v2/github/notifications.js +47 -0
- package/lib/v2/github/radar.js +14 -0
- package/lib/v2/github/router.js +2 -0
- package/lib/v2/github/trending.js +8 -10
- package/lib/v2/globallawreview/index.js +55 -0
- package/lib/v2/globallawreview/maintainer.js +3 -0
- package/lib/v2/globallawreview/radar.js +13 -0
- package/lib/v2/globallawreview/router.js +3 -0
- package/lib/v2/gov/cac/index.js +64 -0
- package/lib/v2/gov/ccdi/index.js +1 -1
- package/lib/v2/gov/ccdi/utils.js +1 -1
- package/lib/v2/gov/chinatax/latest.js +48 -0
- package/lib/v2/gov/chongqing/rsks.js +38 -0
- package/lib/v2/gov/csrc/auditstatus.js +54 -0
- package/lib/v2/gov/csrc/news.js +69 -0
- package/lib/v2/gov/csrc/templates/attachment.art +3 -0
- package/lib/v2/gov/jinan/healthcommission/medical_exam_notice.js +49 -0
- package/lib/v2/gov/maintainer.js +12 -2
- package/lib/v2/gov/moe/moe.js +4 -4
- package/lib/v2/gov/moe/s78.js +44 -0
- package/lib/v2/gov/news/index.js +119 -0
- package/lib/v2/gov/nifdc/index.js +2 -17
- package/lib/v2/gov/nmpa/generic.js +5 -27
- package/lib/v2/gov/nrta/dsj.js +59 -0
- package/lib/v2/gov/radar.js +131 -3
- package/lib/v2/gov/router.js +11 -1
- package/lib/v2/gov/sichuan/deyang/govpublicinfo.js +92 -0
- package/lib/v2/gov/sichuan/deyang/mztoday.js +134 -0
- package/lib/v2/gov/sichuan/deyang/templates/govPublicInfo.art +42 -37
- package/lib/v2/gov/sichuan/deyang/templates/mztoday.art +6 -0
- package/lib/v2/gov/stats/index.js +101 -8
- package/lib/v2/gov/stats/templates/description.art +12 -0
- package/lib/v2/gq/tw/index.js +1 -1
- package/lib/v2/guangzhoumetro/maintainer.js +3 -0
- package/lib/v2/guangzhoumetro/news.js +37 -0
- package/lib/v2/guangzhoumetro/radar.js +11 -0
- package/lib/v2/guangzhoumetro/router.js +3 -0
- package/lib/v2/gxmzu/ai.js +18 -0
- package/lib/v2/gxmzu/maintainer.js +4 -0
- package/lib/v2/gxmzu/radar.js +21 -0
- package/lib/v2/gxmzu/router.js +4 -0
- package/lib/v2/gxmzu/utils/index.js +55 -0
- package/lib/v2/gxmzu/yjs.js +18 -0
- package/lib/v2/gz-cmc/index.js +137 -0
- package/lib/v2/gz-cmc/maintainer.js +3 -0
- package/lib/v2/gz-cmc/radar.js +12 -0
- package/lib/v2/gz-cmc/router.js +3 -0
- package/lib/v2/gz-cmc/templates/description.art +3 -0
- package/lib/v2/gzdaily/app.js +53 -0
- package/lib/v2/gzdaily/maintainer.js +3 -0
- package/lib/v2/gzdaily/radar.js +12 -0
- package/lib/v2/gzdaily/router.js +3 -0
- package/lib/v2/gzdaily/templates/description.art +3 -0
- package/lib/v2/gzhu/maintainer.js +3 -0
- package/lib/v2/gzhu/radar.js +13 -0
- package/lib/v2/gzhu/router.js +3 -0
- package/lib/v2/gzhu/yjs.js +31 -0
- package/lib/v2/hackertalk/radar.js +1 -1
- package/lib/v2/hacking8/index.js +45 -0
- package/lib/v2/hacking8/maintainer.js +4 -0
- package/lib/v2/hacking8/radar.js +19 -0
- package/lib/v2/hacking8/router.js +4 -0
- package/lib/v2/hacking8/search.js +48 -0
- package/lib/v2/hackmd/radar.js +1 -1
- package/lib/v2/hinatazaka46/blog.js +40 -0
- package/lib/v2/hinatazaka46/maintainer.js +4 -0
- package/lib/v2/hinatazaka46/news.js +51 -0
- package/lib/v2/hinatazaka46/radar.js +19 -0
- package/lib/v2/hinatazaka46/router.js +4 -0
- package/lib/v2/hk01/channel.js +2 -2
- package/lib/v2/hk01/latest.js +20 -0
- package/lib/v2/hk01/maintainer.js +1 -0
- package/lib/v2/hk01/radar.js +11 -5
- package/lib/v2/hk01/router.js +1 -0
- package/lib/v2/hkepc/data.js +62 -0
- package/lib/v2/hkepc/index.js +55 -164
- package/lib/v2/hnu/careers.js +33 -0
- package/lib/v2/hnu/maintainer.js +3 -0
- package/lib/v2/hnu/radar.js +12 -0
- package/lib/v2/hnu/router.js +3 -0
- package/lib/v2/hrbust/radar.js +1 -1
- package/lib/v2/huggingface/daily-papers.js +23 -0
- package/lib/v2/huggingface/maintainer.js +3 -0
- package/lib/v2/huggingface/radar.js +13 -0
- package/lib/v2/huggingface/router.js +3 -0
- package/lib/v2/hunanpea/maintainer.js +3 -0
- package/lib/v2/hunanpea/radar.js +13 -0
- package/lib/v2/hunanpea/router.js +3 -0
- package/lib/v2/hunanpea/rsks.js +42 -0
- package/lib/v2/huoxian/maintainer.js +3 -0
- package/lib/v2/huoxian/radar.js +11 -0
- package/lib/v2/huoxian/router.js +3 -0
- package/lib/v2/huoxian/zone.js +19 -0
- package/lib/v2/hust/aia/news.js +26 -0
- package/lib/v2/hust/aia/notice.js +29 -0
- package/lib/v2/hust/maintainer.js +7 -0
- package/lib/v2/hust/radar.js +27 -0
- package/lib/v2/hust/router.js +7 -0
- package/lib/v2/hust/yjs.js +27 -0
- package/lib/v2/i-cable/category.js +74 -0
- package/lib/v2/i-cable/maintainer.js +3 -0
- package/lib/v2/i-cable/radar.js +13 -0
- package/lib/v2/i-cable/router.js +3 -0
- package/lib/v2/i-cable/templates/desc.art +8 -0
- package/lib/v2/ibc/maintainer.js +4 -0
- package/lib/v2/ibc/maitta.js +32 -0
- package/lib/v2/ibc/radar.js +19 -0
- package/lib/v2/ibc/radio.js +73 -0
- package/lib/v2/ibc/router.js +4 -0
- package/lib/v2/ibc/templates/description.art +6 -0
- package/lib/v2/icac/radar.js +2 -2
- package/lib/v2/idolypride/maintainer.js +3 -0
- package/lib/v2/idolypride/news.js +29 -0
- package/lib/v2/idolypride/radar.js +13 -0
- package/lib/v2/idolypride/router.js +3 -0
- package/lib/v2/ieee/earlyaccess.js +77 -0
- package/lib/v2/ieee/maintainer.js +1 -0
- package/lib/v2/ieee/radar.js +6 -0
- package/lib/v2/ieee/router.js +2 -1
- package/lib/v2/ifeng/feng.js +40 -42
- package/lib/v2/ifeng/radar.js +11 -1
- package/lib/v2/ifeng/templates/video.art +5 -0
- package/lib/v2/ifeng/utils.js +12 -14
- package/lib/v2/ifi-audio/radar.js +11 -0
- package/lib/v2/infoq/utils.js +2 -1
- package/lib/v2/inoreader/index.js +46 -0
- package/lib/v2/inoreader/maintainer.js +4 -0
- package/lib/v2/inoreader/radar.js +23 -0
- package/lib/v2/inoreader/router.js +4 -0
- package/lib/v2/inoreader/rss.js +47 -0
- package/lib/v2/instagram/common-utils.js +59 -0
- package/lib/v2/instagram/maintainer.js +4 -0
- package/lib/v2/instagram/private-api/index.js +94 -0
- package/lib/v2/instagram/private-api/utils.js +37 -0
- package/lib/v2/instagram/radar.js +19 -0
- package/lib/v2/instagram/router.js +4 -0
- package/lib/v2/instagram/templates/images.art +5 -0
- package/lib/v2/instagram/templates/video.art +5 -0
- package/lib/v2/instagram/web-api/index.js +70 -0
- package/lib/v2/instagram/web-api/utils.js +99 -0
- package/lib/v2/instructables/maintainer.js +3 -0
- package/lib/v2/instructables/projects.js +56 -0
- package/lib/v2/instructables/radar.js +19 -0
- package/lib/v2/instructables/router.js +3 -0
- package/lib/v2/iqnew/latest.js +57 -0
- package/lib/v2/iqnew/maintainer.js +3 -0
- package/lib/v2/iqnew/radar.js +13 -0
- package/lib/v2/iqnew/router.js +3 -0
- package/lib/v2/iresearch/radar.js +2 -2
- package/lib/v2/ithome/radar.js +3 -3
- package/lib/v2/iwara/index.js +36 -24
- package/lib/v2/iwara/radar.js +3 -3
- package/lib/v2/iwara/subscriptions.js +131 -32
- package/lib/v2/iwara/templates/subscriptions.art +1 -1
- package/lib/v2/javdb/utils.js +5 -4
- package/lib/v2/jike/radar.js +20 -0
- package/lib/v2/jin10/maintainer.js +1 -0
- package/lib/v2/jin10/radar.js +8 -0
- package/lib/v2/jin10/router.js +1 -0
- package/lib/v2/jin10/topic.js +50 -0
- package/lib/v2/jou/home.js +18 -0
- package/lib/v2/jou/maintainer.js +4 -0
- package/lib/v2/jou/radar.js +21 -0
- package/lib/v2/jou/router.js +6 -0
- package/lib/v2/jou/utils/index.js +60 -0
- package/lib/v2/jou/yz.js +18 -0
- package/lib/v2/kemono/index.js +21 -17
- package/lib/v2/kemono/templates/discord.art +22 -0
- package/lib/v2/keylol/index.js +82 -0
- package/lib/v2/keylol/maintainer.js +3 -0
- package/lib/v2/keylol/radar.js +18 -0
- package/lib/v2/keylol/router.js +3 -0
- package/lib/v2/kunchengblog/essay.js +50 -0
- package/lib/v2/kunchengblog/maintainer.js +3 -0
- package/lib/v2/kunchengblog/radar.js +13 -0
- package/lib/v2/kunchengblog/router.js +3 -0
- package/lib/v2/layer3/maintainer.js +3 -0
- package/lib/v2/layer3/quests.js +37 -0
- package/lib/v2/layer3/radar.js +13 -0
- package/lib/v2/layer3/router.js +3 -0
- package/lib/v2/layer3/templates/description.art +24 -0
- package/lib/v2/line/maintainer.js +1 -0
- package/lib/v2/line/publisher.js +53 -0
- package/lib/v2/line/radar.js +8 -2
- package/lib/v2/line/router.js +1 -0
- package/lib/v2/line/today.js +5 -41
- package/lib/v2/line/utils.js +59 -0
- package/lib/v2/logonews/router.js +1 -1
- package/lib/v2/luogu/userFeed.js +1 -0
- package/lib/v2/macmenubar/maintainer.js +3 -0
- package/lib/v2/macmenubar/radar.js +13 -0
- package/lib/v2/macmenubar/recently.js +47 -0
- package/lib/v2/macmenubar/router.js +3 -0
- package/lib/v2/macupdate/app.js +43 -0
- package/lib/v2/macupdate/maintainer.js +3 -0
- package/lib/v2/macupdate/radar.js +13 -0
- package/lib/v2/macupdate/router.js +3 -0
- package/lib/v2/magazinelib/latest-magazine.js +55 -0
- package/lib/v2/magazinelib/maintainer.js +3 -0
- package/lib/v2/magazinelib/radar.js +19 -0
- package/lib/v2/magazinelib/router.js +3 -0
- package/lib/v2/magazinelib/templates/magazine-description.art +3 -0
- package/lib/v2/mastodon/maintainer.js +6 -0
- package/lib/v2/mastodon/radar.js +30 -0
- package/lib/v2/mastodon/router.js +6 -0
- package/lib/v2/mastodon/timeline_local.js +22 -0
- package/lib/v2/mastodon/timeline_remote.js +22 -0
- package/lib/v2/mastodon/utils.js +133 -0
- package/lib/v2/mckinsey/maintainer.js +3 -0
- package/lib/v2/mdpi/maintainer.js +0 -0
- package/lib/v2/mdpi/radar.js +0 -0
- package/lib/v2/mdpi/router.js +0 -0
- package/lib/v2/mdpi/templates/description.art +0 -0
- package/lib/v2/medium/following.js +31 -0
- package/lib/v2/medium/for-you.js +31 -0
- package/lib/v2/medium/graphql.js +190 -0
- package/lib/v2/medium/list.js +32 -0
- package/lib/v2/medium/maintainer.js +6 -0
- package/lib/v2/medium/parse-article.js +60 -0
- package/lib/v2/medium/radar.js +23 -0
- package/lib/v2/medium/router.js +6 -0
- package/lib/v2/medium/tag.js +32 -0
- package/lib/v2/mihoyo/maintainer.js +1 -0
- package/lib/v2/mihoyo/radar.js +16 -0
- package/lib/v2/mihoyo/router.js +1 -0
- package/lib/v2/mihoyo/sr/news.js +71 -0
- package/lib/v2/mihoyo/templates/ys.art +4 -0
- package/lib/v2/mihoyo/ys/news.js +132 -52
- package/lib/v2/mingpao/index.js +16 -6
- package/lib/v2/misskey/templates/note.art +3 -1
- package/lib/v2/modelscope/community.js +55 -0
- package/lib/v2/modelscope/datasets.js +55 -0
- package/lib/v2/modelscope/maintainer.js +6 -0
- package/lib/v2/modelscope/models.js +45 -0
- package/lib/v2/modelscope/radar.js +33 -0
- package/lib/v2/modelscope/router.js +6 -0
- package/lib/v2/modelscope/studios.js +57 -0
- package/lib/v2/modelscope/templates/community.art +11 -0
- package/lib/v2/modelscope/templates/desc.art +9 -0
- package/lib/v2/mrdx/radar.js +1 -1
- package/lib/v2/nasa/apod-cn.js +24 -0
- package/lib/v2/nasa/apod-ncku.js +51 -0
- package/lib/v2/nasa/apod.js +51 -0
- package/lib/v2/nasa/maintainer.js +5 -0
- package/lib/v2/nasa/radar.js +22 -0
- package/lib/v2/nasa/router.js +5 -0
- package/lib/v2/natgeo/radar.js +1 -1
- package/lib/v2/nationalgeographic/latest-stories.js +56 -0
- package/lib/v2/nationalgeographic/maintainer.js +3 -0
- package/lib/v2/nationalgeographic/radar.js +13 -0
- package/lib/v2/nationalgeographic/router.js +3 -0
- package/lib/v2/nationalgeographic/templates/stories.art +44 -0
- package/lib/v2/nature/radar.js +1 -1
- package/lib/v2/nber/index.js +48 -0
- package/lib/v2/nber/maintainer.js +4 -0
- package/lib/v2/nber/radar.js +19 -0
- package/lib/v2/nber/router.js +4 -0
- package/lib/v2/nber/template/description.art +6 -0
- package/lib/v2/ncepu/radar.js +1 -1
- package/lib/v2/nenu/maintainer.js +4 -0
- package/lib/v2/nenu/radar.js +21 -0
- package/lib/v2/nenu/router.js +4 -0
- package/lib/v2/nenu/sohac.js +60 -0
- package/lib/v2/nenu/yjsy.js +64 -0
- package/lib/v2/newrank/douyin.js +63 -0
- package/lib/v2/newrank/maintainer.js +4 -0
- package/lib/v2/newrank/radar.js +15 -0
- package/lib/v2/newrank/router.js +4 -0
- package/lib/v2/newrank/wechat.js +65 -0
- package/lib/v2/newzmz/index.js +90 -0
- package/lib/v2/newzmz/maintainer.js +4 -0
- package/lib/v2/newzmz/radar.js +19 -0
- package/lib/v2/newzmz/router.js +5 -0
- package/lib/v2/newzmz/templates/description.art +7 -0
- package/lib/v2/newzmz/view.js +57 -0
- package/lib/v2/nhentai/maintainer.js +4 -0
- package/lib/v2/nhentai/other.js +30 -0
- package/lib/v2/nhentai/radar.js +19 -0
- package/lib/v2/nhentai/router.js +4 -0
- package/lib/v2/nhentai/search.js +23 -0
- package/lib/v2/nhentai/templates/desc.art +4 -0
- package/lib/v2/nhentai/util.js +147 -0
- package/lib/v2/nhk/maintainer.js +4 -0
- package/lib/v2/nhk/news_web_easy.js +8 -3
- package/lib/v2/nhk/templates/news_web_easy.art +7 -0
- package/lib/v2/nikkei/asia/index.js +53 -0
- package/lib/v2/nikkei/cn/index.js +91 -0
- package/lib/v2/nikkei/index.js +36 -0
- package/lib/v2/nikkei/maintainer.js +6 -0
- package/lib/v2/nikkei/news.js +90 -0
- package/lib/v2/nikkei/radar.js +59 -0
- package/lib/v2/nikkei/router.js +7 -0
- package/lib/v2/nikkei/templates/news.art +4 -0
- package/lib/v2/njglyy/maintainer.js +3 -0
- package/lib/v2/njglyy/radar.js +13 -0
- package/lib/v2/njglyy/router.js +3 -0
- package/lib/v2/njglyy/utils/index.js +50 -0
- package/lib/v2/njglyy/ygbjypx.js +18 -0
- package/lib/v2/nju/zcc.js +7 -13
- package/lib/v2/njucm/grabs.js +18 -0
- package/lib/v2/njucm/maintainer.js +3 -0
- package/lib/v2/njucm/radar.js +13 -0
- package/lib/v2/njucm/router.js +3 -0
- package/lib/v2/njucm/utils/index.js +47 -0
- package/lib/v2/njxzc/home.js +13 -53
- package/lib/v2/njxzc/lib.js +26 -0
- package/lib/v2/njxzc/maintainer.js +1 -0
- package/lib/v2/njxzc/radar.js +9 -1
- package/lib/v2/njxzc/router.js +3 -1
- package/lib/v2/njxzc/utils/index.js +48 -0
- package/lib/v2/nogizaka46/blog.js +5 -1
- package/lib/v2/nogizaka46/maintainer.js +1 -1
- package/lib/v2/nogizaka46/router.js +1 -1
- package/lib/v2/notateslaapp/maintainer.js +3 -0
- package/lib/v2/notateslaapp/radar.js +13 -0
- package/lib/v2/notateslaapp/router.js +3 -0
- package/lib/v2/notateslaapp/update.js +36 -0
- package/lib/v2/notefolio/maintainer.js +3 -0
- package/lib/v2/notefolio/radar.js +13 -0
- package/lib/v2/notefolio/router.js +3 -0
- package/lib/v2/notefolio/search.js +145 -0
- package/lib/v2/notefolio/templates/search.art +9 -0
- package/lib/v2/notion/database.js +161 -0
- package/lib/v2/notion/maintainer.js +3 -0
- package/lib/v2/notion/radar.js +13 -0
- package/lib/v2/notion/router.js +3 -0
- package/lib/v2/nytimes/author.js +1 -1
- package/lib/v2/oeeee/app/channel.js +36 -0
- package/lib/v2/oeeee/app/reporter.js +30 -0
- package/lib/v2/oeeee/maintainer.js +5 -0
- package/lib/v2/oeeee/radar.js +12 -0
- package/lib/v2/oeeee/router.js +5 -0
- package/lib/v2/oeeee/templates/description.art +7 -0
- package/lib/v2/oeeee/utils.js +41 -0
- package/lib/v2/oeeee/web.js +36 -0
- package/lib/v2/openai/blog.js +44 -0
- package/lib/v2/openai/chatgpt.js +98 -0
- package/lib/v2/openai/common.js +72 -0
- package/lib/v2/openai/maintainer.js +4 -0
- package/lib/v2/openai/radar.js +35 -0
- package/lib/v2/openai/research.js +32 -0
- package/lib/v2/openai/router.js +5 -0
- package/lib/v2/openai/templates/article.art +2 -0
- package/lib/v2/oshwhub/explore.js +116 -0
- package/lib/v2/oshwhub/maintainer.js +3 -0
- package/lib/v2/oshwhub/radar.js +16 -0
- package/lib/v2/oshwhub/router.js +3 -0
- package/lib/v2/oshwhub/templates/description.art +58 -0
- package/lib/v2/ouc/it-postgraduate.js +27 -0
- package/lib/v2/ouc/it.js +43 -0
- package/lib/v2/ouc/maintainer.js +5 -0
- package/lib/v2/ouc/radar.js +27 -0
- package/lib/v2/ouc/router.js +5 -0
- package/lib/v2/ouc/yjs.js +27 -0
- package/lib/v2/patagonia/maintainer.js +3 -0
- package/lib/v2/patagonia/new-arrivals.js +61 -0
- package/lib/v2/patagonia/radar.js +23 -0
- package/lib/v2/patagonia/router.js +3 -0
- package/lib/v2/patagonia/templates/product-description.art +4 -0
- package/lib/v2/people/router.js +1 -1
- package/lib/v2/picnob/maintainer.js +3 -0
- package/lib/v2/picnob/radar.js +13 -0
- package/lib/v2/picnob/router.js +3 -0
- package/lib/v2/picnob/templates/desc.art +13 -0
- package/lib/v2/picnob/user.js +61 -0
- package/lib/v2/picuki/profile.js +96 -116
- package/lib/v2/picuki/templates/video.art +3 -1
- package/lib/v2/picuki/utils.js +7 -2
- package/lib/v2/pikabu/community.js +37 -0
- package/lib/v2/pikabu/maintainer.js +5 -0
- package/lib/v2/pikabu/radar.js +25 -0
- package/lib/v2/pikabu/router.js +4 -0
- package/lib/v2/pikabu/templates/video.art +8 -0
- package/lib/v2/pikabu/user.js +46 -0
- package/lib/v2/pikabu/utils.js +43 -0
- package/lib/v2/pingwest/maintainer.js +5 -0
- package/lib/v2/pingwest/radar.js +25 -0
- package/lib/v2/pingwest/router.js +5 -0
- package/lib/v2/pingwest/status.js +47 -0
- package/lib/v2/pingwest/tag.js +43 -0
- package/lib/v2/pingwest/user.js +59 -0
- package/lib/v2/pingwest/utils.js +92 -0
- package/lib/v2/pixabay/maintainer.js +3 -0
- package/lib/v2/pixabay/radar.js +13 -0
- package/lib/v2/pixabay/router.js +3 -0
- package/lib/v2/pixabay/search.js +50 -0
- package/lib/v2/pixabay/templates/img.art +1 -0
- package/lib/v2/pixiv/api/getRanking.js +1 -1
- package/lib/v2/pixiv/novels.js +4 -1
- package/lib/v2/pixiv/ranking.js +3 -0
- package/lib/v2/pnas/index.js +101 -0
- package/lib/v2/pnas/maintainer.js +3 -0
- package/lib/v2/pnas/radar.js +13 -0
- package/lib/v2/pnas/router.js +3 -0
- package/lib/v2/pnas/templates/article.art +8 -0
- package/lib/v2/pumc/maintainer.js +3 -0
- package/lib/v2/pumc/mdadmission.js +62 -0
- package/lib/v2/pumc/radar.js +13 -0
- package/lib/v2/pumc/router.js +3 -0
- package/lib/v2/qdaily/index.js +87 -0
- package/lib/v2/qdaily/maintainer.js +3 -0
- package/lib/v2/qdaily/radar.js +25 -0
- package/lib/v2/qdaily/router.js +3 -0
- package/lib/v2/qdaily/templates/article.art +5 -0
- package/lib/v2/qdu/jwc.js +58 -0
- package/lib/v2/qdu/maintainer.js +3 -0
- package/lib/v2/qdu/radar.js +13 -0
- package/lib/v2/qdu/router.js +3 -0
- package/lib/v2/qianp/maintainer.js +3 -0
- package/lib/v2/qianp/news.js +48 -0
- package/lib/v2/qianp/radar.js +13 -0
- package/lib/v2/qianp/router.js +3 -0
- package/lib/v2/qiyoujiage/maintainer.js +3 -0
- package/lib/v2/qiyoujiage/price.js +28 -0
- package/lib/v2/qiyoujiage/radar.js +13 -0
- package/lib/v2/qiyoujiage/router.js +3 -0
- package/lib/v2/qweather/3days.js +1 -1
- package/lib/v2/qweather/maintainer.js +2 -2
- package/lib/v2/qweather/now.js +1 -1
- package/lib/v2/qweather/radar.js +15 -0
- package/lib/v2/radiofrance/geopolitique.js +33 -0
- package/lib/v2/radiofrance/maintainer.js +3 -0
- package/lib/v2/radiofrance/radar.js +13 -0
- package/lib/v2/radiofrance/router.js +3 -0
- package/lib/v2/radiofrance/templates/article.art +6 -0
- package/lib/v2/rattibha/maintainer.js +3 -0
- package/lib/v2/rattibha/radar.js +13 -0
- package/lib/v2/rattibha/router.js +3 -0
- package/lib/v2/rattibha/user.js +45 -0
- package/lib/v2/readhub/index.js +4 -4
- package/lib/v2/readhub/maintainer.js +1 -1
- package/lib/v2/reuters/common.js +48 -18
- package/lib/v2/reuters/investigates.js +1 -1
- package/lib/v2/reuters/maintainer.js +1 -1
- package/lib/v2/reuters/templates/description.art +2 -2
- package/lib/v2/right/forum.js +65 -0
- package/lib/v2/right/maintainer.js +3 -0
- package/lib/v2/right/radar.js +13 -0
- package/lib/v2/right/router.js +3 -0
- package/lib/v2/rsshub/radar.js +2 -2
- package/lib/v2/sakurazaka46/blog.js +4 -2
- package/lib/v2/sakurazaka46/maintainer.js +1 -1
- package/lib/v2/sakurazaka46/router.js +1 -1
- package/lib/v2/sass/gs/index.js +55 -0
- package/lib/v2/sass/maintainer.js +3 -0
- package/lib/v2/sass/radar.js +13 -0
- package/lib/v2/sass/router.js +3 -0
- package/lib/v2/scau/maintainer.js +3 -0
- package/lib/v2/scau/radar.js +13 -0
- package/lib/v2/scau/router.js +3 -0
- package/lib/v2/scau/yjs.js +27 -0
- package/lib/v2/scnu/cs/match.js +36 -0
- package/lib/v2/scnu/jw.js +33 -0
- package/lib/v2/scnu/library.js +33 -0
- package/lib/v2/scnu/maintainer.js +10 -0
- package/lib/v2/scnu/physics_school_announcements_and_news.js +94 -0
- package/lib/v2/scnu/radar.js +65 -0
- package/lib/v2/scnu/router.js +10 -0
- package/lib/v2/scnu/ss.js +28 -0
- package/lib/v2/scnu/yjs.js +24 -0
- package/lib/v2/scut/maintainer.js +8 -0
- package/lib/v2/scut/radar.js +33 -0
- package/lib/v2/scut/router.js +8 -0
- package/lib/v2/scut/scet/notice.js +31 -0
- package/lib/v2/scut/seie/news_center.js +52 -0
- package/lib/v2/scut/yjs.js +30 -0
- package/lib/v2/sdust/maintainer.js +3 -0
- package/lib/v2/sdust/radar.js +13 -0
- package/lib/v2/sdust/router.js +3 -0
- package/lib/v2/sdust/yjsy/zhaosheng.js +52 -0
- package/lib/v2/sdzk/index.js +55 -0
- package/lib/v2/sdzk/maintainer.js +3 -0
- package/lib/v2/sdzk/radar.js +17 -0
- package/lib/v2/sdzk/router.js +3 -0
- package/lib/v2/sec-in/index.js +19 -0
- package/lib/v2/sec-in/maintainer.js +3 -0
- package/lib/v2/sec-in/radar.js +11 -0
- package/lib/v2/sec-in/router.js +3 -0
- package/lib/v2/sec-wiki/maintainer.js +3 -0
- package/lib/v2/sec-wiki/radar.js +11 -0
- package/lib/v2/sec-wiki/router.js +3 -0
- package/lib/v2/sec-wiki/weekly.js +16 -0
- package/lib/v2/segmentfault/channel.js +2 -2
- package/lib/v2/sehuatang/index.js +131 -0
- package/lib/v2/sehuatang/maintainer.js +8 -0
- package/lib/v2/sehuatang/radar.js +19 -0
- package/lib/v2/sehuatang/router.js +8 -0
- package/lib/v2/sehuatang/user.js +113 -0
- package/lib/v2/setn/index.js +100 -0
- package/lib/v2/setn/maintainer.js +3 -0
- package/lib/v2/setn/radar.js +53 -0
- package/lib/v2/setn/router.js +3 -0
- package/lib/v2/shcstheatre/maintainer.js +3 -0
- package/lib/v2/shcstheatre/programs.js +39 -0
- package/lib/v2/shcstheatre/radar.js +13 -0
- package/lib/v2/shcstheatre/router.js +3 -0
- package/lib/v2/shcstheatre/templates/description.art +65 -0
- package/lib/v2/shiep/config.js +64 -0
- package/lib/v2/shiep/index.js +13 -34
- package/lib/v2/shiep/radar.js +303 -15
- package/lib/v2/shu/index.js +48 -0
- package/lib/v2/shu/jwb.js +45 -0
- package/lib/v2/shu/maintainer.js +4 -0
- package/lib/v2/shu/radar.js +21 -0
- package/lib/v2/shu/router.js +5 -0
- package/lib/v2/shuiguopai/index.js +11 -7
- package/lib/v2/shuiguopai/templates/description.art +3 -1
- package/lib/v2/sina/chuangshiji.js +17 -0
- package/lib/v2/sina/discovery.js +32 -0
- package/lib/v2/sina/finance/china.js +25 -0
- package/lib/v2/sina/finance/stock/usstock.js +37 -0
- package/lib/v2/sina/maintainer.js +8 -0
- package/lib/v2/sina/radar.js +49 -0
- package/lib/v2/sina/rollnews.js +31 -0
- package/lib/v2/sina/router.js +8 -0
- package/lib/v2/sina/sports.js +43 -0
- package/lib/v2/sina/templates/slide.art +3 -0
- package/lib/v2/sina/templates/video.art +5 -0
- package/lib/v2/sina/utils.js +104 -0
- package/lib/v2/sjtu/gs.js +60 -0
- package/lib/v2/sjtu/jwc.js +116 -0
- package/lib/v2/sjtu/maintainer.js +9 -0
- package/lib/v2/sjtu/radar.js +126 -0
- package/lib/v2/sjtu/router.js +9 -0
- package/lib/v2/sjtu/seiee/academic.js +17 -0
- package/lib/v2/sjtu/seiee/bjwb.js +44 -0
- package/lib/v2/sjtu/seiee/utils.js +40 -0
- package/lib/v2/sjtu/seiee/xsb.js +52 -0
- package/lib/v2/sjtu/templates/activity.art +6 -0
- package/lib/v2/sjtu/tongqu/activity.js +44 -0
- package/lib/v2/sjtu/yzb/zkxx.js +32 -0
- package/lib/v2/slowmist/maintainer.js +3 -0
- package/lib/v2/snowpeak/maintainer.js +3 -0
- package/lib/v2/snowpeak/radar.js +13 -0
- package/lib/v2/snowpeak/router.js +3 -0
- package/lib/v2/snowpeak/templates/new-arrivals.art +11 -0
- package/lib/v2/snowpeak/us-new-arrivals.js +45 -0
- package/lib/v2/sony/downloads.js +48 -0
- package/lib/v2/sony/maintainer.js +3 -0
- package/lib/v2/sony/radar.js +13 -0
- package/lib/v2/sony/router.js +3 -0
- package/lib/v2/sony/templates/software-description.art +4 -0
- package/lib/v2/southcn/maintainer.js +4 -0
- package/lib/v2/southcn/nfapp/column.js +45 -0
- package/lib/v2/southcn/nfapp/reporter.js +33 -0
- package/lib/v2/southcn/nfapp/utils.js +23 -0
- package/lib/v2/southcn/radar.js +12 -0
- package/lib/v2/southcn/router.js +4 -0
- package/lib/v2/southcn/templates/description.art +6 -0
- package/lib/v2/springer/maintainer.js +0 -0
- package/lib/v2/springer/radar.js +0 -0
- package/lib/v2/springer/router.js +0 -0
- package/lib/v2/springer/templates/description.art +0 -0
- package/lib/v2/sspai/radar.js +1 -1
- package/lib/v2/stbu/jsjxy.js +51 -0
- package/lib/v2/stbu/maintainer.js +4 -0
- package/lib/v2/stbu/radar.js +21 -0
- package/lib/v2/stbu/router.js +4 -0
- package/lib/v2/stbu/xyxw.js +52 -0
- package/lib/v2/stdaily/digitalpaper.js +125 -0
- package/lib/v2/stdaily/maintainer.js +3 -0
- package/lib/v2/stdaily/radar.js +11 -0
- package/lib/v2/stdaily/router.js +3 -0
- package/lib/v2/stdaily/templates/description.art +16 -0
- package/lib/v2/stheadline/std/realtime.js +2 -2
- package/lib/v2/storyfm/episodes.js +63 -0
- package/lib/v2/storyfm/maintainer.js +4 -0
- package/lib/v2/storyfm/radar.js +19 -0
- package/lib/v2/storyfm/router.js +4 -0
- package/lib/v2/storyfm/templates/description.art +6 -0
- package/lib/v2/studygolang/go.js +5 -0
- package/lib/v2/studygolang/jobs.js +3 -33
- package/lib/v2/studygolang/maintainer.js +3 -1
- package/lib/v2/studygolang/radar.js +14 -2
- package/lib/v2/studygolang/router.js +2 -0
- package/lib/v2/studygolang/utils.js +74 -0
- package/lib/v2/studygolang/weekly.js +7 -0
- package/lib/v2/sustech/bidding.js +34 -0
- package/lib/v2/sustech/maintainer.js +5 -0
- package/lib/v2/sustech/newshub-zh.js +39 -0
- package/lib/v2/sustech/radar.js +29 -0
- package/lib/v2/sustech/router.js +5 -0
- package/lib/v2/sustech/yjs.js +29 -0
- package/lib/v2/swjtu/jtys/yjs.js +33 -13
- package/lib/v2/swjtu/jwc.js +67 -0
- package/lib/v2/swjtu/jyzpxx.js +28 -0
- package/lib/v2/swjtu/maintainer.js +3 -0
- package/lib/v2/swjtu/radar.js +24 -0
- package/lib/v2/swjtu/router.js +3 -0
- package/lib/v2/swjtu/templates/job_desc.art +19 -0
- package/lib/v2/swjtu/templates/job_detail.art +21 -0
- package/lib/v2/swjtu/utils.js +33 -0
- package/lib/v2/swjtu/xg.js +79 -0
- package/lib/v2/sysu/maintainer.js +1 -0
- package/lib/v2/sysu/radar.js +8 -0
- package/lib/v2/sysu/router.js +1 -0
- package/lib/v2/sysu/ygafz.js +69 -0
- package/lib/v2/szu/maintainer.js +3 -0
- package/lib/v2/szu/radar.js +19 -0
- package/lib/v2/szu/router.js +3 -0
- package/lib/v2/szu/yz/index.js +51 -0
- package/lib/v2/szu/yz/utils.js +74 -0
- package/lib/v2/taiwannews/radar.js +1 -1
- package/lib/v2/tangshufang/index.js +59 -0
- package/lib/v2/tangshufang/maintainer.js +3 -0
- package/lib/v2/tangshufang/radar.js +13 -0
- package/lib/v2/tangshufang/router.js +3 -0
- package/lib/v2/techcrunch/maintainer.js +3 -0
- package/lib/v2/techcrunch/news.js +38 -0
- package/lib/v2/techcrunch/radar.js +13 -0
- package/lib/v2/techcrunch/router.js +3 -0
- package/lib/v2/techpowerup/index.js +69 -0
- package/lib/v2/techpowerup/maintainer.js +5 -0
- package/lib/v2/techpowerup/radar.js +19 -0
- package/lib/v2/techpowerup/review.js +69 -0
- package/lib/v2/techpowerup/router.js +4 -0
- package/lib/v2/techpowerup/utils.js +84 -0
- package/lib/v2/telecompaper/maintainer.js +4 -0
- package/lib/v2/telecompaper/news.js +101 -0
- package/lib/v2/telecompaper/radar.js +15 -0
- package/lib/v2/telecompaper/router.js +4 -0
- package/lib/v2/tencent/maintainer.js +1 -0
- package/lib/v2/tencent/news/author.js +48 -0
- package/lib/v2/tencent/radar.js +8 -2
- package/lib/v2/tencent/router.js +1 -0
- package/lib/v2/theatlantic/maintainer.js +3 -0
- package/lib/v2/theatlantic/news.js +32 -0
- package/lib/v2/theatlantic/radar.js +13 -0
- package/lib/v2/theatlantic/router.js +3 -0
- package/lib/v2/theatlantic/templates/article-description.art +19 -0
- package/lib/v2/theatlantic/utils.js +54 -0
- package/lib/v2/themoviedb/api-key.js +23 -0
- package/lib/v2/themoviedb/collection.js +21 -0
- package/lib/v2/themoviedb/episodes.js +27 -0
- package/lib/v2/themoviedb/maintainer.js +7 -0
- package/lib/v2/themoviedb/radar.js +73 -0
- package/lib/v2/themoviedb/router.js +7 -0
- package/lib/v2/themoviedb/seasons.js +31 -0
- package/lib/v2/themoviedb/sheet.js +45 -0
- package/lib/v2/themoviedb/templates/description.art +6 -0
- package/lib/v2/themoviedb/trending.js +24 -0
- package/lib/v2/themoviedb/utils.js +34 -0
- package/lib/v2/threads/index.js +203 -0
- package/lib/v2/threads/maintainer.js +3 -0
- package/lib/v2/threads/radar.js +13 -0
- package/lib/v2/threads/router.js +3 -0
- package/lib/v2/tiktok/user.js +5 -5
- package/lib/v2/tingshuitz/maintainer.js +1 -0
- package/lib/v2/tingshuitz/radar.js +11 -0
- package/lib/v2/tingshuitz/router.js +1 -0
- package/lib/v2/tingshuitz/shenzhen.js +29 -0
- package/lib/v2/tingshuitz/templates/shenzhen.art +8 -0
- package/lib/v2/tingshuitz/xiaoshan.js +3 -3
- package/lib/v2/tingtingfm/maintainer.js +3 -0
- package/lib/v2/tingtingfm/program.js +104 -0
- package/lib/v2/tingtingfm/radar.js +13 -0
- package/lib/v2/tingtingfm/router.js +3 -0
- package/lib/v2/tingtingfm/templates/audio.art +5 -0
- package/lib/v2/tingtingfm/utils.js +32 -0
- package/lib/v2/tongji/maintainer.js +4 -0
- package/lib/v2/tongji/radar.js +21 -0
- package/lib/v2/tongji/router.js +4 -0
- package/lib/v2/tongji/sse/_article.js +25 -0
- package/lib/v2/tongji/sse/notice.js +46 -0
- package/lib/v2/tongji/yjs.js +27 -0
- package/lib/v2/twitter/developer-api/user.js +14 -6
- package/lib/v2/twitter/maintainer.js +1 -0
- package/lib/v2/twitter/radar.js +10 -0
- package/lib/v2/twitter/router.js +1 -0
- package/lib/v2/twitter/tweet.js +5 -0
- package/lib/v2/twitter/utils.js +18 -37
- package/lib/v2/twitter/web-api/constants.js +74 -0
- package/lib/v2/twitter/web-api/media.js +1 -1
- package/lib/v2/twitter/web-api/tweet.js +25 -0
- package/lib/v2/twitter/web-api/twitter-api.js +72 -16
- package/lib/v2/twitter/web-api/twitter-got.js +24 -6
- package/lib/v2/twitter/web-api/user.js +1 -1
- package/lib/v2/ucas/ai.js +28 -0
- package/lib/v2/ucas/maintainer.js +1 -0
- package/lib/v2/ucas/radar.js +41 -0
- package/lib/v2/ucas/router.js +1 -0
- package/lib/v2/uchicago/current.js +80 -0
- package/lib/v2/uchicago/maintainer.js +3 -0
- package/lib/v2/uchicago/radar.js +13 -0
- package/lib/v2/uchicago/router.js +3 -0
- package/lib/v2/uestc/auto.js +45 -0
- package/lib/v2/uestc/cqe.js +60 -0
- package/lib/v2/uestc/gr.js +48 -0
- package/lib/v2/uestc/jwc.js +52 -0
- package/lib/v2/uestc/maintainer.js +12 -0
- package/lib/v2/uestc/news.js +51 -0
- package/lib/v2/uestc/radar.js +69 -0
- package/lib/v2/uestc/router.js +12 -0
- package/lib/v2/uestc/scse.js +90 -0
- package/lib/v2/uestc/sice.js +46 -0
- package/lib/v2/uestc/sise.js +80 -0
- package/lib/v2/upc/jsj.js +77 -0
- package/lib/v2/upc/main.js +72 -0
- package/lib/v2/upc/maintainer.js +5 -0
- package/lib/v2/upc/radar.js +53 -0
- package/lib/v2/upc/router.js +5 -0
- package/lib/v2/upc/yjs.js +28 -0
- package/lib/v2/uraaka-joshi/radar.js +2 -2
- package/lib/v2/urbandictionary/maintainer.js +3 -0
- package/lib/v2/urbandictionary/radar.js +13 -0
- package/lib/v2/urbandictionary/random.js +24 -0
- package/lib/v2/urbandictionary/router.js +3 -0
- package/lib/v2/urbandictionary/templates/definition.art +11 -0
- package/lib/v2/ustb/maintainer.js +3 -22
- package/lib/v2/ustb/radar.js +16 -0
- package/lib/v2/ustb/router.js +2 -0
- package/lib/v2/ustb/tj/news.js +61 -0
- package/lib/v2/ustb/yzxc/tzgg.js +49 -0
- package/lib/v2/utgd/category.js +68 -0
- package/lib/v2/utgd/maintainer.js +5 -0
- package/lib/v2/utgd/radar.js +25 -0
- package/lib/v2/utgd/router.js +5 -0
- package/lib/v2/utgd/templates/description.art +7 -0
- package/lib/v2/utgd/timeline.js +54 -0
- package/lib/v2/utgd/topic.js +70 -0
- package/lib/v2/v1tx/index.js +55 -0
- package/lib/v2/v1tx/maintainer.js +4 -0
- package/lib/v2/v1tx/radar.js +13 -0
- package/lib/v2/v1tx/router.js +3 -0
- package/lib/v2/vcb-s/category.js +51 -0
- package/lib/v2/vcb-s/index.js +39 -0
- package/lib/v2/vcb-s/maintainer.js +4 -0
- package/lib/v2/vcb-s/radar.js +19 -0
- package/lib/v2/vcb-s/router.js +4 -0
- package/lib/v2/vcb-s/templates/post.art +9 -0
- package/lib/v2/vimeo/maintainer.js +5 -0
- package/lib/v2/wanqu/maintainer.js +3 -0
- package/lib/v2/wanqu/news.js +27 -0
- package/lib/v2/wanqu/radar.js +13 -0
- package/lib/v2/wanqu/router.js +3 -0
- package/lib/v2/wechat/feeddd.js +12 -3
- package/lib/v2/wechat/maintainer.js +1 -0
- package/lib/v2/wechat/mp.js +0 -0
- package/lib/v2/wechat/radar.js +19 -2
- package/lib/v2/wechat/router.js +4 -3
- package/lib/v2/wechat/sogou.js +58 -0
- package/lib/v2/wechat/tgchannel.js +5 -5
- package/lib/v2/weekendhk/maintainer.js +4 -0
- package/lib/v2/weekendhk/posts.js +29 -0
- package/lib/v2/weekendhk/radar.js +13 -0
- package/lib/v2/weekendhk/router.js +3 -0
- package/lib/v2/weibo/group.js +93 -0
- package/lib/v2/weibo/keyword.js +1 -10
- package/lib/v2/weibo/maintainer.js +4 -3
- package/lib/v2/weibo/router.js +1 -0
- package/lib/v2/weibo/super_index.js +1 -10
- package/lib/v2/weibo/timeline.js +5 -5
- package/lib/v2/weibo/user.js +2 -8
- package/lib/v2/weibo/utils.js +15 -3
- package/lib/v2/wfdf/maintainer.js +3 -0
- package/lib/v2/wfdf/news.js +29 -0
- package/lib/v2/wfdf/radar.js +13 -0
- package/lib/v2/wfdf/router.js +3 -0
- package/lib/v2/wikinews/index.js +28 -29
- package/lib/v2/winstall/maintainer.js +3 -0
- package/lib/v2/winstall/radar.js +13 -0
- package/lib/v2/winstall/router.js +3 -0
- package/lib/v2/winstall/templates/desc.art +5 -0
- package/lib/v2/winstall/update.js +43 -0
- package/lib/v2/wise/radar.js +1 -1
- package/lib/v2/wnacg/index.js +1 -1
- package/lib/v2/wnacg/templates/manga.art +4 -4
- package/lib/v2/wsj/news.js +51 -0
- package/lib/v2/wsj/radar.js +2 -2
- package/lib/v2/wsj/router.js +1 -1
- package/lib/v2/wsj/templates/article-description.art +6 -0
- package/lib/v2/wsj/utils.js +121 -0
- package/lib/v2/wtu/index.js +37 -0
- package/lib/v2/wtu/job.js +80 -0
- package/lib/v2/wtu/maintainer.js +4 -0
- package/lib/v2/wtu/radar.js +22 -0
- package/lib/v2/wtu/router.js +4 -0
- package/lib/v2/wxkol/maintainer.js +3 -0
- package/lib/v2/wxkol/radar.js +13 -0
- package/lib/v2/wxkol/router.js +3 -0
- package/lib/v2/wxkol/show.js +51 -0
- package/lib/v2/xboxfan/maintainer.js +3 -0
- package/lib/v2/xboxfan/news.js +45 -0
- package/lib/v2/xboxfan/radar.js +13 -0
- package/lib/v2/xboxfan/router.js +3 -0
- package/lib/v2/xiaohongshu/board.js +4 -2
- package/lib/v2/xiaohongshu/maintainer.js +2 -1
- package/lib/v2/xiaohongshu/notes.js +16 -0
- package/lib/v2/xiaohongshu/radar.js +2 -2
- package/lib/v2/xiaohongshu/router.js +1 -0
- package/lib/v2/xiaohongshu/user.js +20 -41
- package/lib/v2/xiaohongshu/util.js +169 -7
- package/lib/v2/xkb/index.js +54 -0
- package/lib/v2/xkb/maintainer.js +3 -0
- package/lib/v2/xkb/radar.js +13 -0
- package/lib/v2/xkb/router.js +3 -0
- package/lib/v2/xkb/templates/description.art +3 -0
- package/lib/v2/xmanhua/maintainer.js +3 -0
- package/lib/v2/xsijishe/forum.js +61 -0
- package/lib/v2/xsijishe/maintainer.js +3 -0
- package/lib/v2/xsijishe/radar.js +19 -0
- package/lib/v2/xsijishe/router.js +3 -0
- package/lib/v2/xueqiu/user.js +35 -14
- package/lib/v2/xyzrank/radar.js +7 -7
- package/lib/v2/yahoo/news/index.js +19 -20
- package/lib/v2/yangtzeu/dongke.js +60 -0
- package/lib/v2/yangtzeu/maintainer.js +3 -0
- package/lib/v2/yangtzeu/radar.js +18 -0
- package/lib/v2/yangtzeu/router.js +3 -0
- package/lib/v2/ycwb/index.js +82 -0
- package/lib/v2/ycwb/maintainer.js +3 -0
- package/lib/v2/ycwb/radar.js +12 -0
- package/lib/v2/ycwb/router.js +3 -0
- package/lib/v2/ycwb/templates/description.art +7 -0
- package/lib/v2/yomiuri/maintainer.js +1 -1
- package/lib/v2/yomiuri/news.js +50 -100
- package/lib/v2/yomiuri/radar.js +3 -3
- package/lib/v2/youtube/channel.js +3 -4
- package/lib/v2/youtube/charts.js +97 -0
- package/lib/v2/youtube/community.js +56 -0
- package/lib/v2/youtube/maintainer.js +3 -0
- package/lib/v2/youtube/radar.js +20 -0
- package/lib/v2/youtube/router.js +2 -0
- package/lib/v2/youtube/templates/community.art +17 -0
- package/lib/v2/youtube/user.js +2 -2
- package/lib/v2/youtube/utils.js +3 -1
- package/lib/v2/yuque/book.js +14 -0
- package/lib/v2/yuque/utils.js +4 -0
- package/lib/v2/zagg/maintainer.js +3 -0
- package/lib/v2/zagg/new-arrivals.js +52 -0
- package/lib/v2/zagg/radar.js +16 -0
- package/lib/v2/zagg/router.js +3 -0
- package/lib/v2/zagg/templates/new-arrivals.art +3 -0
- package/lib/v2/zaobao/util.js +38 -31
- package/lib/v2/zcool/radar.js +6 -6
- package/lib/v2/zhihu/answers.js +13 -9
- package/lib/v2/zhihu/radar.js +2 -2
- package/lib/v2/zhubai/maintainer.js +1 -0
- package/lib/v2/zhubai/radar.js +7 -0
- package/lib/v2/zhubai/router.js +1 -0
- package/lib/v2/zhubai/templates/description.art +31 -0
- package/lib/v2/zhubai/top20.js +57 -0
- package/lib/v2/zjol/maintainer.js +3 -0
- package/lib/v2/zjol/paper.js +88 -0
- package/lib/v2/zjol/radar.js +61 -0
- package/lib/v2/zjol/router.js +3 -0
- package/lib/v2/zju/radar.js +1 -1
- package/lib/v2/zuvio/maintainer.js +4 -0
- package/lib/v2/zuzhirenshi/index.js +87 -0
- package/lib/v2/zuzhirenshi/maintainer.js +3 -0
- package/lib/v2/zuzhirenshi/radar.js +13 -0
- package/lib/v2/zuzhirenshi/router.js +3 -0
- package/lib/v2/zyw/hot.js +63 -0
- package/lib/v2/zyw/maintainer.js +3 -0
- package/lib/v2/zyw/radar.js +16 -0
- package/lib/v2/zyw/router.js +3 -0
- package/lib/views/error.art +7 -3
- package/lib/views/json.js +46 -0
- package/lib/views/rss.art +1 -1
- package/lib/views/welcome.art +2 -2
- package/package.json +133 -141
- package/lib/routes/141jav/141jav.js +0 -37
- package/lib/routes/141ppv/141ppv.js +0 -37
- package/lib/routes/1point3acres/blog.js +0 -52
- package/lib/routes/1point3acres/offer.js +0 -211
- package/lib/routes/1point3acres/post.js +0 -50
- package/lib/routes/3dm/game.js +0 -42
- package/lib/routes/3dm/news_center.js +0 -54
- package/lib/routes/3k8/latest.js +0 -50
- package/lib/routes/6park/index.js +0 -57
- package/lib/routes/aeon/category.js +0 -70
- package/lib/routes/aisixiang/column.js +0 -37
- package/lib/routes/aisixiang/ranking.js +0 -37
- package/lib/routes/aisixiang/thinktank.js +0 -40
- package/lib/routes/aisixiang/utils.js +0 -39
- package/lib/routes/apkpure/versions.js +0 -23
- package/lib/routes/blizzard/news.js +0 -51
- package/lib/routes/ccf/news.js +0 -51
- package/lib/routes/chiculture/topic.js +0 -59
- package/lib/routes/cls/depth.js +0 -63
- package/lib/routes/cls/telegraph.js +0 -34
- package/lib/routes/cneb/guoneinews.js +0 -27
- package/lib/routes/cneb/yjxx.js +0 -36
- package/lib/routes/csrc/auditstatus.js +0 -61
- package/lib/routes/csrc/fashenwei.js +0 -42
- package/lib/routes/csrc/news.js +0 -45
- package/lib/routes/curiouscat/user.js +0 -40
- package/lib/routes/duozhuayu/search.js +0 -76
- package/lib/routes/futunn/highlights.js +0 -58
- package/lib/routes/fx678/kx.js +0 -44
- package/lib/routes/go-weekly/index.js +0 -29
- package/lib/routes/gov/chinatax/latest.js +0 -42
- package/lib/routes/gov/news/index.js +0 -115
- package/lib/routes/hinatazaka46/blog.js +0 -38
- package/lib/routes/hinatazaka46/news.js +0 -34
- package/lib/routes/icable/category.js +0 -64
- package/lib/routes/instagram/index.js +0 -131
- package/lib/routes/instagram/utils.js +0 -28
- package/lib/routes/maitta/index.js +0 -29
- package/lib/routes/mastodon/timeline_local.js +0 -22
- package/lib/routes/mastodon/timeline_remote.js +0 -22
- package/lib/routes/mastodon/utils.js +0 -131
- package/lib/routes/nasa/apod-cn.js +0 -66
- package/lib/routes/nasa/apod-ncku.js +0 -30
- package/lib/routes/nasa/apod.js +0 -30
- package/lib/routes/newrank/douyin.js +0 -60
- package/lib/routes/newrank/wechat.js +0 -37
- package/lib/routes/newzmz/index.js +0 -78
- package/lib/routes/newzmz/view.js +0 -42
- package/lib/routes/nhentai/other.js +0 -25
- package/lib/routes/nhentai/search.js +0 -16
- package/lib/routes/nhentai/util.js +0 -136
- package/lib/routes/nikkei/index.js +0 -34
- package/lib/routes/nikkei/news.js +0 -155
- package/lib/routes/notefolio/index.js +0 -67
- package/lib/routes/oilprice/index.js +0 -66
- package/lib/routes/openai/blog.js +0 -52
- package/lib/routes/pingwest/status.js +0 -40
- package/lib/routes/pingwest/tag.js +0 -50
- package/lib/routes/pingwest/user.js +0 -55
- package/lib/routes/pingwest/utils.js +0 -76
- package/lib/routes/pnas/index.js +0 -66
- package/lib/routes/qdaily/index.js +0 -88
- package/lib/routes/right/forum.js +0 -67
- package/lib/routes/rss3/blog.js +0 -46
- package/lib/routes/sina/chuangshiji.js +0 -38
- package/lib/routes/sina/discovery.js +0 -52
- package/lib/routes/sina/finance.js +0 -37
- package/lib/routes/sina/rollnews.js +0 -41
- package/lib/routes/sina/sports.js +0 -54
- package/lib/routes/telecompaper/news.js +0 -100
- package/lib/routes/tencent/news/author.js +0 -59
- package/lib/routes/tesla/update.js +0 -42
- package/lib/routes/universities/bit/bityjs.js +0 -23
- package/lib/routes/universities/bit/cs/cs.js +0 -26
- package/lib/routes/universities/bit/cs/utils.js +0 -73
- package/lib/routes/universities/bit/jwc/jwc.js +0 -26
- package/lib/routes/universities/bit/jwc/utils.js +0 -65
- package/lib/routes/universities/cauele/cauele.js +0 -24
- package/lib/routes/universities/cauyjs/cauyjs.js +0 -24
- package/lib/routes/universities/ccnu/career.js +0 -43
- package/lib/routes/universities/ccnu/ccnucs.js +0 -23
- package/lib/routes/universities/ccnu/ccnuwu.js +0 -23
- package/lib/routes/universities/ccnu/ccnuyjs.js +0 -23
- package/lib/routes/universities/cucyjs/cucyjs.js +0 -23
- package/lib/routes/universities/ecustyjs/ecustyjs.js +0 -23
- package/lib/routes/universities/gzyjs/gzyjs.js +0 -24
- package/lib/routes/universities/hust/aia/news.js +0 -32
- package/lib/routes/universities/hust/aia/notice.js +0 -35
- package/lib/routes/universities/hustyjs/hustyjs.js +0 -23
- package/lib/routes/universities/ouc/it.js +0 -52
- package/lib/routes/universities/outele/outele.js +0 -23
- package/lib/routes/universities/outyjs/outyjs.js +0 -23
- package/lib/routes/universities/scauyjs/scauyjs.js +0 -23
- package/lib/routes/universities/scnu/cs/match.js +0 -35
- package/lib/routes/universities/scnu/jw.js +0 -32
- package/lib/routes/universities/scnu/library.js +0 -32
- package/lib/routes/universities/scnu/scnucs.js +0 -23
- package/lib/routes/universities/scnu/scnuyjs.js +0 -23
- package/lib/routes/universities/scut/scet/notice.js +0 -32
- package/lib/routes/universities/scut/scutyjs.js +0 -28
- package/lib/routes/universities/scut/seie/news_center.js +0 -57
- package/lib/routes/universities/shu/index.js +0 -75
- package/lib/routes/universities/shu/jwc.js +0 -62
- package/lib/routes/universities/sjtu/gs/tzgg.js +0 -31
- package/lib/routes/universities/sjtu/gs/utils.js +0 -64
- package/lib/routes/universities/sjtu/jwc.js +0 -115
- package/lib/routes/universities/sjtu/seiee/academic.js +0 -18
- package/lib/routes/universities/sjtu/seiee/bjwb.js +0 -45
- package/lib/routes/universities/sjtu/seiee/utils.js +0 -45
- package/lib/routes/universities/sjtu/seiee/xsb.js +0 -53
- package/lib/routes/universities/sjtu/tongqu/activity.js +0 -43
- package/lib/routes/universities/sjtu/yzb/zkxx.js +0 -33
- package/lib/routes/universities/sustech/bidding.js +0 -34
- package/lib/routes/universities/sustech/newshub-zh.js +0 -35
- package/lib/routes/universities/sustyjs/sustyjs.js +0 -24
- package/lib/routes/universities/szu/yz/index.js +0 -51
- package/lib/routes/universities/szu/yz/utils.js +0 -78
- package/lib/routes/universities/szuyjs/szuyjs.js +0 -24
- package/lib/routes/universities/tju/sse/_article.js +0 -34
- package/lib/routes/universities/tju/sse/notice.js +0 -41
- package/lib/routes/universities/tjuyjs/tjuyjs.js +0 -23
- package/lib/routes/universities/uestc/auto.js +0 -113
- package/lib/routes/universities/uestc/cqe.js +0 -40
- package/lib/routes/universities/uestc/cs.js +0 -119
- package/lib/routes/universities/uestc/gr.js +0 -46
- package/lib/routes/universities/uestc/is.js +0 -102
- package/lib/routes/universities/uestc/jwc.js +0 -38
- package/lib/routes/universities/uestc/news.js +0 -33
- package/lib/routes/universities/uestc/sice.js +0 -43
- package/lib/routes/universities/upc/jsj.js +0 -81
- package/lib/routes/universities/upc/main.js +0 -72
- package/lib/routes/universities/upcyjs/upcyjs.js +0 -23
- package/lib/routes/universities/ustb/tj/news.js +0 -62
- package/lib/routes/universities/wtu/index.js +0 -34
- package/lib/routes/universities/zkyai/zkyai.js +0 -23
- package/lib/routes/universities/zkyyjs/zkyyjs.js +0 -23
- package/lib/utils/torrent.js +0 -163
- package/lib/v2/ccfcv/index.js +0 -68
- package/lib/v2/ccfcv/maintainer.js +0 -3
- package/lib/v2/ccfcv/radar.js +0 -25
- package/lib/v2/ccfcv/router.js +0 -3
- package/lib/v2/csu/job.js +0 -34
- package/lib/v2/dsndsht23/index.js +0 -121
- package/lib/v2/dsndsht23/maintainer.js +0 -7
- package/lib/v2/dsndsht23/radar.js +0 -19
- package/lib/v2/dsndsht23/router.js +0 -7
- package/lib/v2/ecust-jxjy/maintainer.js +0 -3
- package/lib/v2/ecust-jxjy/news.js +0 -47
- package/lib/v2/ecust-jxjy/radar.js +0 -13
- package/lib/v2/gov/sichuan/deyang/govpulicinfo.js +0 -95
- package/lib/v2/gov/stats/templates/attachments.art +0 -5
- package/lib/v2/gov/stats/utils.js +0 -73
- package/lib/v2/hkepc/templates/image.art +0 -1
- package/lib/v2/nikkei-asia/index.js +0 -40
- package/lib/v2/nikkei-asia/maintainer.js +0 -3
- package/lib/v2/nikkei-asia/radar.js +0 -13
- package/lib/v2/nikkei-cn/index.js +0 -89
- package/lib/v2/nikkei-cn/maintainer.js +0 -3
- package/lib/v2/nikkei-cn/radar.js +0 -21
- package/lib/v2/nikkei-cn/router.js +0 -3
- package/lib/v2/wsj/index.js +0 -141
- /package/lib/{routes/1point3acres/posts.js → v2/1point3acres/user/post.js} +0 -0
- /package/lib/{routes/1point3acres/threads.js → v2/1point3acres/user/thread.js} +0 -0
- /package/lib/v2/{agirls → caai}/templates/description.art +0 -0
- /package/lib/v2/{ccfcv/templates → ccf/templates/ccfcv}/description.art +0 -0
- /package/lib/v2/{hkepc/templates → ccf/templates/tfbd}/description.art +0 -0
- /package/lib/v2/{ecust-jxjy → dorohedoro}/router.js +0 -0
- /package/lib/v2/{nikkei-asia → fishshell}/router.js +0 -0
- /package/lib/{routes → v2}/mastodon/account_id.js +0 -0
- /package/lib/{routes → v2}/mastodon/acct.js +0 -0
- /package/lib/{routes → v2}/newrank/utils.js +0 -0
- /package/lib/v2/qweather/{util → templates}/3days.art +0 -0
- /package/lib/v2/qweather/{util → templates}/now.art +0 -0
- /package/lib/{routes/universities → v2}/scut/jwc/news.js +0 -0
- /package/lib/{routes/universities → v2}/scut/jwc/notice.js +0 -0
- /package/lib/{routes/universities → v2}/scut/jwc/school.js +0 -0
- /package/lib/{routes → v2}/storyfm/index.js +0 -0
- /package/lib/{routes → v2}/telecompaper/search.js +0 -0
package/lib/v2/163/router.js
CHANGED
|
@@ -5,6 +5,7 @@ module.exports = function (router) {
|
|
|
5
5
|
router.get('/dy2/:id', require('./dy2'));
|
|
6
6
|
|
|
7
7
|
router.get('/music/artist/:id', require('./music/artist'));
|
|
8
|
+
router.get('/music/artist/songs/:id', require('./music/artist-songs'));
|
|
8
9
|
router.get('/music/djradio/:id', require('./music/djradio'));
|
|
9
10
|
router.get('/music/playlist/:id', require('./music/playlist'));
|
|
10
11
|
router.get('/music/user/events/:id', require('./music/userevents'));
|
package/lib/v2/18comic/utils.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
const got = require('@/utils/got');
|
|
2
2
|
const cheerio = require('cheerio');
|
|
3
3
|
const { parseDate } = require('@/utils/parse-date');
|
|
4
|
+
const { art } = require('@/utils/render');
|
|
5
|
+
const path = require('path');
|
|
4
6
|
|
|
5
7
|
const rootUrl = 'https://jmcomic.me';
|
|
6
8
|
// list of address: https://jmcomic1.bet
|
|
@@ -23,7 +25,7 @@ module.exports = {
|
|
|
23
25
|
return {
|
|
24
26
|
title: item.text().trim(),
|
|
25
27
|
link: `${rootUrl}${item.prev().find('a').attr('href')}`,
|
|
26
|
-
guid: `
|
|
28
|
+
guid: `18comic:${item.prev().find('a').attr('href')}`,
|
|
27
29
|
};
|
|
28
30
|
});
|
|
29
31
|
|
|
@@ -46,10 +48,12 @@ module.exports = {
|
|
|
46
48
|
.toArray()
|
|
47
49
|
.map((a) => $(a).text())
|
|
48
50
|
.join(', ');
|
|
49
|
-
item.description =
|
|
50
|
-
.
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
item.description = art(path.join(__dirname, 'templates/description.art'), {
|
|
52
|
+
introduction: content('#intro-block .p-t-5').text(),
|
|
53
|
+
images: content('.img_zoom_img img')
|
|
54
|
+
.toArray()
|
|
55
|
+
.map((image) => content(image).attr('data-original')),
|
|
56
|
+
});
|
|
53
57
|
|
|
54
58
|
return item;
|
|
55
59
|
})
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
const got = require('@/utils/got');
|
|
2
|
+
const cheerio = require('cheerio');
|
|
3
|
+
const { parseDate } = require('@/utils/parse-date');
|
|
4
|
+
|
|
5
|
+
module.exports = async (ctx) => {
|
|
6
|
+
const categoryMap = {
|
|
7
|
+
studyinusa: {
|
|
8
|
+
title: '留学申请',
|
|
9
|
+
id: 18,
|
|
10
|
+
},
|
|
11
|
+
career: {
|
|
12
|
+
title: '找工求职',
|
|
13
|
+
id: 200,
|
|
14
|
+
},
|
|
15
|
+
lifestyle: {
|
|
16
|
+
title: '生活攻略',
|
|
17
|
+
id: 370,
|
|
18
|
+
},
|
|
19
|
+
invest: {
|
|
20
|
+
title: '投资理财',
|
|
21
|
+
id: 371,
|
|
22
|
+
},
|
|
23
|
+
visa: {
|
|
24
|
+
title: '签证移民',
|
|
25
|
+
id: 194,
|
|
26
|
+
},
|
|
27
|
+
news: {
|
|
28
|
+
title: '时政要闻',
|
|
29
|
+
id: 366,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
const { category } = ctx.params;
|
|
34
|
+
|
|
35
|
+
const rootUrl = 'https://blog.1point3acres.com';
|
|
36
|
+
const currentUrl = `${rootUrl}/${category}/`;
|
|
37
|
+
const { data } = await got(`${rootUrl}/wp-json/wp/v2/posts`, {
|
|
38
|
+
searchParams: {
|
|
39
|
+
categories: category ? categoryMap[category].id : undefined,
|
|
40
|
+
per_page: ctx.query.limit ? parseInt(ctx.query.limit) : 100,
|
|
41
|
+
},
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
const items = data.map((item) => {
|
|
45
|
+
const $ = cheerio.load(item.content.rendered, null, false);
|
|
46
|
+
$('h2').nextAll().remove();
|
|
47
|
+
$('[powered-by="1p3a"], h2').remove();
|
|
48
|
+
$('img').each((_, img) => {
|
|
49
|
+
if (img.attribs.src.match(/wp-content\/uploads/)) {
|
|
50
|
+
img.attribs.src = img.attribs.src.replace(/(-\d+x\d+)/, '');
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
return {
|
|
55
|
+
title: item.title.rendered,
|
|
56
|
+
description: $.html(),
|
|
57
|
+
link: item.link,
|
|
58
|
+
pubDate: parseDate(item.date_gmt),
|
|
59
|
+
};
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
ctx.state.data = {
|
|
63
|
+
title: `${category ? `${categoryMap[category].title} | ` : ''}美国留学就业生活攻略`,
|
|
64
|
+
link: currentUrl,
|
|
65
|
+
item: items,
|
|
66
|
+
};
|
|
67
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const { rootUrl, apiRootUrl, types, ProcessThreads } = require('./utils');
|
|
2
|
+
|
|
3
|
+
module.exports = async (ctx) => {
|
|
4
|
+
const id = ctx.params.id ?? '';
|
|
5
|
+
const type = ctx.params.type ?? 'hot';
|
|
6
|
+
const order = ctx.params.order ?? '';
|
|
7
|
+
const limit = ctx.query.limit ? parseInt(ctx.query.limit) : 10;
|
|
8
|
+
|
|
9
|
+
const currentUrl = `${rootUrl}${id ? `/category/${id}` : ''}`;
|
|
10
|
+
const apiUrl = `${apiRootUrl}/api${id ? `/tags/${id}/` : ''}threads?type=${type}&includes=tags,forum_name,summary&ps=${limit}&pg=1&order=${order === '' ? '' : 'time_desc'}&is_groupid=1`;
|
|
11
|
+
|
|
12
|
+
ctx.state.data = {
|
|
13
|
+
title: `一亩三分地 - ${id}${types[type]}`,
|
|
14
|
+
link: currentUrl,
|
|
15
|
+
item: await ProcessThreads(ctx.cache.tryGet, apiUrl, order),
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
'/blog/:category?': ['nczitzk'],
|
|
3
|
+
'/category/:id?/:type?/:order?': ['nczitzk'],
|
|
4
|
+
'/offer/:year?/:major?/:school?': ['NavePnow'],
|
|
5
|
+
'/post/:type?/:order?': ['NavePnow', 'DIYgod', 'nczitzk'],
|
|
6
|
+
'/section/:id?/:type?/:order?': ['nczitzk'],
|
|
7
|
+
'/user/:id/posts': ['Maecenas'],
|
|
8
|
+
'/user/:id/threads': ['Maecenas'],
|
|
9
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
const got = require('@/utils/got');
|
|
2
|
+
const { art } = require('@/utils/render');
|
|
3
|
+
const { parseDate } = require('@/utils/parse-date');
|
|
4
|
+
const { join } = require('path');
|
|
5
|
+
|
|
6
|
+
module.exports = async (ctx) => {
|
|
7
|
+
// year 2017-2022
|
|
8
|
+
// 2017:6 2018:11 2019:12 2020:13 2021:14 2022:15
|
|
9
|
+
// CS:1 MIS:2
|
|
10
|
+
const { year = 'null', major = 'null', school = 'null' } = ctx.params;
|
|
11
|
+
// const filter = 'filters: {planyr: "12", planmajor: "1", outname_w: "CMU"}';
|
|
12
|
+
const responseBasic = await got.post('https://api.1point3acres.com/offer/results', {
|
|
13
|
+
searchParams: {
|
|
14
|
+
ps: 15,
|
|
15
|
+
pg: 1,
|
|
16
|
+
},
|
|
17
|
+
json: {
|
|
18
|
+
filters: {
|
|
19
|
+
planyr: year !== 'null' ? year : undefined,
|
|
20
|
+
planmajor: major !== 'null' ? major : undefined,
|
|
21
|
+
outname_w: school !== 'null' ? school : undefined,
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
const data = responseBasic.data.results;
|
|
27
|
+
// data.id-> 访问offer具体信息->获取 data.tid
|
|
28
|
+
// if (data.id !== 0) {
|
|
29
|
+
// out = await Promise.all(
|
|
30
|
+
// data.map(async (item) => {
|
|
31
|
+
// var gettidresponse = await got({
|
|
32
|
+
// method: 'get',
|
|
33
|
+
// url: 'https://api.1point3acres.com/offer/results/'+ item.id + '/backgrounds',
|
|
34
|
+
// headers: {
|
|
35
|
+
// authorization: 'eyJhbGciOiJIUzUxMiIsImlhdCI6MTU3Njk5Njc5OSwiZXhwIjoxNTg0ODU5MTk5fQ.eyJ1aWQiOjQ1NzQyN30.0ei5UE6OgLBzN2_IS7xUIbIfW_S1Wzl42q2UeusbboxuzvctO_4Mz6YRr6f0PBLUVZMETxt8F0_4-yqIJ3_kUQ',
|
|
36
|
+
// },
|
|
37
|
+
// });
|
|
38
|
+
// var tid = gettidresponse.data.background.tid;
|
|
39
|
+
// //https: //www.1point3acres.com/bbs/thread-581177-1-1.html
|
|
40
|
+
// console.log(tid);
|
|
41
|
+
// const threadlink = 'https://www.1point3acres.com/bbs/thread-' + tid + '-1-1.html';
|
|
42
|
+
// console.log(threadlink);
|
|
43
|
+
// return threadlink;
|
|
44
|
+
// })
|
|
45
|
+
// );
|
|
46
|
+
// }
|
|
47
|
+
// let responseBasic_1;
|
|
48
|
+
// responseBasic_1 = await got({
|
|
49
|
+
// method: 'get',
|
|
50
|
+
// url: `https://api.1point3acres.com/offer/results/A7m20e4g/backgrounds`,
|
|
51
|
+
// headers: {
|
|
52
|
+
// authorization: `eyJhbGciOiJIUzUxMiIsImlhdCI6MTU3Njk5Njc5OSwiZXhwIjoxNTg0ODU5MTk5fQ.eyJ1aWQiOjQ1NzQyN30.0ei5UE6OgLBzN2_IS7xUIbIfW_S1Wzl42q2UeusbboxuzvctO_4Mz6YRr6f0PBLUVZMETxt8F0_4-yqIJ3_kUQ`,
|
|
53
|
+
// },
|
|
54
|
+
// });
|
|
55
|
+
// const tid = responseBasic_1.data.background.tid;
|
|
56
|
+
ctx.state.data = {
|
|
57
|
+
title: '录取结果 - 一亩三分地',
|
|
58
|
+
link: 'https://offer.1point3acres.com',
|
|
59
|
+
item: data.map((item) => ({
|
|
60
|
+
title: `${item.planyr}年${item.planmajor}@${item.outname_w}:${item.result} - 一亩三分地`,
|
|
61
|
+
description: art(join(__dirname, 'templates/offer.art'), {
|
|
62
|
+
item,
|
|
63
|
+
}),
|
|
64
|
+
pubDate: parseDate(item.dateline, 'X'),
|
|
65
|
+
link: 'https://offer.1point3acres.com',
|
|
66
|
+
guid: `1point3acres:offer:${year}:${major}:${school}:${item.id}`,
|
|
67
|
+
})),
|
|
68
|
+
};
|
|
69
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
'1point3acres.com': {
|
|
3
|
+
_name: '一亩三分地',
|
|
4
|
+
blog: [
|
|
5
|
+
{
|
|
6
|
+
title: '博客',
|
|
7
|
+
docs: 'https://docs.rsshub.app/bbs.html#yi-mu-san-fen-di',
|
|
8
|
+
source: ['/:category'],
|
|
9
|
+
target: '/1point3acres/blog/:category?',
|
|
10
|
+
},
|
|
11
|
+
],
|
|
12
|
+
instant: [
|
|
13
|
+
{
|
|
14
|
+
title: '帖子',
|
|
15
|
+
docs: 'https://docs.rsshub.app/bbs.html#yi-mu-san-fen-di',
|
|
16
|
+
source: ['/'],
|
|
17
|
+
target: '/1point3acres/thread/:type?/:order?',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
title: '分区',
|
|
21
|
+
docs: 'https://docs.rsshub.app/bbs.html#yi-mu-san-fen-di',
|
|
22
|
+
source: ['/section/:id', '/'],
|
|
23
|
+
target: '/1point3acres/section/:id?/:type?/:order?',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
title: '标签',
|
|
27
|
+
docs: 'https://docs.rsshub.app/bbs.html#yi-mu-san-fen-di',
|
|
28
|
+
source: ['/section/:id', '/'],
|
|
29
|
+
target: '/1point3acres/category/:id?/:type?/:order?',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
title: '用户主题帖',
|
|
33
|
+
docs: 'https://docs.rsshub.app/bbs.html#yi-mu-san-fen-di',
|
|
34
|
+
source: ['/profile/:id', '/'],
|
|
35
|
+
target: '/1point3acres/user/:id/threads',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
title: '用户回帖',
|
|
39
|
+
docs: 'https://docs.rsshub.app/bbs.html#yi-mu-san-fen-di',
|
|
40
|
+
source: ['/profile/:id', '/'],
|
|
41
|
+
target: '/1point3acres/user/:id/posts',
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
offer: [
|
|
45
|
+
{
|
|
46
|
+
title: '录取结果',
|
|
47
|
+
docs: 'https://docs.rsshub.app/bbs.html#yi-mu-san-fen-di',
|
|
48
|
+
source: ['/'],
|
|
49
|
+
target: '/1point3acres/offer',
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
},
|
|
53
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
module.exports = function (router) {
|
|
2
|
+
router.get('/blog/:category?', require('./blog'));
|
|
3
|
+
router.get('/category/:id?/:type?/:order?', require('./category'));
|
|
4
|
+
router.get('/offer/:year?/:major?/:school?', require('./offer'));
|
|
5
|
+
router.get('/post/:type?/:order?', require('./thread'));
|
|
6
|
+
router.get('/section/:id?/:type?/:order?', require('./section'));
|
|
7
|
+
router.get('/thread/:type?/:order?', require('./thread'));
|
|
8
|
+
router.get('/user/:id/posts', require('./user/post'));
|
|
9
|
+
router.get('/user/:id/threads', require('./user/thread'));
|
|
10
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const { rootUrl, apiRootUrl, types, ProcessThreads } = require('./utils');
|
|
2
|
+
|
|
3
|
+
const sections = {
|
|
4
|
+
257: '留学申请',
|
|
5
|
+
379: '世界公民',
|
|
6
|
+
400: '投资理财',
|
|
7
|
+
31: '生活干货',
|
|
8
|
+
345: '职场达人',
|
|
9
|
+
391: '人际关系',
|
|
10
|
+
38: '海外求职',
|
|
11
|
+
265: '签证移民',
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
module.exports = async (ctx) => {
|
|
15
|
+
const id = ctx.params.id ?? '';
|
|
16
|
+
const type = ctx.params.type ?? 'hot';
|
|
17
|
+
const order = ctx.params.order ?? '';
|
|
18
|
+
const limit = ctx.query.limit ? parseInt(ctx.query.limit) : 10;
|
|
19
|
+
|
|
20
|
+
const currentUrl = `${rootUrl}${id ? (isNaN(id) ? `/category/${id}` : `/section/${id}`) : ''}`;
|
|
21
|
+
const apiUrl = `${apiRootUrl}/api${id ? (isNaN(id) ? `/tags/${id}/` : `/forums/${id}/`) : ''}threads?type=${type}&includes=tags,forum_name,summary&ps=${limit}&pg=1&order=${order === '' ? '' : 'time_desc'}&is_groupid=1`;
|
|
22
|
+
|
|
23
|
+
ctx.state.data = {
|
|
24
|
+
title: `一亩三分地 - ${sections.hasOwnProperty(id) ? sections[id] : id}${types[type]}`,
|
|
25
|
+
link: currentUrl,
|
|
26
|
+
item: await ProcessThreads(ctx.cache.tryGet, apiUrl, order),
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<img src="{{ url }}" height="{{ height }}" width="{{ width }}">
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<b>国家:</b>{{ item.country }}<br>
|
|
2
|
+
<b>学校:</b>{{ item.outname_w }} {{ item.outname }}<br>
|
|
3
|
+
<b>录取学位:</b>{{ item.plandegree }}<br>
|
|
4
|
+
<b>录取项目:</b>{{ item.planmajor }} - {{ item.planprogram }}<br>
|
|
5
|
+
<b>录取结果:</b>{{ item.result }}<br>
|
|
6
|
+
<b>录取时间:</b>{{ item.outtime }}<br>
|
|
7
|
+
<b>通知方式:</b>{{ item.noticemethod }}<br>
|
|
8
|
+
<b>全奖/自费:</b>{{ item.planfin }}<br>
|
|
9
|
+
<b>申入学学期:</b>{{ item.planterm }}<br>
|
|
10
|
+
<b>申入学年度:</b>{{ item.planyr }}<br>
|
|
11
|
+
<b>提交时间:</b>{{ item.submittime }}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const { rootUrl, apiRootUrl, types, ProcessThreads } = require('./utils');
|
|
2
|
+
|
|
3
|
+
module.exports = async (ctx) => {
|
|
4
|
+
const type = ctx.params.type ?? 'hot';
|
|
5
|
+
const order = ctx.params.order ?? '';
|
|
6
|
+
const limit = ctx.query.limit ? parseInt(ctx.query.limit) : 10;
|
|
7
|
+
|
|
8
|
+
const apiUrl = `${apiRootUrl}/api/threads?type=${type}&includes=tags,forum_name,summary&ps=${limit}&pg=1&order=${order === '' ? '' : 'time_desc'}&is_groupid=1`;
|
|
9
|
+
|
|
10
|
+
ctx.state.data = {
|
|
11
|
+
title: `一亩三分地 - ${types[type]}`,
|
|
12
|
+
link: rootUrl,
|
|
13
|
+
item: await ProcessThreads(ctx.cache.tryGet, apiUrl, order),
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
const got = require('@/utils/got');
|
|
2
|
+
const { parseDate } = require('@/utils/parse-date');
|
|
3
|
+
const { art } = require('@/utils/render');
|
|
4
|
+
const path = require('path');
|
|
5
|
+
const bbcode = require('bbcodejs');
|
|
6
|
+
|
|
7
|
+
const rootUrl = 'https://instant.1point3acres.com';
|
|
8
|
+
const apiRootUrl = 'https://api.1point3acres.com';
|
|
9
|
+
|
|
10
|
+
const types = {
|
|
11
|
+
new: '最新帖子',
|
|
12
|
+
hot: '热门帖子',
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
module.exports = {
|
|
16
|
+
rootUrl,
|
|
17
|
+
apiRootUrl,
|
|
18
|
+
types,
|
|
19
|
+
ProcessThreads: async (tryGet, apiUrl, order) => {
|
|
20
|
+
const response = await got({
|
|
21
|
+
method: 'get',
|
|
22
|
+
url: apiUrl,
|
|
23
|
+
headers: {
|
|
24
|
+
referer: rootUrl,
|
|
25
|
+
},
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
const bbcodeParser = new bbcode.Parser();
|
|
29
|
+
|
|
30
|
+
const items = await Promise.all(
|
|
31
|
+
response.data.threads.map((item) => {
|
|
32
|
+
const result = {
|
|
33
|
+
guid: item.tid,
|
|
34
|
+
title: item.subject,
|
|
35
|
+
author: item.author,
|
|
36
|
+
link: `${rootUrl}/thread/${item.tid}`,
|
|
37
|
+
description: item.summary,
|
|
38
|
+
pubDate: parseDate((order === '' ? item.lastpost : item.dateline) * 1000),
|
|
39
|
+
category: [item.forum_name, ...item.tags.map((t) => t.displayname)],
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
return tryGet(result.link, async () => {
|
|
43
|
+
try {
|
|
44
|
+
const detailResponse = await got({
|
|
45
|
+
method: 'get',
|
|
46
|
+
url: `${apiRootUrl}/api/v3/threads/${result.guid}`,
|
|
47
|
+
headers: {
|
|
48
|
+
referer: rootUrl,
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
const data = detailResponse.data;
|
|
53
|
+
|
|
54
|
+
result.description = bbcodeParser.toHTML(data.thread.message_bbcode);
|
|
55
|
+
|
|
56
|
+
for (const a of data.thread.attachment_list) {
|
|
57
|
+
if (a.isimage === 1) {
|
|
58
|
+
result.description = result.description.replace(
|
|
59
|
+
new RegExp(`\\[attach\\]${a.aid}\\[\\/attach\\]`, 'g'),
|
|
60
|
+
art(path.join(__dirname, 'templates/image.art'), {
|
|
61
|
+
url: a.url,
|
|
62
|
+
height: a.height,
|
|
63
|
+
width: a.width,
|
|
64
|
+
})
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
} catch (e) {
|
|
69
|
+
// no-empty
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
return result;
|
|
73
|
+
});
|
|
74
|
+
})
|
|
75
|
+
);
|
|
76
|
+
|
|
77
|
+
return items;
|
|
78
|
+
},
|
|
79
|
+
};
|
package/lib/v2/2048/index.js
CHANGED
|
@@ -17,6 +17,7 @@ module.exports = async (ctx) => {
|
|
|
17
17
|
});
|
|
18
18
|
|
|
19
19
|
const $ = cheerio.load(response.data);
|
|
20
|
+
const currentHost = `https://${new URL(response.url).host}`; // redirected host
|
|
20
21
|
|
|
21
22
|
$('#shortcut').remove();
|
|
22
23
|
$('tr[onmouseover="this.className=\'tr3 t_two\'"]').remove();
|
|
@@ -24,19 +25,20 @@ module.exports = async (ctx) => {
|
|
|
24
25
|
const list = $('#ajaxtable tbody .tr2')
|
|
25
26
|
.last()
|
|
26
27
|
.nextAll('.tr3')
|
|
27
|
-
.
|
|
28
|
+
.toArray()
|
|
29
|
+
.map((item) => {
|
|
28
30
|
item = $(item).find('.subject');
|
|
29
31
|
|
|
30
32
|
return {
|
|
31
33
|
title: item.text(),
|
|
32
|
-
link: `${
|
|
34
|
+
link: `${currentHost}/2048/${item.attr('href')}`,
|
|
35
|
+
guid: `${rootUrl}/2048/${item.attr('href')}`,
|
|
33
36
|
};
|
|
34
|
-
})
|
|
35
|
-
.get();
|
|
37
|
+
});
|
|
36
38
|
|
|
37
39
|
const items = await Promise.all(
|
|
38
40
|
list.map((item) =>
|
|
39
|
-
ctx.cache.tryGet(item.
|
|
41
|
+
ctx.cache.tryGet(item.guid, async () => {
|
|
40
42
|
const detailResponse = await got({
|
|
41
43
|
method: 'get',
|
|
42
44
|
url: item.link,
|
package/lib/v2/2048/radar.js
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
'hjd2048.com': {
|
|
3
|
+
_name: '2048 核基地',
|
|
4
|
+
'.': [
|
|
5
|
+
{
|
|
6
|
+
title: '论坛',
|
|
7
|
+
docs: 'https://docs.rsshub.app/multimedia.html#_2048-he-ji-di',
|
|
8
|
+
source: ['/2048/thread.php?fid-3.html'],
|
|
9
|
+
target: (_, url) => `/2048/${url.match(/fid-(\d+?)\.html/)[1]}`,
|
|
10
|
+
},
|
|
11
|
+
],
|
|
12
|
+
},
|
|
13
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
const got = require('@/utils/got');
|
|
2
|
+
const { parseDate } = require('@/utils/parse-date');
|
|
3
|
+
|
|
4
|
+
const { rootUrl, ProcessItem } = require('./utils');
|
|
5
|
+
|
|
6
|
+
const categories = {
|
|
7
|
+
24: {
|
|
8
|
+
title: '24小时热榜',
|
|
9
|
+
key: 'homeData.data.hotlist.data',
|
|
10
|
+
},
|
|
11
|
+
renqi: {
|
|
12
|
+
title: '资讯人气榜',
|
|
13
|
+
key: 'hotListData.topList',
|
|
14
|
+
},
|
|
15
|
+
zonghe: {
|
|
16
|
+
title: '资讯综合榜',
|
|
17
|
+
key: 'hotListData.hotList',
|
|
18
|
+
},
|
|
19
|
+
shoucang: {
|
|
20
|
+
title: '资讯综合榜',
|
|
21
|
+
key: 'hotListData.collectList',
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
module.exports = async (ctx) => {
|
|
26
|
+
const category = ctx.params.category ?? '24';
|
|
27
|
+
|
|
28
|
+
const currentUrl = category === '24' ? rootUrl : `${rootUrl}/hot-list/catalog`;
|
|
29
|
+
|
|
30
|
+
const response = await got({
|
|
31
|
+
method: 'get',
|
|
32
|
+
url: currentUrl,
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
const getProperty = (object, key) => key.split('.').reduce((o, k) => o && o[k], object);
|
|
36
|
+
const data = getProperty(JSON.parse(response.data.match(/window.initialState=({.*})/)[1]), categories[category].key);
|
|
37
|
+
|
|
38
|
+
let items = data
|
|
39
|
+
.slice(0, ctx.query.limit ? parseInt(ctx.query.limit) : 10)
|
|
40
|
+
.filter((item) => item.itemType !== 0)
|
|
41
|
+
.map((item) => {
|
|
42
|
+
item = item.templateMaterial ?? item;
|
|
43
|
+
return {
|
|
44
|
+
title: item.widgetTitle.replace(/<\/?em>/g, ''),
|
|
45
|
+
author: item.authorName,
|
|
46
|
+
pubDate: parseDate(item.publishTime),
|
|
47
|
+
link: `${rootUrl}/p/${item.itemId}`,
|
|
48
|
+
description: item.summary,
|
|
49
|
+
};
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
items = await Promise.all(items.map((item) => ProcessItem(item, ctx.cache.tryGet)));
|
|
53
|
+
|
|
54
|
+
ctx.state.data = {
|
|
55
|
+
title: `36氪 - ${categories[category].title}`,
|
|
56
|
+
link: currentUrl,
|
|
57
|
+
item: items,
|
|
58
|
+
};
|
|
59
|
+
};
|
package/lib/v2/36kr/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const got = require('@/utils/got');
|
|
2
2
|
const cheerio = require('cheerio');
|
|
3
3
|
const { parseDate } = require('@/utils/parse-date');
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
const { rootUrl, ProcessItem } = require('./utils');
|
|
5
6
|
|
|
6
7
|
const shortcuts = {
|
|
7
8
|
'/information': '/information/web_news',
|
|
@@ -15,7 +16,6 @@ const shortcuts = {
|
|
|
15
16
|
module.exports = async (ctx) => {
|
|
16
17
|
const path = ctx.path.replace(/^\/news(?!flashes)/, '/information').replace(/\/search\/article/, '/search/articles');
|
|
17
18
|
|
|
18
|
-
const rootUrl = 'https://www.36kr.com';
|
|
19
19
|
const currentUrl = `${rootUrl}${shortcuts.hasOwnProperty(path) ? shortcuts[path] : path}`;
|
|
20
20
|
|
|
21
21
|
const response = await got({
|
|
@@ -42,34 +42,7 @@ module.exports = async (ctx) => {
|
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
if (!/^\/(search|newsflashes)/.test(path)) {
|
|
45
|
-
items = await Promise.all(
|
|
46
|
-
items.map((item) =>
|
|
47
|
-
ctx.cache.tryGet(item.link, async () => {
|
|
48
|
-
const detailResponse = await got({
|
|
49
|
-
method: 'get',
|
|
50
|
-
url: item.link,
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
const cipherTextList = detailResponse.data.match(/{"state":"(.*)","isEncrypt":true}/) ?? [];
|
|
54
|
-
if (cipherTextList.length !== 0) {
|
|
55
|
-
const key = CryptoJS.enc.Utf8.parse('efabccee-b754-4c');
|
|
56
|
-
const content = JSON.parse(
|
|
57
|
-
CryptoJS.AES.decrypt(cipherTextList[1], key, {
|
|
58
|
-
mode: CryptoJS.mode.ECB,
|
|
59
|
-
padding: CryptoJS.pad.Pkcs7,
|
|
60
|
-
})
|
|
61
|
-
.toString(CryptoJS.enc.Utf8)
|
|
62
|
-
.toString()
|
|
63
|
-
).articleDetail.articleDetailData.data;
|
|
64
|
-
item.description = content.widgetContent;
|
|
65
|
-
} else {
|
|
66
|
-
const $ = cheerio.load(detailResponse.body);
|
|
67
|
-
item.description = $('div.articleDetailContent').html();
|
|
68
|
-
}
|
|
69
|
-
return item;
|
|
70
|
-
})
|
|
71
|
-
)
|
|
72
|
-
);
|
|
45
|
+
items = await Promise.all(items.map((item) => ProcessItem(item, ctx.cache.tryGet)));
|
|
73
46
|
}
|
|
74
47
|
|
|
75
48
|
ctx.state.data = {
|
package/lib/v2/36kr/radar.js
CHANGED
|
@@ -44,6 +44,12 @@ module.exports = {
|
|
|
44
44
|
source: ['/search/newsflashes/:keyword', '/'],
|
|
45
45
|
target: '/36kr/search/newsflashes/:keyword',
|
|
46
46
|
},
|
|
47
|
+
{
|
|
48
|
+
title: '资讯热榜',
|
|
49
|
+
docs: 'https://docs.rsshub.app/new-media.html#_36kr-zi-xun-re-bang',
|
|
50
|
+
source: ['/hot-list/:category', '/'],
|
|
51
|
+
target: '/36kr/hot-list/:category',
|
|
52
|
+
},
|
|
47
53
|
],
|
|
48
54
|
},
|
|
49
55
|
};
|
package/lib/v2/36kr/router.js
CHANGED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const got = require('@/utils/got');
|
|
2
|
+
const cheerio = require('cheerio');
|
|
3
|
+
const CryptoJS = require('crypto-js');
|
|
4
|
+
|
|
5
|
+
const rootUrl = 'https://www.36kr.com';
|
|
6
|
+
|
|
7
|
+
module.exports = {
|
|
8
|
+
rootUrl,
|
|
9
|
+
ProcessItem: (item, tryGet) =>
|
|
10
|
+
tryGet(item.link, async () => {
|
|
11
|
+
const detailResponse = await got({
|
|
12
|
+
method: 'get',
|
|
13
|
+
url: item.link,
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
const cipherTextList = detailResponse.data.match(/{"state":"(.*)","isEncrypt":true}/) ?? [];
|
|
17
|
+
|
|
18
|
+
if (cipherTextList.length !== 0) {
|
|
19
|
+
const key = CryptoJS.enc.Utf8.parse('efabccee-b754-4c');
|
|
20
|
+
const content = JSON.parse(
|
|
21
|
+
CryptoJS.AES.decrypt(cipherTextList[1], key, {
|
|
22
|
+
mode: CryptoJS.mode.ECB,
|
|
23
|
+
padding: CryptoJS.pad.Pkcs7,
|
|
24
|
+
})
|
|
25
|
+
.toString(CryptoJS.enc.Utf8)
|
|
26
|
+
.toString()
|
|
27
|
+
).articleDetail.articleDetailData.data;
|
|
28
|
+
item.description = content.widgetContent;
|
|
29
|
+
} else {
|
|
30
|
+
const $ = cheerio.load(detailResponse.body);
|
|
31
|
+
item.description = $('div.articleDetailContent').html();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
return item;
|
|
35
|
+
}),
|
|
36
|
+
};
|