rsshub 1.0.0-master.f7add90 → 1.0.0-master.f7bfacc
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 +0 -8
- package/lib/app.js +2 -0
- package/lib/config.js +17 -1
- package/lib/middleware/cache/memory.js +2 -2
- package/lib/middleware/template.js +14 -1
- package/lib/radar-rules.js +0 -76
- package/lib/radar.js +22 -3
- package/lib/router.js +27 -30
- 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/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/request-wrapper.js +2 -2
- 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/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/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/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/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/amazon/kindle-software-updates.js +1 -0
- 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 +1 -1
- package/lib/v2/bilibili/cache.js +17 -5
- package/lib/v2/bilibili/hotSearch.js +5 -1
- package/lib/v2/bilibili/userChannel.js +2 -1
- package/lib/v2/bilibili/userCollection.js +3 -1
- package/lib/v2/bilibili/utils.js +3 -3
- package/lib/v2/bilibili/video-all.js +7 -2
- package/lib/v2/bilibili/video.js +1 -1
- package/lib/v2/bilibili/vsearch.js +1 -1
- 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/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/chinathinktanks/radar.js +1 -1
- package/lib/v2/cls/depth.js +34 -32
- package/lib/v2/cls/hot.js +38 -29
- package/lib/v2/cls/maintainer.js +1 -1
- package/lib/v2/cls/radar.js +1 -1
- package/lib/v2/cls/telegraph.js +25 -23
- package/lib/v2/cls/templates/depth.art +3 -3
- package/lib/v2/cls/templates/telegraph.art +5 -5
- package/lib/v2/cls/utils.js +12 -6
- 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/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/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/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/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/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 +1 -0
- package/lib/v2/dhu/radar.js +6 -0
- package/lib/v2/dhu/router.js +1 -0
- package/lib/v2/dhu/yjs/zs.js +46 -0
- package/lib/v2/discord/channel.js +8 -8
- package/lib/v2/discord/maintainer.js +1 -1
- package/lib/v2/discord/radar.js +2 -2
- package/lib/v2/discord/router.js +1 -1
- package/lib/v2/domp4/detail.js +26 -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/dorohedoro/router.js +3 -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/{routes → v2}/duozhuayu/search.js +23 -32
- 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/eastmoney/maintainer.js +1 -0
- package/lib/v2/eastmoney/radar.js +8 -0
- package/lib/v2/eastmoney/report/index.js +41 -0
- package/lib/v2/eastmoney/router.js +2 -1
- package/lib/v2/embassy/radar.js +1 -1
- package/lib/v2/embassy/supportedList.js +4 -4
- 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/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/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 +41 -13
- package/lib/v2/freecomputerbooks/templates/desc.art +3 -0
- 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/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/github/gist.js +35 -0
- package/lib/v2/github/maintainer.js +1 -0
- package/lib/v2/github/radar.js +8 -0
- package/lib/v2/github/router.js +1 -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/chongqing/rsks.js +38 -0
- package/lib/v2/gov/maintainer.js +2 -0
- package/lib/v2/gov/news/index.js +10 -5
- package/lib/v2/gov/radar.js +23 -1
- package/lib/v2/gov/router.js +2 -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/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/hust/aia/news.js +0 -0
- package/lib/v2/hust/aia/notice.js +0 -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/{routes/maitta/index.js → v2/ibc/maitta.js} +11 -8
- 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/instructables/projects.js +1 -1
- package/lib/v2/ithome/radar.js +3 -3
- package/lib/v2/iwara/index.js +36 -24
- package/lib/v2/iwara/radar.js +1 -1
- package/lib/v2/iwara/subscriptions.js +131 -32
- package/lib/v2/iwara/templates/subscriptions.art +1 -1
- package/lib/v2/line/publisher.js +1 -1
- 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/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/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/newzmz/index.js +55 -44
- package/lib/v2/newzmz/maintainer.js +1 -1
- package/lib/v2/newzmz/radar.js +1 -1
- package/lib/v2/newzmz/router.js +2 -1
- package/lib/v2/newzmz/templates/description.art +7 -0
- package/lib/v2/newzmz/view.js +32 -17
- package/lib/v2/nhentai/util.js +2 -1
- package/lib/v2/nikkei/cn/index.js +2 -2
- package/lib/v2/nju/zcc.js +7 -13
- 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/{routes/tesla → v2/notateslaapp}/update.js +6 -12
- 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 +3 -56
- package/lib/v2/openai/common.js +72 -0
- package/lib/v2/openai/maintainer.js +1 -0
- package/lib/v2/openai/radar.js +8 -0
- package/lib/v2/openai/research.js +32 -0
- package/lib/v2/openai/router.js +1 -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/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 +1 -1
- package/lib/{routes → v2}/right/forum.js +21 -23
- 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/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/sehuatang/maintainer.js +1 -0
- package/lib/v2/sehuatang/router.js +1 -0
- package/lib/v2/sehuatang/user.js +113 -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/shuiguopai/index.js +1 -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/sony/downloads.js +1 -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/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/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/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/{routes → v2}/telecompaper/news.js +1 -0
- package/lib/v2/telecompaper/radar.js +15 -0
- package/lib/v2/telecompaper/router.js +4 -0
- package/lib/v2/tencent/news/author.js +12 -8
- 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/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/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/web-api/tweet.js +25 -0
- package/lib/v2/twitter/web-api/twitter-api.js +41 -2
- package/lib/v2/ustb/maintainer.js +2 -22
- package/lib/v2/ustb/radar.js +8 -0
- package/lib/v2/ustb/router.js +1 -0
- package/lib/{routes/universities → v2}/ustb/tj/news.js +11 -12
- 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 +41 -22
- package/lib/v2/wechat/feeddd.js +12 -3
- package/lib/v2/wechat/mp.js +0 -0
- package/lib/v2/wechat/radar.js +2 -2
- 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/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/wnacg/index.js +1 -1
- package/lib/v2/wnacg/templates/manga.art +4 -4
- 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/xiaohongshu/maintainer.js +1 -1
- package/lib/v2/xiaohongshu/notes.js +16 -0
- package/lib/v2/xiaohongshu/router.js +1 -0
- package/lib/v2/xiaohongshu/util.js +122 -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/user.js +1 -1
- 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/zju/radar.js +1 -1
- 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/rss.art +1 -1
- package/lib/views/welcome.art +2 -2
- package/package.json +115 -124
- package/lib/routes/141jav/141jav.js +0 -37
- package/lib/routes/141ppv/141ppv.js +0 -37
- package/lib/routes/3dm/game.js +0 -42
- package/lib/routes/3dm/news_center.js +0 -54
- 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/cneb/guoneinews.js +0 -27
- package/lib/routes/cneb/yjxx.js +0 -36
- package/lib/routes/futunn/highlights.js +0 -58
- package/lib/routes/icable/category.js +0 -64
- package/lib/routes/notefolio/index.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/universities/wtu/index.js +0 -34
- /package/lib/{routes → v2}/storyfm/index.js +0 -0
- /package/lib/{routes → v2}/telecompaper/search.js +0 -0
package/lib/v2/yomiuri/news.js
CHANGED
|
@@ -4,126 +4,76 @@ const timezone = require('@/utils/timezone');
|
|
|
4
4
|
const { parseDate } = require('@/utils/parse-date');
|
|
5
5
|
|
|
6
6
|
module.exports = async (ctx) => {
|
|
7
|
-
const category = ctx.params
|
|
7
|
+
const { category = 'news' } = ctx.params;
|
|
8
8
|
const url = `https://www.yomiuri.co.jp/${category}`;
|
|
9
9
|
|
|
10
|
-
const response = await got(
|
|
11
|
-
method: 'get',
|
|
12
|
-
url,
|
|
13
|
-
});
|
|
10
|
+
const response = await got(url);
|
|
14
11
|
const data = response.data;
|
|
15
12
|
const $ = cheerio.load(data);
|
|
16
13
|
|
|
17
|
-
let
|
|
18
|
-
let list = null;
|
|
14
|
+
let list;
|
|
19
15
|
if (category === 'news') {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
const lockedIcon = item.find('svg[class=icon-locked]');
|
|
33
|
-
if (lockedIcon.length === 0) {
|
|
34
|
-
return item;
|
|
35
|
-
} else {
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
});
|
|
16
|
+
list = $('.news-top-latest__list .news-top-latest__list-item__inner')
|
|
17
|
+
.toArray()
|
|
18
|
+
.map((item) => {
|
|
19
|
+
item = $(item);
|
|
20
|
+
const a = item.find('h3 a');
|
|
21
|
+
return {
|
|
22
|
+
title: a.text(),
|
|
23
|
+
link: a.attr('href'),
|
|
24
|
+
pubDate: timezone(parseDate(item.find('time').attr('datetime')), +9),
|
|
25
|
+
locked: item.find('.icon-locked').length,
|
|
26
|
+
};
|
|
27
|
+
});
|
|
39
28
|
} else {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
return item;
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// format category name
|
|
60
|
-
let formattedCategoryName = categoryName;
|
|
61
|
-
if (categoryName !== '') {
|
|
62
|
-
formattedCategoryName = ' - ' + categoryName.trim();
|
|
29
|
+
$('.p-category-reading-recommend').remove();
|
|
30
|
+
list = $('.layout-contents__main .c-list-title')
|
|
31
|
+
.toArray()
|
|
32
|
+
.map((item) => {
|
|
33
|
+
item = $(item);
|
|
34
|
+
const a = item.find('h3 a');
|
|
35
|
+
const parent = item.parent();
|
|
36
|
+
return {
|
|
37
|
+
title: a.text(),
|
|
38
|
+
link: a.attr('href'),
|
|
39
|
+
pubDate: timezone(parseDate(parent.find('time').attr('datetime')), +9),
|
|
40
|
+
locked: parent.find('.c-list-member-only').length,
|
|
41
|
+
};
|
|
42
|
+
});
|
|
63
43
|
}
|
|
64
44
|
|
|
65
45
|
const items = await Promise.all(
|
|
66
|
-
list
|
|
67
|
-
.
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
let link = '';
|
|
71
|
-
if (categoryName === '新着・速報') {
|
|
72
|
-
link = item.find('h3').children('a').attr('href');
|
|
73
|
-
} else {
|
|
74
|
-
link = item.find('a').attr('href');
|
|
46
|
+
list.map((item) =>
|
|
47
|
+
ctx.cache.tryGet(item.link, async () => {
|
|
48
|
+
if (item.locked) {
|
|
49
|
+
return item;
|
|
75
50
|
}
|
|
76
51
|
|
|
77
|
-
const
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
recommendNode.remove();
|
|
85
|
-
}
|
|
86
|
-
return mainContent.html();
|
|
52
|
+
const response = await got(item.link);
|
|
53
|
+
const $ = cheerio.load(response.data);
|
|
54
|
+
const mainContent = $('.p-main-contents');
|
|
55
|
+
|
|
56
|
+
mainContent.find('[class^=ev-article], svg').remove();
|
|
57
|
+
mainContent.find('img').each((_, img) => {
|
|
58
|
+
img.attribs.src = img.attribs.src.split('?')[0];
|
|
87
59
|
});
|
|
88
60
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
news: '新着・速報',
|
|
93
|
-
national: '社会',
|
|
94
|
-
politics: '政治',
|
|
95
|
-
economy: '経済',
|
|
96
|
-
sports: 'スポーツ',
|
|
97
|
-
world: '国際',
|
|
98
|
-
science: '科学・IT',
|
|
99
|
-
election: '選挙・世論調査',
|
|
100
|
-
culture: 'エンタメ・文化',
|
|
101
|
-
igoshougi: '囲碁・将棋',
|
|
102
|
-
life: 'ライフ',
|
|
103
|
-
local: '地域',
|
|
104
|
-
editorial: '社説',
|
|
105
|
-
medical: '医療・健康',
|
|
106
|
-
olympic: 'オリンピック',
|
|
107
|
-
koushitsu: '皇室',
|
|
108
|
-
};
|
|
109
|
-
const tag_value = tag_table[link.split('/')[3]];
|
|
110
|
-
tag = tag_value ? tag_value : 'その他';
|
|
111
|
-
tag = '[' + tag + '] ';
|
|
112
|
-
}
|
|
61
|
+
item.description = mainContent.html();
|
|
62
|
+
item.pubDate = parseDate($('meta[property="article:published_time"]').attr('content')); // 2023-05-17T22:33:00+09:00
|
|
63
|
+
item.updated = parseDate($('meta[property="article:modified_time"]').attr('content'));
|
|
113
64
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
link,
|
|
119
|
-
};
|
|
65
|
+
const tag = $('.p-header-category-breadcrumbs li a').last().text();
|
|
66
|
+
item.category = tag;
|
|
67
|
+
item.title = `[${tag}] ${item.title}`;
|
|
68
|
+
return item;
|
|
120
69
|
})
|
|
121
|
-
|
|
70
|
+
)
|
|
122
71
|
);
|
|
123
72
|
|
|
124
73
|
ctx.state.data = {
|
|
125
|
-
title: '
|
|
74
|
+
title: $('head title').text(),
|
|
126
75
|
link: url,
|
|
76
|
+
image: 'https://www.yomiuri.co.jp/apple-touch-icon.png',
|
|
127
77
|
item: items,
|
|
128
78
|
};
|
|
129
79
|
};
|
package/lib/v2/yomiuri/radar.js
CHANGED
|
@@ -3,10 +3,10 @@ module.exports = {
|
|
|
3
3
|
_name: '読売新聞',
|
|
4
4
|
www: [
|
|
5
5
|
{
|
|
6
|
-
title: '
|
|
6
|
+
title: '新聞',
|
|
7
7
|
docs: 'https://docs.rsshub.app/traditional-media.html#du-mai-xin-wen',
|
|
8
|
-
source: ['/:category'],
|
|
9
|
-
target: '/yomiuri/:category',
|
|
8
|
+
source: ['/:category?'],
|
|
9
|
+
target: '/yomiuri/:category?',
|
|
10
10
|
},
|
|
11
11
|
],
|
|
12
12
|
},
|
package/lib/v2/youtube/user.js
CHANGED
|
@@ -17,7 +17,7 @@ module.exports = async (ctx) => {
|
|
|
17
17
|
const link = `https://www.youtube.com/${username}`;
|
|
18
18
|
const response = await got(link);
|
|
19
19
|
const $ = cheerio.load(response.data);
|
|
20
|
-
const channelId = $('meta[itemprop="
|
|
20
|
+
const channelId = $('meta[itemprop="identifier"]').attr('content');
|
|
21
21
|
channelName = $('meta[itemprop="name"]').attr('content');
|
|
22
22
|
playlistId = (await utils.getChannelWithId(channelId, 'contentDetails', ctx.cache)).data.items[0].contentDetails.relatedPlaylists.uploads;
|
|
23
23
|
}
|
package/lib/v2/zcool/radar.js
CHANGED
|
@@ -11,37 +11,37 @@ module.exports = {
|
|
|
11
11
|
{
|
|
12
12
|
title: '发现 - 精选 - 全部推荐',
|
|
13
13
|
docs: 'https://docs.rsshub.app/design.html#zhan-ku',
|
|
14
|
-
source: '',
|
|
14
|
+
source: '/',
|
|
15
15
|
target: '/zcool/discover/all',
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
title: '发现 - 精选 - 首页推荐',
|
|
19
19
|
docs: 'https://docs.rsshub.app/design.html#zhan-ku',
|
|
20
|
-
source: '',
|
|
20
|
+
source: '/',
|
|
21
21
|
target: '/zcool/discover/home',
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
title: '发现 - 精选 - 编辑精选',
|
|
25
25
|
docs: 'https://docs.rsshub.app/design.html#zhan-ku',
|
|
26
|
-
source: '',
|
|
26
|
+
source: '/',
|
|
27
27
|
target: '/zcool/discover/home',
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
title: '发现 - 精选 - 文章 - 编辑精选',
|
|
31
31
|
docs: 'https://docs.rsshub.app/design.html#zhan-ku',
|
|
32
|
-
source: '',
|
|
32
|
+
source: '/',
|
|
33
33
|
target: '/zcool/discover/article',
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
title: '作品榜单',
|
|
37
37
|
docs: 'https://docs.rsshub.app/design.html#zhan-ku',
|
|
38
|
-
source: '',
|
|
38
|
+
source: '/',
|
|
39
39
|
target: '/zcool/top/design',
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
title: '文章榜单',
|
|
43
43
|
docs: 'https://docs.rsshub.app/design.html#zhan-ku',
|
|
44
|
-
source: '',
|
|
44
|
+
source: '/',
|
|
45
45
|
target: '/zcool/top/article',
|
|
46
46
|
},
|
|
47
47
|
{
|
package/lib/v2/zhihu/answers.js
CHANGED
|
@@ -19,16 +19,20 @@ module.exports = async (ctx) => {
|
|
|
19
19
|
let name = data[0].author.name;
|
|
20
20
|
|
|
21
21
|
if (name === '知乎用户') {
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
const userProfile = await ctx.cache.tryGet(`zhihu:profile:${id}`, async () => {
|
|
23
|
+
const apiPath = `/api/v4/profile/${id}/infinity`;
|
|
24
|
+
|
|
25
|
+
const { data } = await got({
|
|
26
|
+
method: 'get',
|
|
27
|
+
url: `https://www.zhihu.com${apiPath}`,
|
|
28
|
+
headers: {
|
|
29
|
+
...utils.header,
|
|
30
|
+
Referer: `https://www.zhihu.com/people/${id}`,
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
return data.data;
|
|
30
34
|
});
|
|
31
|
-
name =
|
|
35
|
+
name = userProfile.name;
|
|
32
36
|
}
|
|
33
37
|
|
|
34
38
|
const items = await Promise.all(
|
package/lib/v2/zhihu/radar.js
CHANGED
|
@@ -93,13 +93,13 @@ module.exports = {
|
|
|
93
93
|
{
|
|
94
94
|
title: '日报',
|
|
95
95
|
docs: 'https://docs.rsshub.app/social-media.html#zhi-hu',
|
|
96
|
-
source: '',
|
|
96
|
+
source: '/',
|
|
97
97
|
target: '/zhihu/daily',
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
title: '日报',
|
|
101
101
|
docs: 'https://docs.rsshub.app/social-media.html#zhi-hu',
|
|
102
|
-
source: '/*
|
|
102
|
+
source: '/*',
|
|
103
103
|
target: '/zhihu/daily',
|
|
104
104
|
},
|
|
105
105
|
],
|
package/lib/v2/zhubai/radar.js
CHANGED
package/lib/v2/zhubai/router.js
CHANGED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{{ each content c }}
|
|
2
|
+
{{ if c.text }}
|
|
3
|
+
{{ c.text }}
|
|
4
|
+
{{ else if c.type === 'paragraph' }}
|
|
5
|
+
<p>{{@ c.children | parseContent }}</p>
|
|
6
|
+
{{ else if c.type === 'link' }}
|
|
7
|
+
<a href="{{ c.url }}">{{@ c.children | parseContent }}</a>
|
|
8
|
+
{{ else if c.type === 'image' }}
|
|
9
|
+
<img src="{{ c.url }}" height="{{ c.naturalHeight }}" width="{{ c.naturalWidth }}">
|
|
10
|
+
{{ else if c.type === 'list-item' }}
|
|
11
|
+
<li>{{@ c.children | parseContent }}</li>
|
|
12
|
+
{{ else if c.type === 'bulleted-list' }}
|
|
13
|
+
<ul>{{@ c.children | parseContent }}</ul>
|
|
14
|
+
{{ else if c.type === 'numbered-list' }}
|
|
15
|
+
<ol>{{@ c.children | parseContent }}</ol>
|
|
16
|
+
{{ else if c.type === 'block-quote' }}
|
|
17
|
+
<blockquote>{{@ c.children | parseContent }}</blockquote>
|
|
18
|
+
{{ else if c.type === 'heading-one' }}
|
|
19
|
+
<h1>{{@ c.children | parseContent }}</h1>
|
|
20
|
+
{{ else if c.type === 'heading-two' }}
|
|
21
|
+
<h2>{{@ c.children | parseContent }}</h2>
|
|
22
|
+
{{ else if c.type === 'heading-three' }}
|
|
23
|
+
<h3>{{@ c.children | parseContent }}</h3>
|
|
24
|
+
{{ else if c.type === 'heading-four' }}
|
|
25
|
+
<h4>{{@ c.children | parseContent }}</h4>
|
|
26
|
+
{{ else if c.type === 'heading-five' }}
|
|
27
|
+
<h5>{{@ c.children | parseContent }}</h5>
|
|
28
|
+
{{ else if c.type === 'heading-six' }}
|
|
29
|
+
<h6>{{@ c.children | parseContent }}</h6>
|
|
30
|
+
{{ /if }}
|
|
31
|
+
{{ /each }}
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
|
|
6
|
+
const parseContent = (content) =>
|
|
7
|
+
art(path.join(__dirname, 'templates/description.art'), {
|
|
8
|
+
content,
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
art.defaults.imports.parseContent = parseContent;
|
|
12
|
+
|
|
13
|
+
module.exports = async (ctx) => {
|
|
14
|
+
const limit = ctx.query.limit ? parseInt(ctx.query.limit) : 20;
|
|
15
|
+
|
|
16
|
+
const rootUrl = 'https://analy.zhubai.wiki';
|
|
17
|
+
const apiRootUrl = 'https://open.zhubai.wiki';
|
|
18
|
+
const apiUrl = `${apiRootUrl}/a/zb/s/ht/pl/wk`;
|
|
19
|
+
|
|
20
|
+
const response = await got({
|
|
21
|
+
method: 'post',
|
|
22
|
+
url: apiUrl,
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
let items = response.data.data.slice(0, limit).map((item) => ({
|
|
26
|
+
link: item.fp ?? item.pq ?? item.pu,
|
|
27
|
+
}));
|
|
28
|
+
|
|
29
|
+
items = await Promise.all(
|
|
30
|
+
items.map((item) =>
|
|
31
|
+
ctx.cache.tryGet(item.link, async () => {
|
|
32
|
+
const matches = item.link.match(/\/(fp|pq|pu)\/([\w-]+)\/(\d+)/);
|
|
33
|
+
|
|
34
|
+
const detailResponse = await got({
|
|
35
|
+
method: 'get',
|
|
36
|
+
url: `https://${matches[2]}.zhubai.love/api/posts/${matches[3]}`,
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
const data = detailResponse.data;
|
|
40
|
+
|
|
41
|
+
item.title = data.title;
|
|
42
|
+
item.author = data.author.name;
|
|
43
|
+
item.pubDate = parseDate(data.created_at);
|
|
44
|
+
item.description = parseContent(JSON.parse(data.content));
|
|
45
|
+
item.link = `https://${matches[2]}.zhubai.love/posts/${matches[3]}`;
|
|
46
|
+
|
|
47
|
+
return item;
|
|
48
|
+
})
|
|
49
|
+
)
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
ctx.state.data = {
|
|
53
|
+
title: '竹白 - TOP20',
|
|
54
|
+
link: rootUrl,
|
|
55
|
+
item: items,
|
|
56
|
+
};
|
|
57
|
+
};
|
package/lib/v2/zju/radar.js
CHANGED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
const got = require('@/utils/got');
|
|
2
|
+
|
|
3
|
+
module.exports = async (ctx) => {
|
|
4
|
+
const site = ctx.params.site ?? '';
|
|
5
|
+
|
|
6
|
+
const rootUrl = 'https://hot.zyw.asia';
|
|
7
|
+
const apiRootUrl = 'https://api-hot.zyw.asia';
|
|
8
|
+
|
|
9
|
+
let response = await got({
|
|
10
|
+
method: 'get',
|
|
11
|
+
url: rootUrl,
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
const jsUrl = `${rootUrl}${response.data.match(/crossorigin src="(\/assets\/index-\w+\.js)">/)[1]}`;
|
|
15
|
+
|
|
16
|
+
response = await got({
|
|
17
|
+
method: 'get',
|
|
18
|
+
url: jsUrl,
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
const sites = response.data
|
|
22
|
+
.match(/label:"(.*?)",value:"(.*?)",order/g)
|
|
23
|
+
.map((a) => {
|
|
24
|
+
const matches = a.match(/label:"(.*?)",value:"(.*?)"/);
|
|
25
|
+
return {
|
|
26
|
+
label: matches[1],
|
|
27
|
+
value: matches[2],
|
|
28
|
+
};
|
|
29
|
+
})
|
|
30
|
+
.filter((a) => (site ? a.label === site || a.value === site : true));
|
|
31
|
+
|
|
32
|
+
const currentUrl = `${rootUrl}${site ? `/#/list?type=${sites[0].value}` : ''}`;
|
|
33
|
+
|
|
34
|
+
const items = [];
|
|
35
|
+
|
|
36
|
+
await Promise.all(
|
|
37
|
+
sites.map(async (a) => {
|
|
38
|
+
const detailResponse = await got({
|
|
39
|
+
method: 'get',
|
|
40
|
+
url: `${apiRootUrl}/${a.value}`,
|
|
41
|
+
headers: {
|
|
42
|
+
referer: rootUrl,
|
|
43
|
+
},
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
for (const d of detailResponse.data.data) {
|
|
47
|
+
items.push({
|
|
48
|
+
link: d.url,
|
|
49
|
+
title: d.title,
|
|
50
|
+
description: d.desc,
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
return;
|
|
55
|
+
})
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
ctx.state.data = {
|
|
59
|
+
title: `今日热榜${site ? ` - ${sites[0].label}` : ''}`,
|
|
60
|
+
link: currentUrl,
|
|
61
|
+
item: items,
|
|
62
|
+
};
|
|
63
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
'zyw.asia': {
|
|
3
|
+
_name: 'zyw',
|
|
4
|
+
hot: [
|
|
5
|
+
{
|
|
6
|
+
title: '今日热榜',
|
|
7
|
+
docs: 'https://docs.rsshub.app/new-media.html#zyw-jin-ri-re-bang',
|
|
8
|
+
source: ['/'],
|
|
9
|
+
target: (params, url) => {
|
|
10
|
+
const matches = new URL(url).href.match(/type=(\w+)/);
|
|
11
|
+
return `/zyw/hot${matches ? `/${matches[1]}` : ''}`;
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
],
|
|
15
|
+
},
|
|
16
|
+
};
|
package/lib/views/error.art
CHANGED
|
@@ -26,13 +26,17 @@
|
|
|
26
26
|
a {
|
|
27
27
|
color: #F5712C;
|
|
28
28
|
}
|
|
29
|
+
|
|
30
|
+
img {
|
|
31
|
+
filter: grayscale(1);
|
|
32
|
+
}
|
|
29
33
|
</style>
|
|
30
34
|
</head>
|
|
31
35
|
|
|
32
36
|
<body>
|
|
33
37
|
<div class="content">
|
|
34
38
|
<p>
|
|
35
|
-
<img src="
|
|
39
|
+
<img src="/logo.png" alt="RSSHub" width="120">
|
|
36
40
|
</p>
|
|
37
41
|
|
|
38
42
|
<h1>Looks like something went wrong</h1>
|
|
@@ -46,14 +50,14 @@ Node version: {{@ nodeVersion}}
|
|
|
46
50
|
Git Hash: {{@ gitHash}}
|
|
47
51
|
</pre>
|
|
48
52
|
<pre class="message">
|
|
49
|
-
如果您认为 RSSHub 导致了该错误,请在Github按照模版,复制本页面信息进行<a href="https://github.com/DIYgod/RSSHub/issues/new?assignees=&labels=RSS+bug&template=bug_report_zh.yml" target="_blank">汇报</a>
|
|
50
53
|
If you believe this is an error caused by RSSHub, please <a href="https://github.com/DIYgod/RSSHub/issues/new?assignees=&labels=RSS+bug&template=bug_report_en.yml" target="_blank">report on github</a>
|
|
54
|
+
如果您认为 RSSHub 导致了该错误,请在 GitHub 按照模版,复制本页面信息进行 <a href="https://github.com/DIYgod/RSSHub/issues/new?assignees=&labels=RSS+bug&template=bug_report_zh.yml" target="_blank">汇报</a>
|
|
51
55
|
</pre>
|
|
52
56
|
|
|
53
57
|
<div style="margin: 50px 0">
|
|
54
|
-
<p>在线文档与支持,请访问<a href="https://docs.rsshub.app/" target="_blank">docs.rsshub.app</a>。</p>
|
|
55
58
|
<p>For online documentation and support please refer to
|
|
56
59
|
<a href="https://docs.rsshub.app/" target="_blank">docs.rsshub.app</a>.</p>
|
|
60
|
+
<p>在线文档与支持,请访问 <a href="https://docs.rsshub.app/" target="_blank">docs.rsshub.app</a>。</p>
|
|
57
61
|
</div>
|
|
58
62
|
</div>
|
|
59
63
|
</body>
|
package/lib/views/rss.art
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<rss
|
|
2
|
+
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"
|
|
3
3
|
{{ if itunes_author || itunes_category || (item && item.some((i) => (i.itunes_item_image || i.itunes_duration))) }}
|
|
4
4
|
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
|
|
5
5
|
{{ /if }}
|
package/lib/views/welcome.art
CHANGED
|
@@ -79,13 +79,13 @@
|
|
|
79
79
|
<body>
|
|
80
80
|
<div class="content">
|
|
81
81
|
<p>
|
|
82
|
-
<img src="
|
|
82
|
+
<img src="/logo.png" alt="RSSHub" width="100">
|
|
83
83
|
</p>
|
|
84
84
|
|
|
85
85
|
<h1>Welcome to
|
|
86
86
|
<span style="color: #F5712C;">RSSHub</span>!</h1>
|
|
87
87
|
|
|
88
|
-
<p>If you see this page, the RSSHub
|
|
88
|
+
<p>If you see this page, the RSSHub is successfully installed and working.</p>
|
|
89
89
|
|
|
90
90
|
<p>For online documentation and support please refer to
|
|
91
91
|
<a href="https://docs.rsshub.app/" target="_blank">docs.rsshub.app</a>.</p>
|