rsshub 1.0.0-master.c32a46f → 1.0.0-master.c389e2c
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/config.js +4 -3
- package/lib/middleware/parameter.js +8 -1
- package/lib/radar-rules.js +0 -126
- package/lib/router.js +46 -52
- package/lib/routes/fanxinzhui/latest.js +12 -13
- package/lib/routes/fashionnetwork/headline.js +11 -12
- package/lib/routes/fashionnetwork/news.js +11 -12
- package/lib/routes/questmobile/report.js +13 -14
- package/lib/routes/rss3/blog.js +11 -12
- package/lib/utils/render.js +2 -46
- package/lib/utils/wechat-mp.js +2 -2
- package/lib/v2/163/ds.js +33 -0
- package/lib/v2/163/dy.js +29 -0
- package/lib/v2/163/dy2.js +42 -0
- package/lib/v2/163/maintainer.js +20 -0
- package/lib/v2/163/music/artist-songs.js +39 -0
- package/lib/{routes/ncm → v2/163/music}/artist.js +10 -4
- package/lib/{routes/ncm → v2/163/music}/djradio.js +3 -5
- package/lib/v2/163/music/maintainer.js +3 -0
- package/lib/v2/163/music/playlist.js +55 -0
- package/lib/v2/163/music/userevents.js +52 -0
- package/lib/{routes/ncm → v2/163/music}/userplaylist.js +10 -12
- package/lib/{routes/ncm → v2/163/music}/userplayrecords.js +11 -13
- package/lib/v2/{netease → 163/news}/rank.js +20 -19
- package/lib/{routes/netease → v2/163}/news/special.js +11 -18
- package/lib/v2/163/open/vip.js +63 -0
- package/lib/v2/163/radar.js +155 -0
- package/lib/v2/{netease → 163}/renjian.js +11 -8
- package/lib/v2/163/router.js +20 -0
- package/lib/v2/163/templates/ds.art +7 -0
- package/lib/v2/163/templates/dy.art +6 -0
- package/lib/v2/163/templates/music/playlist.art +4 -0
- package/lib/v2/163/templates/music/userevents.art +7 -0
- package/lib/v2/163/templates/music/userplaylist.art +16 -0
- package/lib/v2/163/templates/music/userplayrecords.art +7 -0
- package/lib/v2/163/templates/open.art +12 -0
- package/lib/v2/{netease → 163}/today.js +2 -2
- package/lib/v2/163/utils.js +40 -0
- package/lib/v2/18comic/album.js +2 -1
- package/lib/v2/18comic/blogs.js +2 -1
- package/lib/v2/18comic/radar.js +39 -29
- package/lib/v2/18comic/utils.js +6 -10
- package/lib/v2/500px/maintainer.js +4 -0
- package/lib/v2/500px/radar.js +19 -0
- package/lib/v2/500px/router.js +4 -0
- package/lib/v2/500px/templates/tribeSet.art +6 -0
- package/lib/v2/500px/templates/user.art +3 -0
- package/lib/v2/500px/tribeSet.js +29 -0
- package/lib/v2/500px/user.js +32 -0
- package/lib/v2/500px/utils.js +122 -0
- package/lib/v2/52hrtt/index.js +12 -13
- package/lib/v2/52hrtt/symposium.js +12 -13
- package/lib/v2/591/list.js +144 -0
- package/lib/v2/591/radar.js +16 -0
- package/lib/v2/591/router.js +3 -0
- package/lib/v2/591/templates/house.art +52 -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 +81 -0
- package/lib/v2/7mmtv/index.js +15 -23
- package/lib/v2/7mmtv/templates/description.art +5 -1
- package/lib/v2/abmedia/category.js +1 -1
- package/lib/v2/acg17/maintainer.js +3 -0
- package/lib/v2/acg17/post.js +20 -0
- package/lib/v2/acg17/radar.js +13 -0
- package/lib/v2/acg17/router.js +3 -0
- 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/aliyundrive/files.js +10 -14
- package/lib/v2/ally/rail.js +41 -42
- package/lib/v2/annualreviews/index.js +68 -0
- package/lib/v2/annualreviews/maintainer.js +3 -0
- package/lib/v2/annualreviews/radar.js +13 -0
- package/lib/v2/annualreviews/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/apple/exchange_repair.js +28 -21
- package/lib/v2/baidu/maintainer.js +1 -0
- package/lib/v2/baidu/radar.js +8 -0
- package/lib/v2/baidu/router.js +1 -0
- package/lib/v2/baidu/templates/top.art +9 -0
- package/lib/v2/baidu/top.js +34 -0
- package/lib/v2/bdys/index.js +98 -0
- package/lib/v2/bdys/maintainer.js +3 -0
- package/lib/v2/bdys/radar.js +20 -0
- package/lib/v2/bdys/router.js +3 -0
- package/lib/v2/bdys/templates/desc.art +21 -0
- package/lib/v2/bilibili/video-all.js +1 -1
- package/lib/v2/bioone/featured.js +10 -8
- package/lib/v2/bioone/journal.js +28 -26
- package/lib/v2/bjfu/it/utils.js +3 -3
- package/lib/v2/bjsk/index.js +52 -0
- package/lib/v2/bjsk/maintainer.js +3 -0
- package/lib/v2/bjsk/radar.js +13 -0
- package/lib/v2/bjsk/router.js +3 -0
- package/lib/v2/bjwxdxh/index.js +52 -0
- package/lib/v2/bjwxdxh/maintainer.js +3 -0
- package/lib/v2/bjwxdxh/radar.js +13 -0
- package/lib/v2/bjwxdxh/router.js +3 -0
- package/lib/v2/blockbeats/index.js +28 -35
- package/lib/v2/blockbeats/maintainer.js +1 -1
- package/lib/v2/blockbeats/radar.js +3 -3
- package/lib/v2/bloomberg/utils.js +13 -11
- 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/byteclicks/index.js +22 -0
- package/lib/v2/byteclicks/maintainer.js +4 -0
- package/lib/v2/byteclicks/radar.js +19 -0
- package/lib/v2/byteclicks/router.js +4 -0
- package/lib/v2/byteclicks/tag.js +30 -0
- package/lib/v2/byteclicks/utils.js +13 -0
- package/lib/v2/caareviews/utils.js +2 -2
- package/lib/v2/caixin/article.js +27 -0
- package/lib/v2/caixin/blog.js +58 -0
- package/lib/v2/caixin/category.js +56 -0
- package/lib/{routes → v2}/caixin/database.js +14 -14
- package/lib/v2/caixin/k.js +40 -0
- package/lib/v2/caixin/latest.js +50 -0
- package/lib/v2/caixin/maintainer.js +8 -0
- package/lib/v2/caixin/radar.js +43 -0
- package/lib/v2/caixin/router.js +8 -0
- package/lib/v2/caixin/templates/article.art +38 -0
- package/lib/v2/caixin/utils.js +52 -0
- package/lib/v2/cartoonmad/comic.js +70 -0
- package/lib/v2/cartoonmad/maintainer.js +3 -0
- package/lib/v2/cartoonmad/radar.js +13 -0
- package/lib/v2/cartoonmad/router.js +3 -0
- package/lib/v2/cartoonmad/templates/chapter.art +1 -0
- package/lib/{routes/universities → v2}/cas/cg/index.js +4 -2
- package/lib/{routes/universities → v2}/cas/iee/kydt.js +7 -5
- package/lib/v2/cas/maintainer.js +6 -0
- package/lib/v2/cas/mesalab/kb.js +41 -0
- package/lib/v2/cas/radar.js +40 -0
- package/lib/v2/cas/router.js +6 -0
- package/lib/v2/cas/sim/kyjz.js +47 -0
- package/lib/v2/cast/index.js +74 -0
- package/lib/v2/cast/maintainer.js +3 -0
- package/lib/v2/cast/radar.js +13 -0
- package/lib/v2/cast/router.js +3 -0
- package/lib/v2/cctv/lm.js +22 -23
- package/lib/v2/chaincatcher/home.js +50 -0
- package/lib/v2/chaincatcher/maintainer.js +4 -0
- package/lib/v2/chaincatcher/news.js +40 -0
- package/lib/v2/chaincatcher/radar.js +19 -0
- package/lib/v2/chaincatcher/router.js +4 -0
- package/lib/v2/chaincatcher/templates/home.art +4 -0
- package/lib/v2/chinacef/experts.js +1 -1
- package/lib/v2/chinacef/hot.js +1 -1
- package/lib/v2/chinacef/index.js +1 -1
- package/lib/v2/chinafactcheck/index.js +1 -1
- package/lib/v2/chinathinktanks/viewpoint.js +12 -13
- package/lib/v2/ciidbnu/index.js +14 -15
- package/lib/v2/clickme/index.js +56 -0
- package/lib/v2/clickme/maintainer.js +3 -0
- package/lib/v2/clickme/radar.js +21 -0
- package/lib/v2/clickme/router.js +3 -0
- package/lib/v2/coindesk/index.js +36 -0
- package/lib/v2/coindesk/maintainer.js +3 -0
- package/lib/v2/coindesk/radar.js +13 -0
- package/lib/v2/coindesk/router.js +3 -0
- package/lib/v2/crac/index.js +46 -0
- package/lib/v2/crac/maintainer.js +3 -0
- package/lib/v2/crac/radar.js +13 -0
- package/lib/v2/crac/router.js +3 -0
- package/lib/v2/crossbell/feeds/following.js +29 -0
- package/lib/v2/crossbell/maintainer.js +6 -0
- package/lib/v2/crossbell/notes/character.js +22 -0
- package/lib/v2/crossbell/notes/index.js +16 -0
- package/lib/v2/crossbell/notes/source.js +19 -0
- package/lib/v2/crossbell/notes/utils.js +18 -0
- package/lib/v2/crossbell/radar.js +24 -0
- package/lib/v2/crossbell/router.js +6 -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/dcard/section.js +1 -1
- package/lib/v2/dcfever/maintainer.js +6 -0
- package/lib/v2/dcfever/news.js +36 -0
- package/lib/v2/dcfever/radar.js +37 -0
- package/lib/v2/dcfever/reviews.js +29 -0
- package/lib/v2/dcfever/router.js +6 -0
- package/lib/v2/dcfever/templates/trading.art +14 -0
- package/lib/v2/dcfever/trading-search.js +39 -0
- package/lib/v2/dcfever/trading.js +39 -0
- package/lib/v2/dcfever/utils.js +78 -0
- package/lib/v2/disinformationindex/blog.js +12 -13
- package/lib/{routes → v2}/dlsite/campaign.js +22 -24
- package/lib/v2/dlsite/maintainer.js +4 -0
- package/lib/{routes → v2}/dlsite/new.js +27 -28
- package/lib/v2/dlsite/radar.js +15 -0
- package/lib/v2/dlsite/router.js +4 -0
- package/lib/v2/dtcj/datainsight.js +13 -14
- package/lib/v2/eastday/24.js +14 -15
- package/lib/v2/economist/full.js +2 -2
- package/lib/v2/ehentai/ehapi.js +10 -5
- package/lib/v2/ehentai/favorites.js +2 -2
- package/lib/v2/ehentai/search.js +2 -2
- package/lib/v2/ehentai/tag.js +1 -1
- package/lib/v2/eleduck/jobs.js +38 -0
- package/lib/v2/eleduck/maintainer.js +4 -0
- package/lib/v2/eleduck/posts.js +41 -0
- package/lib/v2/eleduck/radar.js +25 -0
- package/lib/v2/eleduck/router.js +4 -0
- package/lib/v2/fffdm/maintainer.js +3 -0
- package/lib/v2/fffdm/manhua/manhua.js +55 -0
- package/lib/v2/fffdm/radar.js +14 -0
- package/lib/v2/fffdm/router.js +3 -0
- package/lib/v2/fffdm/templates/manhua.art +5 -0
- package/lib/v2/fjksbm/index.js +53 -0
- package/lib/v2/fjksbm/maintainer.js +3 -0
- package/lib/v2/fjksbm/radar.js +13 -0
- package/lib/v2/fjksbm/router.js +3 -0
- package/lib/v2/flyert/utils.js +3 -3
- package/lib/v2/furstar/templates/description.art +1 -1
- package/lib/v2/gelonghui/hot-article.js +33 -0
- package/lib/v2/gelonghui/live.js +31 -0
- package/lib/v2/gelonghui/radar.js +12 -0
- package/lib/v2/gelonghui/router.js +2 -0
- package/lib/v2/gelonghui/templates/live.art +7 -0
- package/lib/v2/gelonghui/utils.js +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/github/maintainer.js +1 -0
- package/lib/v2/github/radar.js +35 -29
- package/lib/v2/github/router.js +1 -0
- package/lib/v2/github/wiki.js +32 -0
- package/lib/v2/gocn/topics.js +1 -1
- package/lib/v2/google/sitesRecentChanges.js +12 -13
- package/lib/v2/gov/beijing/bphc/index.js +1 -1
- package/lib/v2/gov/ccdi/utils.js +1 -1
- package/lib/v2/gov/maintainer.js +2 -0
- package/lib/v2/gov/moe/moe.js +4 -4
- package/lib/v2/gov/moe/s78.js +44 -0
- package/lib/v2/gov/pbc/utils.js +2 -2
- package/lib/v2/gov/radar.js +17 -0
- package/lib/v2/gov/router.js +2 -0
- package/lib/v2/gov/sichuan/deyang/govpulicinfo.js +3 -3
- package/lib/v2/gov/stats/utils.js +2 -2
- package/lib/v2/gov/wuhan/whyw.js +44 -0
- package/lib/v2/guandian/radar.js +8 -6
- package/lib/v2/gzh360/universal.js +3 -3
- package/lib/v2/gzh360/utils.js +2 -2
- package/lib/{routes/universities → v2}/hitsz/article.js +13 -15
- package/lib/v2/hitsz/maintainer.js +3 -0
- package/lib/v2/hitsz/radar.js +13 -0
- package/lib/v2/hitsz/router.js +3 -0
- package/lib/v2/hk01/utils.js +2 -2
- package/lib/v2/hljucm/maintainer.js +3 -0
- package/lib/v2/hljucm/radar.js +13 -0
- package/lib/v2/hljucm/router.js +3 -0
- package/lib/v2/hljucm/yjsy.js +56 -0
- package/lib/v2/hrbust/jwzx.js +36 -0
- package/lib/v2/hrbust/maintainer.js +3 -0
- package/lib/v2/hrbust/radar.js +13 -0
- package/lib/v2/hrbust/router.js +3 -0
- package/lib/v2/hrbust/templates/description.art +1 -0
- package/lib/v2/hrbust/utils.js +71 -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/ikea/cn/family_offers.js +70 -0
- package/lib/v2/ikea/cn/low_price.js +22 -0
- package/lib/v2/ikea/cn/new.js +39 -0
- package/lib/v2/ikea/cn/utils.js +42 -0
- package/lib/v2/ikea/gb/new.js +54 -0
- package/lib/v2/ikea/gb/offer.js +69 -0
- package/lib/v2/ikea/maintainer.js +7 -0
- package/lib/v2/ikea/radar.js +42 -0
- package/lib/v2/ikea/router.js +7 -0
- package/lib/v2/ikea/templates/cn/product.art +14 -0
- package/lib/v2/ikea/templates/new.art +7 -0
- package/lib/v2/ikea/templates/offer.art +3 -0
- package/lib/v2/inoreader/index.js +46 -0
- package/lib/v2/inoreader/maintainer.js +3 -0
- package/lib/v2/inoreader/radar.js +17 -0
- package/lib/v2/inoreader/router.js +3 -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/iqiyi/album.js +62 -0
- package/lib/v2/iqiyi/maintainer.js +4 -0
- package/lib/v2/iqiyi/radar.js +24 -0
- package/lib/v2/iqiyi/router.js +4 -0
- package/lib/v2/iqiyi/templates/album.art +1 -0
- package/lib/v2/issuehunt/funded.js +28 -0
- package/lib/v2/issuehunt/maintainer.js +3 -0
- package/lib/v2/issuehunt/radar.js +13 -0
- package/lib/v2/issuehunt/router.js +3 -0
- package/lib/v2/jiaoliudao/index.js +35 -0
- package/lib/v2/jiaoliudao/maintainer.js +3 -0
- package/lib/v2/jiaoliudao/radar.js +13 -0
- package/lib/v2/jiaoliudao/router.js +3 -0
- package/lib/v2/jike/user.js +0 -1
- package/lib/v2/jin10/index.js +58 -0
- package/lib/v2/jin10/maintainer.js +3 -0
- package/lib/v2/jin10/radar.js +13 -0
- package/lib/v2/jin10/router.js +3 -0
- package/lib/v2/jin10/templates/description.art +2 -0
- package/lib/v2/ke/maintainer.js +3 -0
- package/lib/v2/ke/radar.js +13 -0
- package/lib/v2/ke/results.js +36 -0
- package/lib/v2/ke/router.js +3 -0
- package/lib/v2/kimlaw/maintainer.js +3 -0
- package/lib/v2/kimlaw/radar.js +13 -0
- package/lib/v2/kimlaw/router.js +3 -0
- package/lib/v2/kimlaw/thesis.js +44 -0
- package/lib/v2/layoffs/index.js +51 -21
- package/lib/v2/learnblockchain/maintainer.js +3 -0
- package/lib/v2/learnblockchain/posts.js +43 -0
- package/lib/v2/learnblockchain/radar.js +19 -0
- package/lib/v2/learnblockchain/router.js +3 -0
- package/lib/v2/linkedin/cn/index.js +13 -0
- package/lib/v2/linkedin/cn/renderer.js +179 -0
- package/lib/v2/linkedin/cn/utils.js +122 -0
- package/lib/v2/linkedin/maintainer.js +1 -0
- package/lib/v2/linkedin/radar.js +15 -1
- package/lib/v2/linkedin/router.js +1 -0
- package/lib/v2/linkedin/templates/cn/posting.art +25 -0
- package/lib/v2/lofter/user.js +2 -2
- package/lib/v2/mclaren/index.js +96 -0
- package/lib/v2/mclaren/maintainer.js +3 -0
- package/lib/v2/mclaren/radar.js +29 -0
- package/lib/v2/mclaren/router.js +3 -0
- package/lib/v2/mclaren/templates/desc.art +6 -0
- package/lib/v2/minecraft/maintainer.js +3 -0
- package/lib/v2/minecraft/radar.js +13 -0
- package/lib/v2/minecraft/router.js +3 -0
- package/lib/{routes → v2}/minecraft/version.js +1 -1
- package/lib/v2/misskey/featured-notes.js +29 -0
- package/lib/v2/misskey/maintainer.js +3 -0
- package/lib/v2/misskey/radar.js +35 -0
- package/lib/v2/misskey/router.js +3 -0
- package/lib/v2/misskey/templates/note.art +23 -0
- package/lib/v2/misskey/utils.js +31 -0
- package/lib/v2/mixcloud/index.js +130 -0
- package/lib/v2/mixcloud/maintainer.js +3 -0
- package/lib/v2/mixcloud/queries.js +1520 -0
- package/lib/v2/mixcloud/radar.js +37 -0
- package/lib/v2/mixcloud/router.js +3 -0
- package/lib/v2/mysql/release.js +9 -2
- package/lib/v2/nbd/index.js +6 -6
- package/lib/v2/njnu/ceai/utils.js +3 -3
- package/lib/v2/njnu/jwc/utils.js +3 -3
- package/lib/v2/nua/utils.js +2 -2
- package/lib/v2/odaily/activity.js +13 -14
- package/lib/v2/odaily/user.js +14 -15
- package/lib/v2/oilchem/index.js +20 -21
- package/lib/v2/oncc/maintainer.js +1 -0
- package/lib/v2/oncc/money18.js +115 -0
- package/lib/v2/oncc/radar.js +13 -5
- package/lib/v2/oncc/router.js +1 -0
- package/lib/v2/oncc/templates/money18.art +6 -0
- package/lib/{routes → v2}/phoronix/index.js +42 -46
- package/lib/v2/phoronix/maintainer.js +3 -0
- package/lib/v2/phoronix/radar.js +13 -0
- package/lib/v2/phoronix/router.js +3 -0
- 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/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/ranking.js +3 -0
- package/lib/v2/piyao/jrpy.js +39 -0
- package/lib/v2/piyao/maintainer.js +3 -0
- package/lib/v2/piyao/radar.js +13 -0
- package/lib/v2/piyao/router.js +3 -0
- package/lib/v2/pku/ss/admission.js +4 -42
- package/lib/v2/pku/ss/common.js +37 -0
- package/lib/v2/pku/ss/notice.js +4 -42
- package/lib/v2/pku/ss/pg_admin.js +4 -42
- 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/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/qq/fact/index.js +61 -0
- package/lib/v2/qq/maintainer.js +1 -0
- package/lib/v2/qq/radar.js +8 -0
- package/lib/v2/qq/router.js +1 -0
- package/lib/v2/qq/templates/article.art +19 -0
- package/lib/v2/rodong/maintainer.js +3 -0
- package/lib/v2/rodong/news.js +45 -0
- package/lib/v2/rodong/radar.js +13 -0
- package/lib/v2/rodong/router.js +3 -0
- package/lib/v2/ruancan/category.js +8 -0
- package/lib/v2/ruancan/index.js +3 -55
- package/lib/v2/ruancan/maintainer.js +3 -3
- package/lib/v2/ruancan/radar.js +12 -6
- package/lib/v2/ruancan/router.js +4 -1
- package/lib/v2/ruancan/search.js +8 -0
- package/lib/v2/ruancan/user.js +8 -0
- package/lib/v2/ruancan/utils.js +66 -0
- package/lib/v2/sdu/extractor/index.js +5 -5
- package/lib/v2/sdu/extractor/sdrj.js +2 -2
- package/lib/v2/sdu/extractor/view.js +2 -2
- package/lib/v2/sdu/extractor/wh/jwc.js +2 -2
- package/lib/v2/sdu/extractor/wh/news.js +2 -2
- package/lib/v2/sdu/wh/jwc.js +1 -1
- package/lib/v2/sdu/wh/news.js +1 -1
- package/lib/v2/sehuatang/index.js +129 -0
- package/lib/v2/{dsndsht23 → sehuatang}/radar.js +2 -2
- package/lib/v2/shmeea/self-study.js +4 -4
- package/lib/v2/sicau/dky.js +12 -13
- package/lib/v2/sicau/yan.js +13 -14
- package/lib/v2/sspai/bookmarks.js +41 -0
- package/lib/v2/sspai/maintainer.js +1 -0
- package/lib/v2/sspai/radar.js +6 -0
- package/lib/v2/sspai/router.js +1 -0
- package/lib/v2/stcn/index.js +25 -32
- package/lib/v2/stcn/maintainer.js +0 -3
- package/lib/v2/stcn/radar.js +4 -22
- package/lib/v2/stcn/router.js +1 -1
- package/lib/v2/swjtu/jtys/yjs.js +55 -0
- package/lib/v2/swjtu/jyzpxx.js +28 -0
- package/lib/v2/swjtu/maintainer.js +4 -0
- package/lib/v2/swjtu/radar.js +21 -0
- package/lib/v2/swjtu/router.js +4 -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/telegram/channel.js +24 -4
- package/lib/v2/thepaper/maintainer.js +2 -1
- package/lib/v2/thepaper/radar.js +6 -0
- package/lib/v2/thepaper/router.js +2 -1
- package/lib/v2/thepaper/sidebar.js +24 -0
- package/lib/v2/thepaper/utils.js +51 -65
- package/lib/v2/twitter/utils.js +10 -32
- package/lib/v2/twitter/web-api/twitter-api.js +5 -5
- package/lib/v2/u9a9/index.js +66 -0
- package/lib/v2/u9a9/maintainer.js +4 -0
- package/lib/v2/u9a9/radar.js +19 -0
- package/lib/v2/u9a9/router.js +4 -0
- package/lib/v2/uber/blog.js +20 -21
- 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/vocus/maintainer.js +4 -0
- package/lib/v2/vocus/publication.js +42 -0
- package/lib/v2/vocus/radar.js +19 -0
- package/lib/v2/vocus/router.js +4 -0
- package/lib/v2/vocus/user.js +43 -0
- package/lib/v2/vocus/utils.js +51 -0
- package/lib/v2/wechat/ce.js +2 -2
- package/lib/v2/wechat/data258.js +1 -1
- package/lib/v2/wechat/ershcimi.js +1 -1
- package/lib/v2/wechat/feeddd.js +1 -1
- package/lib/v2/wechat/feeds.js +1 -1
- package/lib/v2/wechat/maintainer.js +1 -1
- package/lib/v2/wechat/mp.js +2 -2
- package/lib/v2/wechat/msgalbum.js +2 -2
- package/lib/v2/wechat/radar.js +9 -9
- package/lib/v2/wechat/router.js +1 -1
- package/lib/v2/wechat/wechat2rss.js +28 -0
- package/lib/v2/wfu/news.js +1 -1
- package/lib/v2/who/news-room.js +17 -18
- package/lib/v2/who/news.js +11 -12
- package/lib/v2/wp-china/news.js +12 -13
- package/lib/v2/wyzxwk/article.js +20 -21
- package/lib/v2/xaufe/jiaowu.js +72 -0
- package/lib/v2/xaufe/maintainer.js +3 -0
- package/lib/v2/xaufe/radar.js +11 -0
- package/lib/v2/xaufe/router.js +3 -0
- package/lib/v2/xiaohongshu/board.js +4 -2
- package/lib/v2/xiaohongshu/maintainer.js +2 -1
- package/lib/v2/xiaohongshu/radar.js +2 -2
- package/lib/v2/xiaohongshu/user.js +20 -41
- package/lib/v2/xiaohongshu/util.js +44 -7
- package/lib/v2/xiaomiyoupin/crowdfunding.js +43 -0
- package/lib/v2/xiaomiyoupin/latest.js +15 -0
- package/lib/v2/xiaomiyoupin/maintainer.js +4 -0
- package/lib/v2/xiaomiyoupin/radar.js +19 -0
- package/lib/v2/xiaomiyoupin/router.js +4 -0
- package/lib/v2/xiaomiyoupin/templates/goods.art +27 -0
- package/lib/v2/xiaomiyoupin/utils.js +21 -0
- package/lib/v2/yahoo/maintainer.js +3 -0
- package/lib/{routes/yahoo-news → v2/yahoo/news}/index.js +7 -9
- package/lib/v2/yahoo/radar.js +13 -0
- package/lib/v2/yahoo/router.js +3 -0
- package/lib/v2/yicai/utils.js +1 -1
- package/lib/v2/youtube/user.js +15 -3
- package/lib/v2/youtube/utils.js +1 -1
- package/lib/v2/yuque/book.js +79 -0
- package/lib/v2/yuque/maintainer.js +3 -0
- package/lib/v2/yuque/radar.js +13 -0
- package/lib/v2/yuque/router.js +3 -0
- package/lib/v2/yuque/utils.js +46 -0
- package/lib/v2/zhibo8/forum.js +15 -16
- package/lib/v2/zhibo8/luxiang.js +38 -0
- package/lib/v2/zhibo8/maintainer.js +1 -0
- package/lib/v2/zhibo8/more.js +12 -17
- package/lib/v2/zhibo8/post.js +28 -18
- package/lib/v2/zhibo8/radar.js +8 -0
- package/lib/v2/zhibo8/router.js +1 -0
- package/lib/views/json.js +46 -0
- package/package.json +15 -14
- package/lib/routes/apkpure/versions.js +0 -23
- package/lib/routes/baidu/topwords.js +0 -38
- package/lib/routes/caixin/article.js +0 -46
- package/lib/routes/caixin/blog.js +0 -62
- package/lib/routes/caixin/category.js +0 -48
- package/lib/routes/caixin/latest.js +0 -75
- package/lib/routes/caixin/yxnews.js +0 -30
- package/lib/routes/cartoonmad/comic.js +0 -69
- package/lib/routes/clickme/index.js +0 -76
- package/lib/routes/eleduck/jobs.js +0 -38
- package/lib/routes/fzdm/manhua.js +0 -62
- package/lib/routes/ikea/uk/new.js +0 -20
- package/lib/routes/ikea/uk/offer.js +0 -64
- package/lib/routes/instagram/index.js +0 -131
- package/lib/routes/instagram/utils.js +0 -28
- package/lib/routes/iqiyi/dongman.js +0 -42
- package/lib/routes/jinshi/index.js +0 -35
- package/lib/routes/mi/youpin/crowdfunding.js +0 -39
- package/lib/routes/mi/youpin/new.js +0 -26
- package/lib/routes/ncm/playlist.js +0 -45
- package/lib/routes/netease/ds.js +0 -41
- package/lib/routes/netease/dy.js +0 -54
- package/lib/routes/netease/dy2.js +0 -62
- package/lib/routes/netease/open/latest.js +0 -68
- package/lib/routes/netease/open/vip.js +0 -39
- package/lib/routes/oilprice/index.js +0 -66
- package/lib/routes/pnas/index.js +0 -66
- package/lib/routes/swjtu/tl/news.js +0 -35
- package/lib/routes/tencent/factcheck/index.js +0 -51
- package/lib/routes/universities/cas/mesalab/kb.js +0 -45
- package/lib/routes/universities/cas/sim/academic.js +0 -59
- package/lib/routes/vocus/publication.js +0 -19
- package/lib/routes/vocus/utils.js +0 -29
- package/lib/routes/yuque/doc.js +0 -60
- package/lib/v2/csu/job.js +0 -34
- package/lib/v2/dsndsht23/index.js +0 -121
- package/lib/v2/mp4er/index.js +0 -83
- package/lib/v2/mp4er/maintainer.js +0 -3
- package/lib/v2/mp4er/radar.js +0 -13
- package/lib/v2/mp4er/router.js +0 -3
- package/lib/v2/netease/maintainer.js +0 -6
- package/lib/v2/netease/radar.js +0 -37
- package/lib/v2/netease/router.js +0 -6
- package/lib/v2/wechat/wemp.js +0 -58
- /package/lib/v2/{netease → 163}/exclusive.js +0 -0
- /package/lib/v2/{netease → 163}/templates/exclusive.art +0 -0
- /package/lib/{routes/ncm/templates → v2/163/templates/music}/djradio-content.art +0 -0
- /package/lib/{routes → v2}/iqiyi/video.js +0 -0
- /package/lib/v2/{dsndsht23 → sehuatang}/maintainer.js +0 -0
- /package/lib/v2/{dsndsht23 → sehuatang}/router.js +0 -0
package/lib/config.js
CHANGED
|
@@ -185,6 +185,7 @@ const calculateValue = () => {
|
|
|
185
185
|
username: envs.IG_USERNAME,
|
|
186
186
|
password: envs.IG_PASSWORD,
|
|
187
187
|
proxy: envs.IG_PROXY,
|
|
188
|
+
cookie: envs.IG_COOKIE,
|
|
188
189
|
},
|
|
189
190
|
iwara: {
|
|
190
191
|
cookie: envs.IWARA_COOKIE,
|
|
@@ -221,6 +222,9 @@ const calculateValue = () => {
|
|
|
221
222
|
pianyuan: {
|
|
222
223
|
cookie: envs.PIANYUAN_COOKIE,
|
|
223
224
|
},
|
|
225
|
+
pixabay: {
|
|
226
|
+
key: envs.PIXABAY_KEY,
|
|
227
|
+
},
|
|
224
228
|
pixiv: {
|
|
225
229
|
refreshToken: envs.PIXIV_REFRESHTOKEN,
|
|
226
230
|
bypassCdn: envs.PIXIV_BYPASS_CDN !== '0' && envs.PIXIV_BYPASS_CDN !== 'false',
|
|
@@ -279,9 +283,6 @@ const calculateValue = () => {
|
|
|
279
283
|
clientSecret: envs.YOUTUBE_CLIENT_SECRET,
|
|
280
284
|
refreshToken: envs.YOUTUBE_REFRESH_TOKEN,
|
|
281
285
|
},
|
|
282
|
-
yuque: {
|
|
283
|
-
token: envs.YUQUE_TOKEN,
|
|
284
|
-
},
|
|
285
286
|
zhihu: {
|
|
286
287
|
cookies: envs.ZHIHU_COOKIES,
|
|
287
288
|
},
|
|
@@ -139,6 +139,13 @@ module.exports = async (ctx, next) => {
|
|
|
139
139
|
});
|
|
140
140
|
|
|
141
141
|
item.description = $('body').html() + '' + (config.suffix || '');
|
|
142
|
+
|
|
143
|
+
if (item._extra?.links && $('.rsshub-quote').length) {
|
|
144
|
+
item._extra?.links?.map((e) => {
|
|
145
|
+
e.content_html = $.html($('.rsshub-quote'));
|
|
146
|
+
return e;
|
|
147
|
+
});
|
|
148
|
+
}
|
|
142
149
|
}
|
|
143
150
|
return item;
|
|
144
151
|
};
|
|
@@ -266,7 +273,7 @@ module.exports = async (ctx, next) => {
|
|
|
266
273
|
});
|
|
267
274
|
|
|
268
275
|
item.author = author || (parsed_result ? parsed_result.author : '');
|
|
269
|
-
item.description = parsed_result ? entities.decodeXML(parsed_result.content) : description;
|
|
276
|
+
item.description = parsed_result && parsed_result.content.length > 40 ? entities.decodeXML(parsed_result.content) : description;
|
|
270
277
|
});
|
|
271
278
|
await Promise.all(tasks);
|
|
272
279
|
}
|
package/lib/radar-rules.js
CHANGED
|
@@ -395,95 +395,6 @@ module.exports = {
|
|
|
395
395
|
},
|
|
396
396
|
],
|
|
397
397
|
},
|
|
398
|
-
'163.com': {
|
|
399
|
-
_name: '网易',
|
|
400
|
-
ds: [
|
|
401
|
-
{
|
|
402
|
-
title: '大神',
|
|
403
|
-
docs: 'https://docs.rsshub.app/game.html#wang-yi-da-shen',
|
|
404
|
-
source: '/user/:id',
|
|
405
|
-
target: '/netease/ds/:id',
|
|
406
|
-
},
|
|
407
|
-
],
|
|
408
|
-
open: [
|
|
409
|
-
{
|
|
410
|
-
title: '公开课 - 精品课程',
|
|
411
|
-
docs: 'https://docs.rsshub.app/study.html#wang-yi-gong-kai-ke',
|
|
412
|
-
source: '/',
|
|
413
|
-
target: '/open163/vip',
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
title: '公开课 - 最新课程',
|
|
417
|
-
docs: 'https://docs.rsshub.app/study.html#wang-yi-gong-kai-ke',
|
|
418
|
-
source: '/',
|
|
419
|
-
target: '/open163/latest',
|
|
420
|
-
},
|
|
421
|
-
],
|
|
422
|
-
music: [
|
|
423
|
-
{
|
|
424
|
-
title: '云音乐 - 用户歌单',
|
|
425
|
-
docs: 'https://docs.rsshub.app/multimedia.html#wang-yi-yun-yin-yue',
|
|
426
|
-
source: '/',
|
|
427
|
-
target: (params, url) => {
|
|
428
|
-
const id = new URL(url).hash.match(/home\?id=(.*)/)[1];
|
|
429
|
-
return id ? `/ncm/user/playlist/${id}` : '';
|
|
430
|
-
},
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
title: '云音乐 - 歌单歌曲',
|
|
434
|
-
docs: 'https://docs.rsshub.app/multimedia.html#wang-yi-yun-yin-yue',
|
|
435
|
-
source: '/',
|
|
436
|
-
target: (params, url) => {
|
|
437
|
-
const id = new URL(url).hash.match(/playlist\?id=(.*)/)[1];
|
|
438
|
-
return id ? `/ncm/playlist/${id}` : '';
|
|
439
|
-
},
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
title: '云音乐 - 歌手专辑',
|
|
443
|
-
docs: 'https://docs.rsshub.app/multimedia.html#wang-yi-yun-yin-yue',
|
|
444
|
-
source: '/',
|
|
445
|
-
target: (params, url) => {
|
|
446
|
-
const id = new URL(url).hash.match(/album\?id=(.*)/)[1];
|
|
447
|
-
return id ? `/ncm/artist/${id}` : '';
|
|
448
|
-
},
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
title: '云音乐 - 电台节目',
|
|
452
|
-
docs: 'https://docs.rsshub.app/multimedia.html#wang-yi-yun-yin-yue',
|
|
453
|
-
source: '/',
|
|
454
|
-
target: (params, url) => {
|
|
455
|
-
const id = new URL(url).hash.match(/djradio\?id=(.*)/)[1];
|
|
456
|
-
return id ? `/ncm/djradio/${id}` : '';
|
|
457
|
-
},
|
|
458
|
-
},
|
|
459
|
-
],
|
|
460
|
-
'y.music': [
|
|
461
|
-
{
|
|
462
|
-
title: '云音乐 - 用户歌单',
|
|
463
|
-
docs: 'https://docs.rsshub.app/multimedia.html#wang-yi-yun-yin-yue',
|
|
464
|
-
source: '/m/user',
|
|
465
|
-
target: (params, url) => `/ncm/playlist/${new URL(url).searchParams.get('id')}`,
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
title: '云音乐 - 歌单歌曲',
|
|
469
|
-
docs: 'https://docs.rsshub.app/multimedia.html#wang-yi-yun-yin-yue',
|
|
470
|
-
source: '/m/playlist',
|
|
471
|
-
target: (params, url) => `/ncm/playlist/${new URL(url).searchParams.get('id')}`,
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
title: '云音乐 - 歌手专辑',
|
|
475
|
-
docs: 'https://docs.rsshub.app/multimedia.html#wang-yi-yun-yin-yue',
|
|
476
|
-
source: '/m/album',
|
|
477
|
-
target: (params, url) => `/ncm/playlist/${new URL(url).searchParams.get('id')}`,
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
title: '云音乐 - 播单声音',
|
|
481
|
-
docs: 'https://docs.rsshub.app/multimedia.html#wang-yi-yun-yin-yue',
|
|
482
|
-
source: ['/m/radio', '/m/djradio'],
|
|
483
|
-
target: (params, url) => `/ncm/playlist/${new URL(url).searchParams.get('id')}`,
|
|
484
|
-
},
|
|
485
|
-
],
|
|
486
|
-
},
|
|
487
398
|
'suzhou.gov.cn': {
|
|
488
399
|
_name: '苏州市政府',
|
|
489
400
|
www: [
|
|
@@ -1200,28 +1111,6 @@ module.exports = {
|
|
|
1200
1111
|
},
|
|
1201
1112
|
],
|
|
1202
1113
|
},
|
|
1203
|
-
'yuque.com': {
|
|
1204
|
-
_name: '语雀',
|
|
1205
|
-
www: [
|
|
1206
|
-
{
|
|
1207
|
-
title: '知识库',
|
|
1208
|
-
docs: 'https://docs.rsshub.app/study.html#yu-que',
|
|
1209
|
-
source: ['/:space/:book'],
|
|
1210
|
-
target: (params, url, document) => {
|
|
1211
|
-
const match = document.documentElement.innerHTML.match(/JSON\.parse\(decodeURIComponent\("(.*)"\)/);
|
|
1212
|
-
if (match && match[1]) {
|
|
1213
|
-
const dataStr = match[1];
|
|
1214
|
-
try {
|
|
1215
|
-
const appData = JSON.parse(decodeURIComponent(dataStr));
|
|
1216
|
-
return `/yuque/doc/${appData.book.id}`;
|
|
1217
|
-
} catch (e) {
|
|
1218
|
-
// pass
|
|
1219
|
-
}
|
|
1220
|
-
}
|
|
1221
|
-
},
|
|
1222
|
-
},
|
|
1223
|
-
],
|
|
1224
|
-
},
|
|
1225
1114
|
'bjeea.com': {
|
|
1226
1115
|
_name: '北京考试院',
|
|
1227
1116
|
www: [
|
|
@@ -1394,21 +1283,6 @@ module.exports = {
|
|
|
1394
1283
|
},
|
|
1395
1284
|
],
|
|
1396
1285
|
},
|
|
1397
|
-
'instagram.com': {
|
|
1398
|
-
_name: 'Instagram',
|
|
1399
|
-
www: [
|
|
1400
|
-
{
|
|
1401
|
-
title: '用户',
|
|
1402
|
-
docs: 'https://docs.rsshub.app/social-media.html#instagram',
|
|
1403
|
-
source: '/:id',
|
|
1404
|
-
target: (params) => {
|
|
1405
|
-
if (params.id !== 'explore' && params.id !== 'developer') {
|
|
1406
|
-
return '/instagram/user/:id';
|
|
1407
|
-
}
|
|
1408
|
-
},
|
|
1409
|
-
},
|
|
1410
|
-
],
|
|
1411
|
-
},
|
|
1412
1286
|
'huya.com': {
|
|
1413
1287
|
_name: '虎牙直播',
|
|
1414
1288
|
'.': [
|
package/lib/router.js
CHANGED
|
@@ -62,11 +62,11 @@ router.get('/benedictevans', lazyloadRouteHandler('./routes/benedictevans/recent
|
|
|
62
62
|
// router.get('/tieba/user/:uid', lazyloadRouteHandler('./routes/tieba/user'));
|
|
63
63
|
|
|
64
64
|
// 网易云音乐
|
|
65
|
-
router.get('/ncm/playlist/:id', lazyloadRouteHandler('./routes/ncm/playlist'));
|
|
66
|
-
router.get('/ncm/user/playlist/:uid', lazyloadRouteHandler('./routes/ncm/userplaylist'));
|
|
67
|
-
router.get('/ncm/artist/:id', lazyloadRouteHandler('./routes/ncm/artist'));
|
|
68
|
-
router.get('/ncm/djradio/:id', lazyloadRouteHandler('./routes/ncm/djradio'));
|
|
69
|
-
router.get('/ncm/user/playrecords/:uid/:type?', lazyloadRouteHandler('./routes/ncm/userplayrecords'));
|
|
65
|
+
// router.get('/ncm/playlist/:id', lazyloadRouteHandler('./routes/ncm/playlist'));
|
|
66
|
+
// router.get('/ncm/user/playlist/:uid', lazyloadRouteHandler('./routes/ncm/userplaylist'));
|
|
67
|
+
// router.get('/ncm/artist/:id', lazyloadRouteHandler('./routes/ncm/artist'));
|
|
68
|
+
// router.get('/ncm/djradio/:id', lazyloadRouteHandler('./routes/ncm/djradio'));
|
|
69
|
+
// router.get('/ncm/user/playrecords/:uid/:type?', lazyloadRouteHandler('./routes/ncm/userplayrecords'));
|
|
70
70
|
|
|
71
71
|
// 掘金 migrated to v2
|
|
72
72
|
// router.get('/juejin/category/:category', lazyloadRouteHandler('./routes/juejin/category'));
|
|
@@ -176,8 +176,8 @@ router.get('/geektime/news', lazyloadRouteHandler('./routes/geektime/news'));
|
|
|
176
176
|
router.get('/qdaily/:type/:id', lazyloadRouteHandler('./routes/qdaily/index'));
|
|
177
177
|
|
|
178
178
|
// 爱奇艺
|
|
179
|
-
router.get('/iqiyi/dongman/:id', lazyloadRouteHandler('./routes/iqiyi/dongman'));
|
|
180
|
-
router.get('/iqiyi/user/video/:uid', lazyloadRouteHandler('./routes/iqiyi/video'));
|
|
179
|
+
// router.get('/iqiyi/dongman/:id', lazyloadRouteHandler('./routes/iqiyi/dongman'));
|
|
180
|
+
// router.get('/iqiyi/user/video/:uid', lazyloadRouteHandler('./routes/iqiyi/video'));
|
|
181
181
|
|
|
182
182
|
// 南方周末
|
|
183
183
|
router.get('/infzm/:id', lazyloadRouteHandler('./routes/infzm/news'));
|
|
@@ -288,11 +288,11 @@ router.get('/mihoyo/bh2/:type', lazyloadRouteHandler('./routes/mihoyo/bh2'));
|
|
|
288
288
|
// router.get('/cctv-special/:id?', lazyloadRouteHandler('./routes/cctv/special'));
|
|
289
289
|
|
|
290
290
|
// 财新博客
|
|
291
|
-
router.get('/caixin/blog/:column', lazyloadRouteHandler('./routes/caixin/blog'));
|
|
292
|
-
router.get('/caixin/article', lazyloadRouteHandler('./routes/caixin/article'));
|
|
293
|
-
router.get('/caixin/database', lazyloadRouteHandler('./routes/caixin/database'));
|
|
294
|
-
router.get('/caixin/yxnews', lazyloadRouteHandler('./routes/caixin/yxnews'));
|
|
295
|
-
router.get('/caixin/:column/:category', lazyloadRouteHandler('./routes/caixin/category'));
|
|
291
|
+
// router.get('/caixin/blog/:column', lazyloadRouteHandler('./routes/caixin/blog'));
|
|
292
|
+
// router.get('/caixin/article', lazyloadRouteHandler('./routes/caixin/article'));
|
|
293
|
+
// router.get('/caixin/database', lazyloadRouteHandler('./routes/caixin/database'));
|
|
294
|
+
// router.get('/caixin/yxnews', lazyloadRouteHandler('./routes/caixin/yxnews'));
|
|
295
|
+
// router.get('/caixin/:column/:category', lazyloadRouteHandler('./routes/caixin/category'));
|
|
296
296
|
|
|
297
297
|
// 草榴社区
|
|
298
298
|
router.get('/t66y/post/:tid', lazyloadRouteHandler('./routes/t66y/post'));
|
|
@@ -330,8 +330,8 @@ router.get('/cpython/:pre?', lazyloadRouteHandler('./routes/cpython'));
|
|
|
330
330
|
// 小米
|
|
331
331
|
router.get('/mi/golden', lazyloadRouteHandler('./routes/mi/golden'));
|
|
332
332
|
router.get('/mi/crowdfunding', lazyloadRouteHandler('./routes/mi/crowdfunding'));
|
|
333
|
-
router.get('/mi/youpin/crowdfunding', lazyloadRouteHandler('./routes/mi/youpin/crowdfunding'));
|
|
334
|
-
router.get('/mi/youpin/new/:sort?', lazyloadRouteHandler('./routes/mi/youpin/new'));
|
|
333
|
+
// router.get('/mi/youpin/crowdfunding', lazyloadRouteHandler('./routes/mi/youpin/crowdfunding'));
|
|
334
|
+
// router.get('/mi/youpin/new/:sort?', lazyloadRouteHandler('./routes/mi/youpin/new'));
|
|
335
335
|
router.get('/miui/:device/:type?/:region?', lazyloadRouteHandler('./routes/mi/miui/index'));
|
|
336
336
|
router.get('/mi/bbs/board/:boardId', lazyloadRouteHandler('./routes/mi/board'));
|
|
337
337
|
|
|
@@ -531,7 +531,7 @@ router.get('/hhu/libNewsc', lazyloadRouteHandler('./routes/universities/hhu/libN
|
|
|
531
531
|
// router.get('/hit/today/:category', lazyloadRouteHandler('./routes/universities/hit/today'));
|
|
532
532
|
|
|
533
533
|
// 哈尔滨工业大学(深圳)
|
|
534
|
-
router.get('/hitsz/article/:category?', lazyloadRouteHandler('./routes/universities/hitsz/article'));
|
|
534
|
+
// router.get('/hitsz/article/:category?', lazyloadRouteHandler('./routes/universities/hitsz/article'));
|
|
535
535
|
|
|
536
536
|
// 哈尔滨工业大学(威海)
|
|
537
537
|
// router.get('/hitwh/today', lazyloadRouteHandler('./routes/universities/hitwh/today'));
|
|
@@ -590,10 +590,10 @@ router.get('/scnu/cs/match', lazyloadRouteHandler('./routes/universities/scnu/cs
|
|
|
590
590
|
// router.get('/gdut/news', lazyloadRouteHandler('./routes/universities/gdut/news'));
|
|
591
591
|
|
|
592
592
|
// 中国科学院
|
|
593
|
-
router.get('/cas/sim/academic', lazyloadRouteHandler('./routes/universities/cas/sim/academic'));
|
|
594
|
-
router.get('/cas/mesalab/kb', lazyloadRouteHandler('./routes/universities/cas/mesalab/kb'));
|
|
595
|
-
router.get('/cas/iee/kydt', lazyloadRouteHandler('./routes/universities/cas/iee/kydt'));
|
|
596
|
-
router.get('/cas/cg/:caty?', lazyloadRouteHandler('./routes/universities/cas/cg/index'));
|
|
593
|
+
// router.get('/cas/sim/academic', lazyloadRouteHandler('./routes/universities/cas/sim/academic'));
|
|
594
|
+
// router.get('/cas/mesalab/kb', lazyloadRouteHandler('./routes/universities/cas/mesalab/kb'));
|
|
595
|
+
// router.get('/cas/iee/kydt', lazyloadRouteHandler('./routes/universities/cas/iee/kydt'));
|
|
596
|
+
// router.get('/cas/cg/:caty?', lazyloadRouteHandler('./routes/universities/cas/cg/index'));
|
|
597
597
|
|
|
598
598
|
// 中国传媒大学
|
|
599
599
|
// router.get('/cuc/yz', lazyloadRouteHandler('./v2/cuc/yz'));
|
|
@@ -928,9 +928,6 @@ router.get('/chouti/:subject?', lazyloadRouteHandler('./routes/chouti'));
|
|
|
928
928
|
// Westore
|
|
929
929
|
router.get('/westore/new', lazyloadRouteHandler('./routes/westore/new'));
|
|
930
930
|
|
|
931
|
-
// 油价
|
|
932
|
-
router.get('/oilprice/:area', lazyloadRouteHandler('./routes/oilprice'));
|
|
933
|
-
|
|
934
931
|
// nHentai
|
|
935
932
|
router.get('/nhentai/search/:keyword/:mode?', lazyloadRouteHandler('./routes/nhentai/search'));
|
|
936
933
|
router.get('/nhentai/:key/:keyword/:mode?', lazyloadRouteHandler('./routes/nhentai/other'));
|
|
@@ -950,7 +947,7 @@ router.get('/geekpark/breakingnews', lazyloadRouteHandler('./routes/geekpark/bre
|
|
|
950
947
|
|
|
951
948
|
// 百度
|
|
952
949
|
router.get('/baidu/doodles', lazyloadRouteHandler('./routes/baidu/doodles'));
|
|
953
|
-
router.get('/baidu/topwords/:boardId?', lazyloadRouteHandler('./routes/baidu/topwords'));
|
|
950
|
+
// router.get('/baidu/topwords/:boardId?', lazyloadRouteHandler('./routes/baidu/topwords'));
|
|
954
951
|
router.get('/baidu/daily', lazyloadRouteHandler('./routes/baidu/daily'));
|
|
955
952
|
|
|
956
953
|
// 搜狗
|
|
@@ -1007,7 +1004,7 @@ router.get('/tencentvideo/playlist/:id', lazyloadRouteHandler('./routes/tencent/
|
|
|
1007
1004
|
// router.get('/copymanga/comic/:id', lazyloadRouteHandler('./routes/copymanga/comic'));
|
|
1008
1005
|
|
|
1009
1006
|
// 動漫狂
|
|
1010
|
-
router.get('/cartoonmad/comic/:id', lazyloadRouteHandler('./routes/cartoonmad/comic'));
|
|
1007
|
+
// router.get('/cartoonmad/comic/:id', lazyloadRouteHandler('./routes/cartoonmad/comic'));
|
|
1011
1008
|
// Vol
|
|
1012
1009
|
router.get('/vol/:mode?', lazyloadRouteHandler('./routes/vol/lastupdate'));
|
|
1013
1010
|
// 咚漫
|
|
@@ -1091,7 +1088,7 @@ router.get('/anigamer/new_anime', lazyloadRouteHandler('./routes/anigamer/new_an
|
|
|
1091
1088
|
router.get('/anigamer/anime/:sn', lazyloadRouteHandler('./routes/anigamer/anime'));
|
|
1092
1089
|
|
|
1093
1090
|
// Apkpure
|
|
1094
|
-
router.get('/apkpure/versions/:region/:pkg', lazyloadRouteHandler('./routes/apkpure/versions'));
|
|
1091
|
+
// router.get('/apkpure/versions/:region/:pkg', lazyloadRouteHandler('./routes/apkpure/versions'));
|
|
1095
1092
|
|
|
1096
1093
|
// 豆瓣美女 migrated to v2
|
|
1097
1094
|
// router.get('/dbmv/:category?', lazyloadRouteHandler('./routes/dbmv/index'));
|
|
@@ -1505,8 +1502,8 @@ router.get('/bupt/news', lazyloadRouteHandler('./routes/universities/bupt/news')
|
|
|
1505
1502
|
router.get('/bupt/funbox', lazyloadRouteHandler('./routes/universities/bupt/funbox'));
|
|
1506
1503
|
|
|
1507
1504
|
// VOCUS 方格子
|
|
1508
|
-
router.get('/vocus/publication/:id', lazyloadRouteHandler('./routes/vocus/publication'));
|
|
1509
|
-
router.get('/vocus/user/:id', lazyloadRouteHandler('./routes/vocus/user'));
|
|
1505
|
+
// router.get('/vocus/publication/:id', lazyloadRouteHandler('./routes/vocus/publication'));
|
|
1506
|
+
// router.get('/vocus/user/:id', lazyloadRouteHandler('./routes/vocus/user'));
|
|
1510
1507
|
|
|
1511
1508
|
// 一亩三分地 1point3acres
|
|
1512
1509
|
router.get('/1point3acres/blog/:category?', lazyloadRouteHandler('./routes/1point3acres/blog'));
|
|
@@ -1631,7 +1628,7 @@ router.get('/swufe/seie/:type?', lazyloadRouteHandler('./routes/universities/swu
|
|
|
1631
1628
|
router.get('/wired/tag/:tag', lazyloadRouteHandler('./routes/wired/tag'));
|
|
1632
1629
|
|
|
1633
1630
|
// 语雀文档
|
|
1634
|
-
router.get('/yuque/doc/:repo_id', lazyloadRouteHandler('./routes/yuque/doc'));
|
|
1631
|
+
// router.get('/yuque/doc/:repo_id', lazyloadRouteHandler('./routes/yuque/doc'));
|
|
1635
1632
|
|
|
1636
1633
|
// 飞地
|
|
1637
1634
|
router.get('/enclavebooks/category/:id?', lazyloadRouteHandler('./routes/enclavebooks/category'));
|
|
@@ -1798,7 +1795,7 @@ router.get('/im2maker/:channel?', lazyloadRouteHandler('./routes/im2maker/index'
|
|
|
1798
1795
|
router.get('/cninfo/announcement/:column/:code/:orgId/:category?/:search?', lazyloadRouteHandler('./routes/cninfo/announcement'));
|
|
1799
1796
|
|
|
1800
1797
|
// 金十数据
|
|
1801
|
-
router.get('/jinshi/index', lazyloadRouteHandler('./routes/jinshi/index'));
|
|
1798
|
+
// router.get('/jinshi/index', lazyloadRouteHandler('./routes/jinshi/index'));
|
|
1802
1799
|
|
|
1803
1800
|
// 中华人民共和国农业农村部
|
|
1804
1801
|
router.get('/gov/moa/sjzxfb', lazyloadRouteHandler('./routes/gov/moa/sjzxfb'));
|
|
@@ -2033,7 +2030,7 @@ router.get('/network360/jobs', lazyloadRouteHandler('./routes/network360/jobs'))
|
|
|
2033
2030
|
router.get('/zhilian/:city/:keyword', lazyloadRouteHandler('./routes/zhilian/index'));
|
|
2034
2031
|
|
|
2035
2032
|
// 电鸭社区
|
|
2036
|
-
router.get('/eleduck/jobs', lazyloadRouteHandler('./routes/eleduck/jobs'));
|
|
2033
|
+
// router.get('/eleduck/jobs', lazyloadRouteHandler('./routes/eleduck/jobs'));
|
|
2037
2034
|
|
|
2038
2035
|
// 北华航天工业学院 - 新闻
|
|
2039
2036
|
router.get('/nciae/news', lazyloadRouteHandler('./routes/universities/nciae/news'));
|
|
@@ -2122,7 +2119,7 @@ router.get('/wineyun/:category', lazyloadRouteHandler('./routes/wineyun'));
|
|
|
2122
2119
|
router.get('/kzfeed/topic/:id', lazyloadRouteHandler('./routes/kzfeed/topic'));
|
|
2123
2120
|
|
|
2124
2121
|
// 腾讯新闻较真查证平台
|
|
2125
|
-
router.get('/factcheck', lazyloadRouteHandler('./routes/tencent/factcheck'));
|
|
2122
|
+
// router.get('/factcheck', lazyloadRouteHandler('./routes/tencent/factcheck'));
|
|
2126
2123
|
|
|
2127
2124
|
// X-MOL化学资讯平台
|
|
2128
2125
|
router.get('/x-mol/news/:tag?', lazyloadRouteHandler('./routes/x-mol/news.js'));
|
|
@@ -2168,7 +2165,7 @@ router.get('/elife/:tid', lazyloadRouteHandler('./routes/elife/index'));
|
|
|
2168
2165
|
router.get('/ieee/author/:aid/:sortType/:count?', lazyloadRouteHandler('./routes/ieee/author'));
|
|
2169
2166
|
|
|
2170
2167
|
// PNAS [Sci Journal]
|
|
2171
|
-
router.get('/pnas/:topic?', lazyloadRouteHandler('./routes/pnas/index'));
|
|
2168
|
+
// router.get('/pnas/:topic?', lazyloadRouteHandler('./routes/pnas/index'));
|
|
2172
2169
|
|
|
2173
2170
|
// cell [Sci Journal]
|
|
2174
2171
|
router.get('/cell/cell/:category', lazyloadRouteHandler('./routes/cell/cell/index'));
|
|
@@ -2187,8 +2184,8 @@ router.get('/cell/cover', lazyloadRouteHandler('./routes/cell/cover'));
|
|
|
2187
2184
|
// router.get('/sciencemag/early/science', lazyloadRouteHandler('./routes/sciencemag/early'));
|
|
2188
2185
|
|
|
2189
2186
|
// dlsite
|
|
2190
|
-
router.get('/dlsite/new/:type', lazyloadRouteHandler('./routes/dlsite/new'));
|
|
2191
|
-
router.get('/dlsite/campaign/:type/:free?', lazyloadRouteHandler('./routes/dlsite/campaign'));
|
|
2187
|
+
// router.get('/dlsite/new/:type', lazyloadRouteHandler('./routes/dlsite/new'));
|
|
2188
|
+
// router.get('/dlsite/campaign/:type/:free?', lazyloadRouteHandler('./routes/dlsite/campaign'));
|
|
2192
2189
|
|
|
2193
2190
|
// mcbbs
|
|
2194
2191
|
router.get('/mcbbs/forum/:type', lazyloadRouteHandler('./routes/mcbbs/forum'));
|
|
@@ -2223,7 +2220,7 @@ router.get('/gov/cnca/hydt', lazyloadRouteHandler('./routes/gov/cnca/hydt'));
|
|
|
2223
2220
|
router.get('/gov/cnca/zxtz', lazyloadRouteHandler('./routes/gov/cnca/zxtz'));
|
|
2224
2221
|
|
|
2225
2222
|
// clickme
|
|
2226
|
-
router.get('/clickme/:site/:grouping/:name', lazyloadRouteHandler('./routes/clickme'));
|
|
2223
|
+
// router.get('/clickme/:site/:grouping/:name', lazyloadRouteHandler('./routes/clickme'));
|
|
2227
2224
|
|
|
2228
2225
|
// 文汇报
|
|
2229
2226
|
router.get('/whb/:category', lazyloadRouteHandler('./routes/whb/zhuzhan'));
|
|
@@ -2280,8 +2277,8 @@ router.get('/centbrowser/history', lazyloadRouteHandler('./routes/centbrowser/hi
|
|
|
2280
2277
|
router.get('/755/user/:username', lazyloadRouteHandler('./routes/755/user'));
|
|
2281
2278
|
|
|
2282
2279
|
// IKEA
|
|
2283
|
-
router.get('/ikea/uk/new', lazyloadRouteHandler('./routes/ikea/uk/new'));
|
|
2284
|
-
router.get('/ikea/uk/offer', lazyloadRouteHandler('./routes/ikea/uk/offer'));
|
|
2280
|
+
// router.get('/ikea/uk/new', lazyloadRouteHandler('./routes/ikea/uk/new'));
|
|
2281
|
+
// router.get('/ikea/uk/offer', lazyloadRouteHandler('./routes/ikea/uk/offer'));
|
|
2285
2282
|
|
|
2286
2283
|
// Mastodon
|
|
2287
2284
|
router.get('/mastodon/timeline/:site/:only_media?', lazyloadRouteHandler('./routes/mastodon/timeline_local'));
|
|
@@ -2315,7 +2312,7 @@ router.get('/chrome/webstore/extensions/:id', lazyloadRouteHandler('./routes/chr
|
|
|
2315
2312
|
router.get('/rthk-news/:lang/:category', lazyloadRouteHandler('./routes/rthk-news/index'));
|
|
2316
2313
|
|
|
2317
2314
|
// yahoo
|
|
2318
|
-
router.get('/yahoo-news/:region/:category?', lazyloadRouteHandler('./routes/yahoo-news/index'));
|
|
2315
|
+
// router.get('/yahoo-news/:region/:category?', lazyloadRouteHandler('./routes/yahoo-news/index'));
|
|
2319
2316
|
|
|
2320
2317
|
// Yahoo!テレビ
|
|
2321
2318
|
router.get('/yahoo-jp-tv/:query', lazyloadRouteHandler('./routes/yahoo-jp-tv/index'));
|
|
@@ -2382,7 +2379,7 @@ router.get('/ifnews/:cid', lazyloadRouteHandler('./routes/ifnews/column'));
|
|
|
2382
2379
|
router.get('/scala/blog/:part?', lazyloadRouteHandler('./routes/scala-blog/scala-blog'));
|
|
2383
2380
|
|
|
2384
2381
|
// Minecraft Java版游戏更新
|
|
2385
|
-
router.get('/minecraft/version', lazyloadRouteHandler('./routes/minecraft/version'));
|
|
2382
|
+
// router.get('/minecraft/version', lazyloadRouteHandler('./routes/minecraft/version'));
|
|
2386
2383
|
|
|
2387
2384
|
// 微信更新日志
|
|
2388
2385
|
router.get('/weixin/miniprogram/release', lazyloadRouteHandler('./routes/tencent/wechat/miniprogram/framework')); // 基础库更新日志
|
|
@@ -2631,9 +2628,6 @@ router.get('/hnust/art', lazyloadRouteHandler('./routes/universities/hnust/art/i
|
|
|
2631
2628
|
router.get('/hnust/chem', lazyloadRouteHandler('./routes/universities/hnust/chem/index'));
|
|
2632
2629
|
router.get('/hnust/graduate/:type?', lazyloadRouteHandler('./routes/universities/hnust/graduate/index'));
|
|
2633
2630
|
|
|
2634
|
-
// 西南交通大学
|
|
2635
|
-
router.get('/swjtu/tl/news', lazyloadRouteHandler('./routes/swjtu/tl/news'));
|
|
2636
|
-
|
|
2637
2631
|
// AGE动漫
|
|
2638
2632
|
// router.get('/agefans/detail/:id', lazyloadRouteHandler('./routes/agefans/detail'));
|
|
2639
2633
|
// router.get('/agefans/update', lazyloadRouteHandler('./routes/agefans/update'));
|
|
@@ -2803,7 +2797,7 @@ router.get('/grubstreet', lazyloadRouteHandler('./routes/grubstreet/index'));
|
|
|
2803
2797
|
router.get('/manhuadui/manhua/:name/:serial?', lazyloadRouteHandler('./routes/manhuadui/manhua'));
|
|
2804
2798
|
|
|
2805
2799
|
// 风之漫画
|
|
2806
|
-
router.get('/fzdm/manhua/:id', lazyloadRouteHandler('./routes/fzdm/manhua'));
|
|
2800
|
+
// router.get('/fzdm/manhua/:id', lazyloadRouteHandler('./routes/fzdm/manhua'));
|
|
2807
2801
|
|
|
2808
2802
|
// Aljazeera 半岛网
|
|
2809
2803
|
// router.get('/aljazeera/news', lazyloadRouteHandler('./routes/aljazeera/news'));
|
|
@@ -2897,18 +2891,18 @@ router.get('/futunn/highlights', lazyloadRouteHandler('./routes/futunn/highlight
|
|
|
2897
2891
|
|
|
2898
2892
|
// 网易新闻
|
|
2899
2893
|
// router.get('/netease/news/rank/:category?/:type?/:time?', lazyloadRouteHandler('./routes/netease/news/rank'));
|
|
2900
|
-
router.get('/netease/news/special/:type?', lazyloadRouteHandler('./routes/netease/news/special'));
|
|
2894
|
+
// router.get('/netease/news/special/:type?', lazyloadRouteHandler('./routes/netease/news/special'));
|
|
2901
2895
|
|
|
2902
2896
|
// 网易 - 网易号
|
|
2903
|
-
router.get('/netease/dy/:id', lazyloadRouteHandler('./routes/netease/dy'));
|
|
2904
|
-
router.get('/netease/dy2/:id', lazyloadRouteHandler('./routes/netease/dy2'));
|
|
2897
|
+
// router.get('/netease/dy/:id', lazyloadRouteHandler('./routes/netease/dy'));
|
|
2898
|
+
// router.get('/netease/dy2/:id', lazyloadRouteHandler('./routes/netease/dy2'));
|
|
2905
2899
|
|
|
2906
2900
|
// 网易大神
|
|
2907
|
-
router.get('/netease/ds/:id', lazyloadRouteHandler('./routes/netease/ds'));
|
|
2901
|
+
// router.get('/netease/ds/:id', lazyloadRouteHandler('./routes/netease/ds'));
|
|
2908
2902
|
|
|
2909
2903
|
// 网易公开课
|
|
2910
|
-
router.get('/open163/vip', lazyloadRouteHandler('./routes/netease/open/vip'));
|
|
2911
|
-
router.get('/open163/latest', lazyloadRouteHandler('./routes/netease/open/latest'));
|
|
2904
|
+
// router.get('/open163/vip', lazyloadRouteHandler('./routes/netease/open/vip'));
|
|
2905
|
+
// router.get('/open163/latest', lazyloadRouteHandler('./routes/netease/open/latest'));
|
|
2912
2906
|
|
|
2913
2907
|
// Boston.com
|
|
2914
2908
|
router.get('/boston/:tag?', lazyloadRouteHandler('./routes/boston/index'));
|
|
@@ -3368,7 +3362,7 @@ router.get('/mitbbs/:caty?', lazyloadRouteHandler('./routes/mitbbs/index'));
|
|
|
3368
3362
|
router.get('/jiazhen108', lazyloadRouteHandler('./routes/jiazhen108/index'));
|
|
3369
3363
|
|
|
3370
3364
|
// Instagram
|
|
3371
|
-
router.get('/instagram/:category/:key', lazyloadRouteHandler('./routes/instagram/index'));
|
|
3365
|
+
// router.get('/instagram/:category/:key', lazyloadRouteHandler('./routes/instagram/index'));
|
|
3372
3366
|
|
|
3373
3367
|
// 优设网
|
|
3374
3368
|
router.get('/uisdc/talk/:sort?', lazyloadRouteHandler('./routes/uisdc/talk'));
|
|
@@ -3381,7 +3375,7 @@ router.get('/uisdc/topic/:title?/:sort?', lazyloadRouteHandler('./routes/uisdc/t
|
|
|
3381
3375
|
router.get('/chinalaborwatch/reports/:lang?/:industry?', lazyloadRouteHandler('./routes/chinalaborwatch/reports'));
|
|
3382
3376
|
|
|
3383
3377
|
// Phoronix
|
|
3384
|
-
router.get('/phoronix/:page/:queryOrItem?', lazyloadRouteHandler('./routes/phoronix/index'));
|
|
3378
|
+
// router.get('/phoronix/:page/:queryOrItem?', lazyloadRouteHandler('./routes/phoronix/index'));
|
|
3385
3379
|
|
|
3386
3380
|
// 美国中央情报局
|
|
3387
3381
|
router.get('/cia/foia-annual-report', lazyloadRouteHandler('./routes/us/cia/foia-annual-report'));
|
|
@@ -3633,7 +3627,7 @@ router.get('/cppcc/:slug?', lazyloadRouteHandler('./routes/gov/cppcc/index'));
|
|
|
3633
3627
|
router.get('/nace/blog/:sort?', lazyloadRouteHandler('./routes/nace/blog'));
|
|
3634
3628
|
|
|
3635
3629
|
// Caixin Latest
|
|
3636
|
-
router.get('/caixin/latest', lazyloadRouteHandler('./routes/caixin/latest'));
|
|
3630
|
+
// router.get('/caixin/latest', lazyloadRouteHandler('./routes/caixin/latest'));
|
|
3637
3631
|
|
|
3638
3632
|
// Semiconductor Industry Association
|
|
3639
3633
|
router.get('/semiconductors/latest-news', lazyloadRouteHandler('./routes/semiconductors/latest-news'));
|
|
@@ -29,19 +29,18 @@ module.exports = async (ctx) => {
|
|
|
29
29
|
.get();
|
|
30
30
|
|
|
31
31
|
const items = await Promise.all(
|
|
32
|
-
list.map(
|
|
33
|
-
async (
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
})
|
|
32
|
+
list.map((item) =>
|
|
33
|
+
ctx.cache.tryGet(item.link, async () => {
|
|
34
|
+
const detailResponse = await got({
|
|
35
|
+
method: 'get',
|
|
36
|
+
url: item.link,
|
|
37
|
+
});
|
|
38
|
+
const content = cheerio.load(detailResponse.data);
|
|
39
|
+
|
|
40
|
+
item.description = content('.middle_box').html();
|
|
41
|
+
|
|
42
|
+
return item;
|
|
43
|
+
})
|
|
45
44
|
)
|
|
46
45
|
);
|
|
47
46
|
|
|
@@ -31,21 +31,20 @@ module.exports = async (ctx) => {
|
|
|
31
31
|
.get();
|
|
32
32
|
|
|
33
33
|
const items = await Promise.all(
|
|
34
|
-
list.map(
|
|
35
|
-
async (
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
const content = cheerio.load(detailResponse.data);
|
|
34
|
+
list.map((item) =>
|
|
35
|
+
ctx.cache.tryGet(item.link, async () => {
|
|
36
|
+
const detailResponse = await got({
|
|
37
|
+
method: 'get',
|
|
38
|
+
url: item.link,
|
|
39
|
+
});
|
|
40
|
+
const content = cheerio.load(detailResponse.data);
|
|
42
41
|
|
|
43
|
-
|
|
42
|
+
content('.newsTitle, .ads').remove();
|
|
44
43
|
|
|
45
|
-
|
|
44
|
+
item.description = content('div[itemprop="text"]').html();
|
|
46
45
|
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
return item;
|
|
47
|
+
})
|
|
49
48
|
)
|
|
50
49
|
);
|
|
51
50
|
|
|
@@ -43,21 +43,20 @@ module.exports = async (ctx) => {
|
|
|
43
43
|
.get();
|
|
44
44
|
|
|
45
45
|
const items = await Promise.all(
|
|
46
|
-
list.map(
|
|
47
|
-
async (
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
const content = cheerio.load(detailResponse.data);
|
|
46
|
+
list.map((item) =>
|
|
47
|
+
ctx.cache.tryGet(item.link, async () => {
|
|
48
|
+
const detailResponse = await got({
|
|
49
|
+
method: 'get',
|
|
50
|
+
url: item.link,
|
|
51
|
+
});
|
|
52
|
+
const content = cheerio.load(detailResponse.data);
|
|
54
53
|
|
|
55
|
-
|
|
54
|
+
content('.newsTitle, .ads').remove();
|
|
56
55
|
|
|
57
|
-
|
|
56
|
+
item.description = content('div[itemprop="text"]').html();
|
|
58
57
|
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
return item;
|
|
59
|
+
})
|
|
61
60
|
)
|
|
62
61
|
);
|
|
63
62
|
|
|
@@ -94,23 +94,22 @@ module.exports = async (ctx) => {
|
|
|
94
94
|
}));
|
|
95
95
|
|
|
96
96
|
const items = await Promise.all(
|
|
97
|
-
list.map(
|
|
98
|
-
async (
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
const content = cheerio.load(detailResponse.data);
|
|
97
|
+
list.map((item) =>
|
|
98
|
+
ctx.cache.tryGet(item.link, async () => {
|
|
99
|
+
const detailResponse = await got({
|
|
100
|
+
method: 'get',
|
|
101
|
+
url: item.link,
|
|
102
|
+
});
|
|
103
|
+
const content = cheerio.load(detailResponse.data);
|
|
105
104
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
105
|
+
content('img[_ngcontent-c11]').each(function () {
|
|
106
|
+
content(this).attr('alt', '');
|
|
107
|
+
});
|
|
109
108
|
|
|
110
|
-
|
|
109
|
+
item.description = content('.text').html();
|
|
111
110
|
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
return item;
|
|
112
|
+
})
|
|
114
113
|
)
|
|
115
114
|
);
|
|
116
115
|
|