rsshub 1.0.0-master.deeed20 → 1.0.0-master.df32098
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/index.ts +2 -7
- package/lib/config.ts +8 -1
- package/lib/registry.ts +50 -6
- package/lib/router.js +0 -12
- package/lib/routes/005/index.ts +0 -2
- package/lib/routes/10000link/info.ts +250 -0
- package/lib/routes/10000link/namespace.ts +9 -0
- package/lib/routes/12306/index.ts +0 -2
- package/lib/routes/12306/zxdt.ts +15 -33
- package/lib/routes/141jav/index.ts +0 -2
- package/lib/routes/141ppv/index.ts +0 -2
- package/lib/routes/163/ds.ts +0 -2
- package/lib/routes/163/exclusive.ts +0 -2
- package/lib/routes/163/music/artist-songs.ts +0 -2
- package/lib/routes/163/music/artist.ts +0 -2
- package/lib/routes/163/music/djradio.ts +0 -2
- package/lib/routes/163/music/playlist.ts +0 -2
- package/lib/routes/163/music/userevents.ts +0 -2
- package/lib/routes/163/music/userplaylist.ts +0 -2
- package/lib/routes/163/music/userplayrecords.ts +0 -2
- package/lib/routes/163/news/rank.ts +1 -1
- package/lib/routes/163/open/vip.ts +0 -2
- package/lib/routes/163/utils.ts +2 -5
- package/lib/routes/18comic/utils.ts +0 -3
- package/lib/routes/199it/index.ts +331 -0
- package/lib/routes/199it/templates/description.art +20 -0
- package/lib/routes/1point3acres/offer.ts +0 -2
- package/lib/routes/1point3acres/utils.ts +0 -3
- package/lib/routes/1x/index.ts +1 -3
- package/lib/routes/2048/index.ts +24 -25
- package/lib/routes/3kns/index.ts +0 -2
- package/lib/routes/423down/index.ts +6 -8
- package/lib/routes/4gamers/utils.ts +0 -3
- package/lib/routes/4khd/article.ts +28 -0
- package/lib/routes/4khd/category.ts +48 -0
- package/lib/routes/4khd/const.ts +4 -0
- package/lib/routes/4khd/latest.ts +41 -0
- package/lib/routes/4khd/namespace.ts +8 -0
- package/lib/routes/4khd/types.ts +12 -0
- package/lib/routes/4ksj/forum.ts +0 -2
- package/lib/routes/500px/tribe-set.ts +0 -2
- package/lib/routes/56kog/util.ts +0 -3
- package/lib/routes/591/list.ts +0 -2
- package/lib/routes/5music/index.ts +87 -0
- package/lib/routes/5music/namespace.ts +9 -0
- package/lib/routes/6park/index.ts +1 -1
- package/lib/routes/78dm/index.ts +0 -2
- package/lib/routes/7mmtv/index.ts +0 -2
- package/lib/routes/8264/list.ts +0 -2
- package/lib/routes/91porn/author.ts +0 -2
- package/lib/routes/91porn/index.ts +0 -2
- package/lib/routes/95mm/utils.ts +0 -3
- package/lib/routes/a9vg/index.ts +0 -2
- package/lib/routes/abc/index.ts +0 -2
- package/lib/routes/academia/topics.ts +10 -20
- package/lib/routes/accessbriefing/index.ts +0 -2
- package/lib/routes/acs/journal.ts +0 -2
- package/lib/routes/adquan/case-library.ts +143 -0
- package/lib/routes/adquan/index.ts +143 -0
- package/lib/routes/adquan/namespace.ts +9 -0
- package/lib/routes/adquan/templates/description.art +7 -0
- package/lib/routes/aeaweb/index.ts +0 -2
- package/lib/routes/aeon/utils.ts +0 -3
- package/lib/routes/aflcio/blog.ts +157 -0
- package/lib/routes/aflcio/namespace.ts +9 -0
- package/lib/routes/agefans/update.ts +20 -20
- package/lib/routes/agri/index.ts +0 -2
- package/lib/routes/aibase/util.ts +0 -3
- package/lib/routes/aicaijing/index.ts +0 -2
- package/lib/routes/aip/journal-pupp.ts +1 -1
- package/lib/routes/aip/utils.ts +0 -3
- package/lib/routes/ali213/news.ts +0 -3
- package/lib/routes/ali213/zl.ts +0 -3
- package/lib/routes/aljazeera/index.ts +0 -2
- package/lib/routes/alternativeto/utils.ts +1 -1
- package/lib/routes/amazon/kindle-software-updates.ts +0 -2
- package/lib/routes/anthropic/news.ts +34 -17
- package/lib/routes/apkpure/versions.ts +1 -1
- package/lib/routes/apnews/mobile-api.ts +94 -0
- package/lib/routes/apnews/sitemap.ts +3 -2
- package/lib/routes/apnews/topics.ts +3 -2
- package/lib/routes/apnews/utils.ts +2 -10
- package/lib/routes/app-center/release.ts +0 -2
- package/lib/routes/apple/podcast.ts +2 -1
- package/lib/routes/appstore/price.ts +0 -1
- package/lib/routes/appstorrent/programs.ts +0 -2
- package/lib/routes/aqara/post.ts +1 -3
- package/lib/routes/aqicn/aqi.ts +1 -0
- package/lib/routes/arcteryx/new-arrivals.ts +0 -2
- package/lib/routes/arcteryx/outlet.ts +0 -2
- package/lib/routes/arcteryx/regear-new-arrivals.ts +0 -2
- package/lib/routes/artstation/user.ts +0 -2
- package/lib/routes/asiafruitchina/categories.ts +682 -0
- package/lib/routes/asiafruitchina/namespace.ts +9 -0
- package/lib/routes/asiafruitchina/news.ts +181 -0
- package/lib/routes/asiafruitchina/templates/description.art +17 -0
- package/lib/routes/asianfanfics/namespace.ts +7 -0
- package/lib/routes/asianfanfics/tag.ts +91 -0
- package/lib/routes/asianfanfics/text-search.ts +70 -0
- package/lib/routes/asiantolick/index.ts +0 -2
- package/lib/routes/asmr-200/index.ts +1 -2
- package/lib/routes/asus/bios.ts +1 -5
- package/lib/routes/baidu/gushitong/index.ts +0 -2
- package/lib/routes/baidu/search.ts +0 -2
- package/lib/routes/baidu/tieba/forum.ts +0 -2
- package/lib/routes/baidu/tieba/post.ts +0 -2
- package/lib/routes/baidu/tieba/search.ts +0 -2
- package/lib/routes/baidu/top.ts +0 -2
- package/lib/routes/bandcamp/weekly.ts +0 -2
- package/lib/routes/bangumi.online/online.ts +0 -2
- package/lib/routes/bangumi.tv/calendar/today.ts +0 -2
- package/lib/routes/bangumi.tv/subject/ep.ts +0 -3
- package/lib/routes/bangumi.tv/user/collections.ts +0 -3
- package/lib/routes/baobua/article.ts +51 -0
- package/lib/routes/baobua/category.ts +60 -0
- package/lib/routes/baobua/const.ts +4 -0
- package/lib/routes/baobua/latest.ts +57 -0
- package/lib/routes/baobua/namespace.ts +8 -0
- package/lib/routes/baobua/search.ts +60 -0
- package/lib/routes/baozimh/index.ts +0 -2
- package/lib/routes/bc3ts/list.ts +1 -4
- package/lib/routes/bdys/index.ts +37 -40
- package/lib/routes/behance/user.ts +0 -2
- package/lib/routes/bgmlist/onair.ts +0 -2
- package/lib/routes/bilibili/cache.ts +4 -4
- package/lib/routes/bilibili/danmaku.ts +1 -1
- package/lib/routes/bilibili/live-room.ts +14 -12
- package/lib/routes/bilibili/manga-update.ts +37 -4
- package/lib/routes/bilibili/utils.ts +0 -3
- package/lib/routes/bilibili/wasm-exec.ts +649 -0
- package/lib/routes/bing/search.ts +2 -2
- package/lib/routes/bjnews/cat.ts +2 -9
- package/lib/routes/bjx/huanbao.ts +4 -12
- package/lib/routes/blockworks/index.ts +128 -0
- package/lib/routes/blockworks/namespace.ts +7 -0
- package/lib/routes/bloomberg/authors.ts +3 -2
- package/lib/routes/bloomberg/index.ts +6 -5
- package/lib/routes/bloomberg/utils.ts +1 -13
- package/lib/routes/bnu/fe.ts +1 -0
- package/lib/routes/bnu/jwb.ts +1 -0
- package/lib/routes/booru/mmda.ts +0 -2
- package/lib/routes/bsky/feeds.ts +70 -0
- package/lib/routes/bsky/posts.ts +0 -2
- package/lib/routes/bsky/utils.ts +34 -1
- package/lib/routes/btzj/index.ts +0 -2
- package/lib/routes/buaa/lib/space/newbook.ts +0 -2
- package/lib/routes/buct/cist.ts +58 -0
- package/lib/routes/buct/gr.ts +93 -0
- package/lib/routes/buct/jwc.ts +64 -0
- package/lib/routes/buct/namespace.ts +7 -0
- package/lib/routes/bullionvault/gold-news.ts +231 -0
- package/lib/routes/bullionvault/namespace.ts +9 -0
- package/lib/routes/caai/utils.ts +0 -3
- package/lib/routes/caareviews/utils.ts +0 -3
- package/lib/routes/cahkms/index.ts +0 -2
- package/lib/routes/caixin/database.ts +0 -2
- package/lib/routes/caixin/utils.ts +0 -3
- package/lib/routes/cankaoxiaoxi/index.ts +0 -2
- package/lib/routes/cara/likes.ts +0 -3
- package/lib/routes/cara/timeline.ts +0 -3
- package/lib/routes/cara/utils.ts +0 -9
- package/lib/routes/cartoonmad/comic.ts +0 -2
- package/lib/routes/cbaigui/index.ts +0 -2
- package/lib/routes/ccf/ccfcv/index.ts +0 -2
- package/lib/routes/ccf/tfbd/utils.ts +0 -3
- package/lib/routes/ccfa/index.ts +0 -2
- package/lib/routes/cctv/xwlb.ts +1 -1
- package/lib/routes/cde/xxgk.ts +24 -9
- package/lib/routes/cdu/cdrw.ts +80 -0
- package/lib/routes/cdu/tzggcdunews.ts +80 -0
- package/lib/routes/cdzjryb/project-list.ts +0 -2
- package/lib/routes/cebbank/all.ts +0 -2
- package/lib/routes/cebbank/history.ts +0 -2
- package/lib/routes/cfr/index.ts +3 -2
- package/lib/routes/cfr/utils.ts +0 -9
- package/lib/routes/chaincatcher/home.ts +0 -2
- package/lib/routes/changba/user.ts +0 -2
- package/lib/routes/chaoxing/qk.ts +0 -2
- package/lib/routes/cherrytimes/market.ts +35 -0
- package/lib/routes/cherrytimes/namespace.ts +6 -0
- package/lib/routes/chinacdc/index.ts +0 -3
- package/lib/routes/chinadegrees/province.ts +0 -2
- package/lib/routes/chuanliu/nice.ts +0 -2
- package/lib/routes/chuapp/chuapp.ts +147 -0
- package/lib/routes/chuapp/namespace.ts +7 -0
- package/lib/routes/cls/depth.ts +0 -2
- package/lib/routes/cls/hot.ts +0 -2
- package/lib/routes/cls/subject.ts +0 -2
- package/lib/routes/cls/telegraph.ts +0 -2
- package/lib/routes/cma/channel.ts +0 -2
- package/lib/routes/cmu/andypavlo/blog.ts +55 -0
- package/lib/routes/cmu/namespace.ts +7 -0
- package/lib/routes/cnblogs/common.ts +0 -1
- package/lib/routes/cngal/entry.ts +0 -2
- package/lib/routes/cngal/weekly.ts +1 -4
- package/lib/routes/cnjxol/index.ts +0 -2
- package/lib/routes/cnki/debut.ts +0 -2
- package/lib/routes/cnki/utils.ts +0 -3
- package/lib/routes/cntheory/paper.ts +0 -2
- package/lib/routes/cntv/column.ts +0 -2
- package/lib/routes/codeforces/contests.ts +4 -6
- package/lib/routes/coindesk/{index.ts → consensus-magazine.ts} +17 -21
- package/lib/routes/coindesk/namespace.ts +2 -1
- package/lib/routes/coindesk/news.ts +47 -0
- package/lib/routes/coindesk/utils.ts +26 -0
- package/lib/routes/cointelegraph/index.ts +106 -0
- package/lib/routes/cointelegraph/namespace.ts +7 -0
- package/lib/routes/colamanga/manga.ts +1 -1
- package/lib/routes/collabo-cafe/category.ts +37 -0
- package/lib/routes/collabo-cafe/index.ts +35 -0
- package/lib/routes/collabo-cafe/namespace.ts +9 -0
- package/lib/routes/collabo-cafe/parser.ts +29 -0
- package/lib/routes/collabo-cafe/tag.ts +37 -0
- package/lib/routes/comicskingdom/index.ts +0 -2
- package/lib/routes/coolpc/namespace.ts +7 -0
- package/lib/routes/coolpc/news.ts +53 -0
- package/lib/routes/coomer/index.ts +155 -0
- package/lib/routes/coomer/templates/source.art +24 -0
- package/lib/routes/copymanga/comic.ts +5 -15
- package/lib/routes/cpta/handler.ts +2 -6
- package/lib/routes/creative-comic/book.ts +0 -2
- package/lib/routes/cryptoslate/index.ts +98 -0
- package/lib/routes/cryptoslate/namespace.ts +7 -0
- package/lib/routes/cts/news.ts +23 -22
- package/lib/routes/cuilingmag/index.ts +0 -3
- package/lib/routes/cupl/jwc.ts +69 -0
- package/lib/routes/cupl/namespace.ts +20 -0
- package/lib/routes/curius/links.ts +0 -2
- package/lib/routes/cursor/changelog.ts +94 -51
- package/lib/routes/cw/utils.ts +2 -0
- package/lib/routes/cztv/daily.ts +0 -2
- package/lib/routes/cztv/zjxwlb.ts +0 -2
- package/lib/routes/daily/utils.ts +0 -2
- package/lib/routes/damai/activity.ts +0 -2
- package/lib/routes/dataguidance/index.ts +2 -2
- package/lib/routes/dcard/utils.ts +38 -37
- package/lib/routes/dcfever/utils.ts +0 -3
- package/lib/routes/deadline/posts.ts +0 -2
- package/lib/routes/dealstreetasia/home.ts +1 -1
- package/lib/routes/decrypt/index.ts +115 -0
- package/lib/routes/decrypt/namespace.ts +7 -0
- package/lib/routes/dedao/index.ts +3 -3
- package/lib/routes/dedao/knowledge.ts +0 -2
- package/lib/routes/dedao/user.ts +0 -2
- package/lib/routes/deeplearning/the-batch.ts +0 -2
- package/lib/routes/deepseek/news.ts +2 -2
- package/lib/routes/dehenglaw/index.ts +0 -2
- package/lib/routes/diariofruticola/filtro.ts +129 -0
- package/lib/routes/diariofruticola/namespace.ts +9 -0
- package/lib/routes/diershoubing/news.ts +0 -2
- package/lib/routes/discord/channel.ts +0 -2
- package/lib/routes/discord/search.ts +0 -3
- package/lib/routes/discuz/discuz.ts +7 -9
- package/lib/routes/dlnews/category.ts +2 -7
- package/lib/routes/dlsite/utils.ts +0 -3
- package/lib/routes/dn/news.ts +0 -2
- package/lib/routes/domp4/detail.ts +8 -6
- package/lib/routes/domp4/latest-movie-bt.ts +10 -10
- package/lib/routes/domp4/latest.ts +8 -8
- package/lib/routes/domp4/namespace.ts +2 -8
- package/lib/routes/domp4/utils.ts +5 -5
- package/lib/routes/douban/movie/coming.ts +0 -3
- package/lib/routes/douban/other/explore.ts +0 -2
- package/lib/routes/douban/other/list.ts +0 -2
- package/lib/routes/douban/other/recommended.ts +0 -2
- package/lib/routes/douban/other/weekly-best.ts +0 -2
- package/lib/routes/douyin/live.ts +1 -1
- package/lib/routes/douyin/types.ts +1 -5
- package/lib/routes/douyin/user.ts +1 -1
- package/lib/routes/douyin/utils.ts +0 -3
- package/lib/routes/douyu/group.ts +0 -2
- package/lib/routes/douyu/post.ts +0 -2
- package/lib/routes/dribbble/utils.ts +0 -3
- package/lib/routes/duozhuayu/search.ts +0 -2
- package/lib/routes/dushu/fuzhou/index.ts +0 -2
- package/lib/routes/dw/utils.ts +0 -2
- package/lib/routes/e-hentai/index.ts +1 -3
- package/lib/routes/eastmoney/report/index.ts +0 -3
- package/lib/routes/ecnu/contest.ts +0 -2
- package/lib/routes/elsevier/issue.ts +0 -2
- package/lib/routes/elsevier/journal.ts +0 -2
- package/lib/routes/epicgames/index.ts +2 -4
- package/lib/routes/eprice/rss.ts +0 -2
- package/lib/routes/eshukan/academic.ts +0 -2
- package/lib/routes/espn/news.ts +2 -5
- package/lib/routes/esquirehk/tag.ts +1 -4
- package/lib/routes/famitsu/category.ts +1 -3
- package/lib/routes/fanbox/types.ts +0 -4
- package/lib/routes/fanbox/utils.ts +0 -3
- package/lib/routes/fangchan/list.ts +221 -0
- package/lib/routes/fangchan/namespace.ts +9 -0
- package/lib/routes/fangchan/templates/description.art +7 -0
- package/lib/routes/fansly/utils.ts +0 -3
- package/lib/routes/fantia/search.ts +1 -1
- package/lib/routes/farcaster/namespace.ts +7 -0
- package/lib/routes/farcaster/user.ts +46 -0
- package/lib/routes/farmatters/index.ts +0 -2
- package/lib/routes/fashionnetwork/index.ts +0 -2
- package/lib/routes/fastbull/news.ts +0 -2
- package/lib/routes/feng/forum.ts +0 -2
- package/lib/routes/ff14/ff14-global.ts +0 -2
- package/lib/routes/ff14/ff14-zh.ts +0 -2
- package/lib/routes/fffdm/manhua/manhua.ts +0 -2
- package/lib/routes/fisher-spb/news.ts +0 -2
- package/lib/routes/flyert/util.ts +0 -3
- package/lib/routes/focustaiwan/index.ts +0 -2
- package/lib/routes/follow/profile.ts +1 -1
- package/lib/routes/followin/news.ts +1 -1
- package/lib/routes/followin/utils.ts +0 -3
- package/lib/routes/foreignaffairs/namespace.ts +7 -0
- package/lib/routes/foreignaffairs/rss.ts +55 -0
- package/lib/routes/foresightnews/util.ts +1 -4
- package/lib/routes/forklog/index.ts +72 -0
- package/lib/routes/forklog/namespace.ts +7 -0
- package/lib/routes/fortnite/news.ts +1 -1
- package/lib/routes/fosshub/index.ts +0 -2
- package/lib/routes/freecomputerbooks/index.ts +0 -2
- package/lib/routes/furstar/utils.ts +0 -3
- package/lib/routes/futunn/main.ts +0 -2
- package/lib/routes/gameapps/index.ts +1 -3
- package/lib/routes/gamebase/news.ts +0 -3
- package/lib/routes/gamekee/namespace.ts +6 -0
- package/lib/routes/gamekee/news.ts +64 -0
- package/lib/routes/gcores/articles.ts +4 -3
- package/lib/routes/gcores/categories.ts +126 -0
- package/lib/routes/gcores/collections.ts +126 -0
- package/lib/routes/gcores/news.ts +4 -3
- package/lib/routes/gcores/parser.ts +0 -3
- package/lib/routes/gcores/program-previews.ts +47 -0
- package/lib/routes/gcores/radio.ts +0 -2
- package/lib/routes/gcores/tags.ts +126 -0
- package/lib/routes/gcores/topics.ts +60 -0
- package/lib/routes/gcores/util.ts +21 -20
- package/lib/routes/gcores/videos.ts +49 -0
- package/lib/routes/gdut/oa-news.ts +85 -84
- package/lib/routes/geekpark/index.ts +0 -2
- package/lib/routes/gelbooru/namespace.ts +7 -0
- package/lib/routes/gelbooru/post.ts +113 -0
- package/lib/routes/gelbooru/templates/description.art +19 -0
- package/lib/routes/gelbooru/utils.ts +40 -0
- package/lib/routes/gelonghui/live.ts +0 -2
- package/lib/routes/geocaching/blogs.ts +4 -3
- package/lib/routes/gettr/user.ts +0 -2
- package/lib/routes/gitcode/namespace.ts +7 -0
- package/lib/routes/gitcode/repos/commits.ts +67 -0
- package/lib/routes/github/pulse.ts +0 -2
- package/lib/routes/github/trending.ts +0 -2
- package/lib/routes/gitpod/blog.ts +0 -2
- package/lib/routes/gofans/index.ts +0 -2
- package/lib/routes/google/fonts.ts +0 -2
- package/lib/routes/google/news.ts +0 -2
- package/lib/routes/google/search.ts +0 -2
- package/lib/routes/gov/beijing/bphc/index.ts +1 -1
- package/lib/routes/gov/caac/cjwt.ts +0 -2
- package/lib/routes/gov/cbirc/index.ts +14 -13
- package/lib/routes/gov/ccdi/index.ts +1 -1
- package/lib/routes/gov/cmse/fxrw.ts +0 -2
- package/lib/routes/gov/cmse/index.ts +0 -2
- package/lib/routes/gov/csrc/news.ts +1 -3
- package/lib/routes/gov/customs/list.ts +1 -1
- package/lib/routes/gov/forestry/gjlckjdjt.ts +0 -2
- package/lib/routes/gov/general/general.ts +2 -5
- package/lib/routes/gov/guangdong/tqyb/sncsyjxh.ts +0 -2
- package/lib/routes/gov/guangdong/tqyb/tfxtq.ts +0 -2
- package/lib/routes/gov/hangzhou/namespace.ts +9 -0
- package/lib/routes/gov/hangzhou/templates/jbxx.art +173 -0
- package/lib/routes/gov/hangzhou/zjzwfw.ts +89 -0
- package/lib/routes/gov/hangzhou/zwfw.ts +110 -0
- package/lib/routes/gov/jiangsu/wlt/index.ts +0 -3
- package/lib/routes/gov/moa/gjs.ts +210 -0
- package/lib/routes/gov/mof/gss.ts +82 -0
- package/lib/routes/gov/nea/ghs.ts +70 -37
- package/lib/routes/gov/nrta/dsj.ts +13 -14
- package/lib/routes/gov/pbc/goutongjiaoliu.ts +1 -1
- package/lib/routes/gov/pbc/trade-announcement.ts +1 -1
- package/lib/routes/gov/safe/util.ts +0 -3
- package/lib/routes/gov/samr/xgzlyhd.ts +0 -2
- package/lib/routes/gov/sh/fgw/index.ts +0 -2
- package/lib/routes/gov/sh/rsj/ksxm.ts +0 -2
- package/lib/routes/gov/sh/wgj/wgj.ts +0 -2
- package/lib/routes/gov/sichuan/deyang/govpublicinfo.ts +0 -2
- package/lib/routes/gov/sichuan/deyang/mztoday.ts +0 -2
- package/lib/routes/gov/stats/index.ts +4 -10
- package/lib/routes/gov/tianjin/tjftz.ts +53 -0
- package/lib/routes/gov/tianjin/tjrcgzw.ts +51 -0
- package/lib/routes/grainoil/category.ts +207 -0
- package/lib/routes/grainoil/namespace.ts +9 -0
- package/lib/routes/guduodata/daily.ts +0 -2
- package/lib/routes/gumroad/index.ts +0 -2
- package/lib/routes/guozaoke/index.ts +34 -35
- package/lib/routes/gzdaily/app.ts +0 -2
- package/lib/routes/hafu/utils.ts +3 -6
- package/lib/routes/hanime1/namespace.ts +7 -0
- package/lib/routes/hanime1/previews.ts +89 -0
- package/lib/routes/hashnode/blog.ts +0 -2
- package/lib/routes/hebtv/nong-bo-shi-zai-xing-dong.ts +0 -2
- package/lib/routes/hellogithub/report.ts +1 -3
- package/lib/routes/hellogithub/volume.ts +0 -2
- package/lib/routes/hiring.cafe/jobs.ts +0 -3
- package/lib/routes/hitcon/zeroday.ts +1 -4
- package/lib/routes/hk01/utils.ts +0 -3
- package/lib/routes/hkej/index.ts +0 -2
- package/lib/routes/hket/index.ts +0 -2
- package/lib/routes/hkushop/namespace.ts +9 -0
- package/lib/routes/hkushop/vinyl-or-picture-lp.ts +87 -0
- package/lib/routes/hostmonit/cloudflareyes.ts +1 -3
- package/lib/routes/hottoys/index.ts +2 -2
- package/lib/routes/houxu/events.ts +0 -2
- package/lib/routes/houxu/index.ts +0 -2
- package/lib/routes/houxu/memory.ts +0 -2
- package/lib/routes/hoyolab/news.ts +0 -2
- package/lib/routes/hrbeu/cec/list.ts +82 -0
- package/lib/routes/hrbust/cs.ts +100 -0
- package/lib/routes/hrbust/gzc.ts +97 -0
- package/lib/routes/hrbust/jwzx.ts +8 -8
- package/lib/routes/hrbust/lib.ts +97 -0
- package/lib/routes/hrbust/news.ts +9 -10
- package/lib/routes/hrbust/nic.ts +5 -8
- package/lib/routes/hupu/all.ts +0 -2
- package/lib/routes/hupu/bbs.ts +0 -2
- package/lib/routes/huxiu/util.ts +11 -12
- package/lib/routes/hypergryph/arknights/announce.ts +1 -1
- package/lib/routes/i-cable/news.ts +0 -3
- package/lib/routes/ianspriggs/index.ts +0 -2
- package/lib/routes/idaily/index.ts +1 -3
- package/lib/routes/ieee/author.ts +0 -2
- package/lib/routes/ieee/journal.ts +0 -2
- package/lib/routes/ielts/index.ts +1 -1
- package/lib/routes/ifanr/category.ts +7 -2
- package/lib/routes/ifanr/digest.ts +1 -1
- package/lib/routes/ifanr/index.ts +1 -1
- package/lib/routes/ifeng/news.ts +0 -2
- package/lib/routes/ifeng/utils.ts +0 -3
- package/lib/routes/ikea/cn/utils.ts +0 -3
- package/lib/routes/ikea/gb/new.ts +0 -2
- package/lib/routes/ikea/gb/offer.ts +0 -2
- package/lib/routes/iknowwhatyoudownload/daily.ts +0 -3
- package/lib/routes/imdb/chart.ts +1 -3
- package/lib/routes/imiker/jinghua.ts +0 -2
- package/lib/routes/infoq/presentations.ts +0 -2
- package/lib/routes/informs/index.ts +0 -2
- package/lib/routes/instagram/common-utils.ts +0 -3
- package/lib/routes/instagram/web-api/utils.ts +0 -3
- package/lib/routes/instructables/projects.ts +20 -15
- package/lib/routes/iplaysoft/category.ts +49 -0
- package/lib/routes/iplaysoft/index.ts +48 -41
- package/lib/routes/iplaysoft/namespace.ts +1 -0
- package/lib/routes/iplaysoft/tag.ts +49 -0
- package/lib/routes/iplaysoft/utils.ts +34 -0
- package/lib/routes/ipsw.dev/index.ts +0 -2
- package/lib/routes/iqilu/program.ts +0 -2
- package/lib/routes/iqiyi/album.ts +0 -2
- package/lib/routes/iqiyi/video.ts +1 -1
- package/lib/routes/iresearch/chart.ts +0 -3
- package/lib/routes/iresearch/report.ts +0 -2
- package/lib/routes/iresearch/weekly.ts +0 -2
- package/lib/routes/itch/devlog.ts +0 -2
- package/lib/routes/itch/index.ts +0 -2
- package/lib/routes/ithome/zt.ts +0 -2
- package/lib/routes/iwara/subscriptions.ts +0 -2
- package/lib/routes/ixigua/user-video.ts +0 -2
- package/lib/routes/jandan/index.ts +36 -12
- package/lib/routes/jandan/section.ts +102 -44
- package/lib/routes/jandan/utils.ts +248 -0
- package/lib/routes/japanpost/track.ts +0 -3
- package/lib/routes/japanpost/utils.ts +5 -5
- package/lib/routes/javbus/index.ts +0 -2
- package/lib/routes/javlibrary/utils.ts +0 -3
- package/lib/routes/javtiful/utils.ts +0 -3
- package/lib/routes/javtrailers/utils.ts +0 -2
- package/lib/routes/jd/price.ts +0 -2
- package/lib/routes/jiemian/lists.ts +0 -2
- package/lib/routes/jimmyspa/books.ts +0 -2
- package/lib/routes/jimmyspa/news.ts +0 -2
- package/lib/routes/jin10/category.ts +221 -0
- package/lib/routes/jin10/index.ts +0 -2
- package/lib/routes/jinse/catalogue.ts +0 -2
- package/lib/routes/jinse/lives.ts +0 -2
- package/lib/routes/jinse/timeline.ts +0 -2
- package/lib/routes/jiuyangongshe/community.ts +1 -4
- package/lib/routes/jjwxc/author.ts +0 -2
- package/lib/routes/jjwxc/book.ts +0 -2
- package/lib/routes/joins/chinese.ts +0 -2
- package/lib/routes/joneslanglasalle/index.ts +0 -3
- package/lib/routes/joshwcomeau/latest.ts +59 -0
- package/lib/routes/joshwcomeau/namespace.ts +8 -0
- package/lib/routes/joshwcomeau/popular.ts +38 -0
- package/lib/routes/joshwcomeau/utils.ts +61 -0
- package/lib/routes/jpmorganchase/namespace.ts +9 -0
- package/lib/routes/jpmorganchase/research.ts +107 -0
- package/lib/routes/jpxgmn/utils.ts +0 -3
- package/lib/routes/juejin/collections.ts +1 -1
- package/lib/routes/jump/discount.ts +0 -2
- package/lib/routes/kadokawa/blog.ts +0 -2
- package/lib/routes/kamen-rider-official/news.ts +0 -2
- package/lib/routes/kantarworldpanel/index.ts +0 -2
- package/lib/routes/kcna/news.ts +32 -34
- package/lib/routes/keep/user.ts +0 -2
- package/lib/routes/kemono/index.ts +3 -5
- package/lib/routes/kepu/live.ts +0 -2
- package/lib/routes/komiic/comic.ts +88 -0
- package/lib/routes/komiic/namespace.ts +7 -0
- package/lib/routes/kpmg/insights.ts +0 -2
- package/lib/routes/kpopping/kpics.ts +215 -0
- package/lib/routes/kpopping/namespace.ts +9 -0
- package/lib/routes/kpopping/news.ts +194 -0
- package/lib/routes/kpopping/templates/description.art +17 -0
- package/lib/routes/kurogames/namespace.ts +1 -1
- package/lib/routes/kurogames/wutheringwaves/constants.ts +34 -0
- package/lib/routes/kurogames/wutheringwaves/news.ts +60 -33
- package/lib/routes/kurogames/wutheringwaves/utils.ts +79 -0
- package/lib/routes/kyodonews/index.ts +0 -2
- package/lib/routes/landiannews/category.ts +48 -0
- package/lib/routes/landiannews/index.ts +11 -129
- package/lib/routes/landiannews/tag.ts +48 -0
- package/lib/routes/landiannews/utils.ts +34 -0
- package/lib/routes/lang/room.ts +0 -2
- package/lib/routes/lanqiao/utils.ts +0 -3
- package/lib/routes/latepost/index.ts +1 -1
- package/lib/routes/leagueoflegends/namespace.ts +8 -0
- package/lib/routes/leagueoflegends/patch-notes.ts +76 -0
- package/lib/routes/learnku/topic.ts +0 -2
- package/lib/routes/leetcode/dailyquestion-cn.ts +0 -2
- package/lib/routes/leetcode/dailyquestion-en.ts +0 -2
- package/lib/routes/lens/namespace.ts +7 -0
- package/lib/routes/lens/profile.ts +80 -0
- package/lib/routes/lfsyd/utils.ts +0 -3
- package/lib/routes/likeshop/index.ts +43 -0
- package/lib/routes/likeshop/namespace.ts +7 -0
- package/lib/routes/linkedin/cn/utils.ts +0 -3
- package/lib/routes/linkedin/posts.ts +64 -0
- package/lib/routes/linkedin/utils.ts +75 -1
- package/lib/routes/linkresearcher/index.ts +0 -2
- package/lib/routes/lkong/forum.ts +0 -2
- package/lib/routes/lkong/thread.ts +0 -2
- package/lib/routes/lmu/jobs.ts +0 -2
- package/lib/routes/logclub/index.ts +0 -2
- package/lib/routes/logclub/report.ts +0 -2
- package/lib/routes/logonews/index.ts +0 -2
- package/lib/routes/logrocket/index.ts +1 -8
- package/lib/routes/loltw/news.ts +0 -2
- package/lib/routes/loongarch/post.ts +1 -0
- package/lib/routes/lorientlejour/index.ts +1 -3
- package/lib/routes/lovelive-anime/news.ts +0 -2
- package/lib/routes/lovelive-anime/schedules.ts +2 -4
- package/lib/routes/lovelive-anime/topics.ts +0 -2
- package/lib/routes/lrepacks/index.ts +0 -2
- package/lib/routes/ltaaa/article.ts +177 -0
- package/lib/routes/ltaaa/namespace.ts +9 -0
- package/lib/routes/ltaaa/templates/description.art +7 -0
- package/lib/routes/luogu/contest.ts +25 -25
- package/lib/routes/luolei/index.ts +0 -2
- package/lib/routes/lvv2/news.ts +0 -2
- package/lib/routes/lvv2/top.ts +0 -2
- package/lib/routes/lxixsxa/discography.ts +0 -2
- package/lib/routes/lxixsxa/information.ts +0 -2
- package/lib/routes/m4/index.ts +0 -2
- package/lib/routes/maccms/index.ts +1 -2
- package/lib/routes/magazinelib/latest-magazine.ts +0 -2
- package/lib/routes/manhuagui/subscribe.ts +0 -2
- package/lib/routes/manyvids/video.ts +1 -4
- package/lib/routes/mashiro/index.ts +62 -0
- package/lib/routes/mashiro/namespace.ts +11 -0
- package/lib/routes/mastodon/timeline-local.ts +1 -1
- package/lib/routes/mastodon/timeline-remote.ts +1 -1
- package/lib/routes/mcmod/index.ts +1 -2
- package/lib/routes/mdpi/journal.ts +0 -2
- package/lib/routes/meituan/tech.ts +31 -37
- package/lib/routes/melonbooks/namespace.ts +9 -0
- package/lib/routes/melonbooks/parser.ts +39 -0
- package/lib/routes/melonbooks/search.ts +44 -0
- package/lib/routes/mercari/keyword.ts +67 -0
- package/lib/routes/mercari/namespace.ts +9 -0
- package/lib/routes/mercari/templates/item.art +46 -0
- package/lib/routes/mercari/templates/shopItem.art +46 -0
- package/lib/routes/mercari/types.ts +278 -0
- package/lib/routes/mercari/util.ts +306 -0
- package/lib/routes/metacritic/index.ts +0 -2
- package/lib/routes/meteor/index.ts +1 -1
- package/lib/routes/meteor/utils.ts +0 -3
- package/lib/routes/mi/utils.ts +4 -7
- package/lib/routes/mihoyo/bbs/follow-list.ts +0 -2
- package/lib/routes/mihoyo/bbs/official.ts +0 -2
- package/lib/routes/mihoyo/bbs/utils.ts +0 -3
- package/lib/routes/mihoyo/ys/news.ts +0 -2
- package/lib/routes/mindmeister/example.ts +0 -2
- package/lib/routes/mingpao/index.ts +0 -2
- package/lib/routes/missav/new.ts +0 -2
- package/lib/routes/misskey/utils.ts +0 -3
- package/lib/routes/mittrchina/index.ts +3 -5
- package/lib/routes/modelscope/community.ts +0 -2
- package/lib/routes/modelscope/datasets.ts +0 -2
- package/lib/routes/modelscope/studios.ts +0 -2
- package/lib/routes/modrinth/versions.ts +0 -3
- package/lib/routes/mrdx/daily.ts +1 -1
- package/lib/routes/mycard520/namespace.ts +9 -0
- package/lib/routes/mycard520/news.ts +252 -0
- package/lib/routes/mydrivers/index.ts +0 -2
- package/lib/routes/myfans/post.ts +1 -4
- package/lib/routes/myfigurecollection/activity.ts +0 -2
- package/lib/routes/myfigurecollection/index.ts +0 -2
- package/lib/routes/mymusicsheet/usersheets.ts +0 -2
- package/lib/routes/natgeo/dailyphoto.ts +0 -2
- package/lib/routes/nationalgeographic/latest-stories.ts +0 -2
- package/lib/routes/nautil/topics.ts +0 -2
- package/lib/routes/nautiljon/manga-releases.ts +26 -15
- package/lib/routes/nber/common.ts +0 -3
- package/lib/routes/ncc-cma/cmdp.ts +0 -2
- package/lib/routes/netflav/index.ts +0 -2
- package/lib/routes/news/xhsxw.ts +0 -2
- package/lib/routes/newzmz/util.ts +0 -3
- package/lib/routes/nextapple/realtime.ts +28 -27
- package/lib/routes/nhentai/util.ts +7 -5
- package/lib/routes/nhk/news-web-easy.ts +0 -2
- package/lib/routes/nhk/news.ts +0 -2
- package/lib/routes/nicovideo/utils.ts +1 -4
- package/lib/routes/nikkei/news.ts +0 -2
- package/lib/routes/nintendo/direct.ts +0 -2
- package/lib/routes/nintendo/eshop-hk.ts +0 -2
- package/lib/routes/nintendo/eshop-jp.ts +0 -2
- package/lib/routes/nintendo/eshop-us.ts +0 -2
- package/lib/routes/nintendo/utils.ts +2 -5
- package/lib/routes/njnu/jwc/jwc.ts +2 -2
- package/lib/routes/njust/utils.ts +1 -1
- package/lib/routes/nmtv/column.ts +0 -2
- package/lib/routes/notefolio/search.ts +0 -2
- package/lib/routes/npm/package.ts +0 -2
- package/lib/routes/nwnu/namespace.ts +7 -0
- package/lib/routes/nwnu/routes/college/csse.ts +133 -0
- package/lib/routes/nwnu/routes/department/academic-affairs.ts +115 -0
- package/lib/routes/nwnu/routes/department/postgraduate.ts +139 -0
- package/lib/routes/nwnu/routes/lib/embed-resource.ts +14 -0
- package/lib/routes/nytimes/daily-briefing-chinese.ts +0 -2
- package/lib/routes/nytimes/index.ts +1 -1
- package/lib/routes/nytimes/rss.ts +5 -1
- package/lib/routes/oceanengine/arithmetic-index.ts +2 -4
- package/lib/routes/oeeee/app/channel.ts +0 -2
- package/lib/routes/oeeee/app/reporter.ts +0 -2
- package/lib/routes/oeeee/web.ts +0 -2
- package/lib/routes/oilchem/index.ts +1 -1
- package/lib/routes/okx/index.ts +125 -0
- package/lib/routes/okx/namespace.ts +7 -0
- package/lib/routes/oncc/index.ts +0 -2
- package/lib/routes/oncc/money18.ts +1 -3
- package/lib/routes/onet/news.ts +0 -2
- package/lib/routes/onet/utils.ts +0 -3
- package/lib/routes/openai/chatgpt.ts +1 -1
- package/lib/routes/openai/common.ts +0 -3
- package/lib/routes/openrice/chart.ts +0 -2
- package/lib/routes/openrice/offers.ts +0 -2
- package/lib/routes/openrice/promos.ts +0 -2
- package/lib/routes/orcid/index.ts +0 -2
- package/lib/routes/oreno3d/main.ts +0 -2
- package/lib/routes/oschina/column.ts +0 -3
- package/lib/routes/oschina/event.ts +0 -3
- package/lib/routes/oshwhub/explore.ts +0 -2
- package/lib/routes/osu/beatmaps/latest-ranked.ts +0 -2
- package/lib/routes/otobanana/utils.ts +0 -3
- package/lib/routes/oup/index.ts +0 -2
- package/lib/routes/papers/category.ts +1219 -0
- package/lib/routes/papers/query.ts +0 -2
- package/lib/routes/papers/templates/description.art +9 -6
- package/lib/routes/parliament.uk/commonslibrary.ts +1 -1
- package/lib/routes/parliament.uk/lordslibrary.ts +1 -1
- package/lib/routes/parliament.uk/petitions.ts +0 -3
- package/lib/routes/patagonia/new-arrivals.ts +0 -2
- package/lib/routes/patreon/feed.ts +2 -5
- package/lib/routes/patreon/templates/description.art +2 -0
- package/lib/routes/patreon/types.ts +8 -12
- package/lib/routes/penguin-random-house/utils.ts +0 -3
- package/lib/routes/people/index.ts +2 -2
- package/lib/routes/phoronix/index.ts +2 -2
- package/lib/routes/picnob/user.ts +153 -108
- package/lib/routes/picuki/profile.ts +0 -2
- package/lib/routes/pikabu/utils.ts +0 -3
- package/lib/routes/pincong/utils.ts +1 -1
- package/lib/routes/pinterest/user.ts +9 -0
- package/lib/routes/pixabay/search.ts +0 -2
- package/lib/routes/pixiv/api/get-ranking.ts +1 -1
- package/lib/routes/pixiv/novel-api/content/utils.ts +1 -0
- package/lib/routes/pnas/index.ts +2 -4
- package/lib/routes/podwise/episodes.ts +1 -1
- package/lib/routes/pornhub/utils.ts +0 -3
- package/lib/routes/producthunt/templates/description.art +19 -0
- package/lib/routes/producthunt/today.ts +49 -24
- package/lib/routes/ps/monthly-games.ts +0 -2
- package/lib/routes/psnine/game.ts +42 -0
- package/lib/routes/psnine/index.ts +58 -0
- package/lib/routes/psnine/namespace.ts +8 -0
- package/lib/routes/psnine/node.ts +80 -0
- package/lib/routes/psnine/shuzhe.ts +43 -0
- package/lib/routes/psnine/trade.ts +58 -0
- package/lib/routes/psyche/utils.ts +0 -3
- package/lib/routes/pts/curations.ts +0 -2
- package/lib/routes/pts/index.ts +0 -2
- package/lib/routes/pts/live.ts +0 -2
- package/lib/routes/pts/projects.ts +0 -2
- package/lib/routes/pubmed/trending.ts +0 -2
- package/lib/routes/qidian/author.ts +0 -2
- package/lib/routes/qoo-app/apps/comment.ts +0 -2
- package/lib/routes/qoo-app/notes/note.ts +0 -2
- package/lib/routes/qoo-app/user/app-comment.ts +0 -2
- package/lib/routes/qq/ac/utils.ts +0 -3
- package/lib/routes/qq/fact/index.ts +0 -2
- package/lib/routes/questmobile/report.ts +1 -3
- package/lib/routes/qweather/3days.ts +0 -2
- package/lib/routes/qweather/now.ts +0 -2
- package/lib/routes/radio/album.ts +0 -2
- package/lib/routes/radio/index.ts +0 -2
- package/lib/routes/radio/zhibo.ts +0 -2
- package/lib/routes/raspberrypi/magazine.ts +171 -0
- package/lib/routes/raspberrypi/namespace.ts +9 -0
- package/lib/routes/raspberrypi/templates/description.art +21 -0
- package/lib/routes/rawkuma/manga.ts +0 -2
- package/lib/routes/readhub/daily.ts +2 -2
- package/lib/routes/readhub/index.ts +0 -2
- package/lib/routes/readhub/util.ts +0 -3
- package/lib/routes/reuters/common.ts +17 -4
- package/lib/routes/routledge/book-series.ts +0 -2
- package/lib/routes/rsc/journal.ts +0 -2
- package/lib/routes/ruankao/news.ts +1 -1
- package/lib/routes/saraba1st/digest.ts +0 -2
- package/lib/routes/science/blogs.ts +2 -2
- package/lib/routes/science/cover.ts +0 -2
- package/lib/routes/science/utils.ts +0 -3
- package/lib/routes/sciencedirect/call-for-paper.ts +0 -2
- package/lib/routes/sciencedirect/current-issue.ts +93 -0
- package/lib/routes/scientificamerican/podcast.ts +0 -3
- package/lib/routes/sctv/programme.ts +0 -2
- package/lib/routes/seekingalpha/index.ts +1 -3
- package/lib/routes/sehuatang/index.ts +2 -2
- package/lib/routes/sensortower/blog.ts +0 -2
- package/lib/routes/shcstheatre/programs.ts +0 -2
- package/lib/routes/shiep/index.ts +0 -2
- package/lib/routes/shmtu/portal.ts +0 -2
- package/lib/routes/shoac/recent-show.ts +0 -2
- package/lib/routes/shopify/apps/[handle].reviews.ts +1 -1
- package/lib/routes/shopify/apps/search.ts +6 -3
- package/lib/routes/shoppingdesign/posts.ts +26 -25
- package/lib/routes/shuiguopai/index.ts +0 -2
- package/lib/routes/simpleinfo/index.ts +0 -2
- package/lib/routes/sina/utils.ts +0 -3
- package/lib/routes/sinchew/index.ts +0 -2
- package/lib/routes/sjtu/tongqu/activity.ts +0 -2
- package/lib/routes/skeb/utils.ts +0 -3
- package/lib/routes/sketis/isabelle-dev/blog/index.ts +1 -1
- package/lib/routes/snowpeak/us-new-arrivals.ts +0 -2
- package/lib/routes/sogou/search.ts +0 -2
- package/lib/routes/sohu/mp.ts +3 -4
- package/lib/routes/southcn/nfapp/column.ts +0 -2
- package/lib/routes/southcn/nfapp/reporter.ts +0 -2
- package/lib/routes/spankbang/new-videos.ts +1 -3
- package/lib/routes/spotify/playlist.ts +3 -0
- package/lib/routes/spotify/show.ts +1 -1
- package/lib/routes/springer/journal.ts +0 -2
- package/lib/routes/sse/inquire.ts +0 -2
- package/lib/routes/sse/renewal.ts +2 -4
- package/lib/routes/ssm/news.ts +0 -2
- package/lib/routes/stcn/index.ts +241 -136
- package/lib/routes/stcn/kx.ts +144 -0
- package/lib/routes/stcn/rank.ts +249 -0
- package/lib/routes/stdaily/digitalpaper.ts +0 -2
- package/lib/routes/steam/appcommunityfeed.ts +0 -2
- package/lib/routes/steam/curator.ts +0 -3
- package/lib/routes/steam/search.ts +1 -2
- package/lib/routes/steam/workshop-search.ts +0 -2
- package/lib/routes/storyfm/episodes.ts +0 -2
- package/lib/routes/straitstimes/index.ts +0 -2
- package/lib/routes/surfshark/blog.ts +0 -2
- package/lib/routes/swjtu/namespace.ts +1 -1
- package/lib/routes/swjtu/scai.ts +117 -0
- package/lib/routes/swjtu/{scai/bks.ts → sports.ts} +16 -15
- package/lib/routes/swjtu/utils.ts +0 -3
- package/lib/routes/syosetu/ranking-isekai.ts +1 -4
- package/lib/routes/syosetu/ranking-r18.ts +1 -4
- package/lib/routes/syosetu/ranking.ts +1 -4
- package/lib/routes/syosetu/search.ts +1 -4
- package/lib/routes/sysu/ygafz.ts +1 -1
- package/lib/routes/szse/disclosure/listed-notice.ts +111 -0
- package/lib/routes/szse/inquire.ts +0 -2
- package/lib/routes/szse/projectdynamic.ts +0 -2
- package/lib/routes/szse/templates/inquire.art +1 -1
- package/lib/routes/taobao/zhongchou.ts +0 -2
- package/lib/routes/taptap/utils.ts +0 -3
- package/lib/routes/techcrunch/news.ts +0 -2
- package/lib/routes/telegram/channel.ts +2 -5
- package/lib/routes/telegram/stickerpack.ts +19 -10
- package/lib/routes/telegram/tglib/channel.ts +2 -2
- package/lib/routes/telegram/tglib/client.ts +20 -20
- package/lib/routes/tencent/news/author.ts +40 -39
- package/lib/routes/tencent/news/coronavirus/data.ts +0 -2
- package/lib/routes/tencent/news/coronavirus/total.ts +0 -2
- package/lib/routes/tesla/cx.ts +1 -3
- package/lib/routes/test/index.ts +1 -1
- package/lib/routes/tfc-taiwan/utils.ts +24 -32
- package/lib/routes/the/index.ts +0 -2
- package/lib/routes/theatlantic/utils.ts +0 -3
- package/lib/routes/theblock/index.ts +142 -0
- package/lib/routes/theblock/namespace.ts +7 -0
- package/lib/routes/theblockbeats/index.ts +0 -3
- package/lib/routes/theinitium/app.ts +81 -53
- package/lib/routes/themoviedb/utils.ts +0 -3
- package/lib/routes/thenewslens/index.ts +0 -2
- package/lib/routes/thepaper/factpaper.ts +0 -2
- package/lib/routes/thepaper/utils.ts +0 -3
- package/lib/routes/theverge/index.ts +70 -62
- package/lib/routes/theverge/templates/header.art +19 -0
- package/lib/routes/thoughtco/index.ts +0 -2
- package/lib/routes/threads/index.ts +73 -54
- package/lib/routes/threads/utils.ts +60 -78
- package/lib/routes/tiktok/user.ts +1 -3
- package/lib/routes/tingshuitz/shenzhen.ts +0 -2
- package/lib/routes/tingtingfm/program.ts +0 -2
- package/lib/routes/tmtpost/column.ts +298 -0
- package/lib/routes/tmtpost/new.ts +4 -199
- package/lib/routes/tmtpost/util.ts +204 -0
- package/lib/routes/tophub/list.ts +0 -2
- package/lib/routes/toranoana/namespace.ts +7 -0
- package/lib/routes/toranoana/news.ts +110 -0
- package/lib/routes/toutiao/a-bogus.ts +15 -15
- package/lib/routes/toutiao/user.ts +1 -4
- package/lib/routes/tradingview/blog.ts +42 -44
- package/lib/routes/transcriptforest/index.ts +0 -2
- package/lib/routes/transformer-circuits/index.ts +119 -0
- package/lib/routes/transformer-circuits/namespace.ts +7 -0
- package/lib/routes/transformer-circuits/templates/article.art +62 -0
- package/lib/routes/trending/all-trending.ts +2 -4
- package/lib/routes/tribalfootball/latest.ts +0 -2
- package/lib/routes/tvb/news.ts +0 -2
- package/lib/routes/tvtropes/featured.ts +0 -2
- package/lib/routes/twitter/api/developer-api/user.ts +2 -2
- package/lib/routes/twitter/namespace.ts +1 -1
- package/lib/routes/twitter/user.ts +3 -4
- package/lib/routes/twitter/utils.ts +13 -13
- package/lib/routes/twreporter/fetch-article.ts +0 -3
- package/lib/routes/txks/news.ts +1 -1
- package/lib/routes/txrjy/fornumtopic.ts +0 -2
- package/lib/routes/uchicago/current.ts +3 -3
- package/lib/routes/udn/breaking-news.ts +0 -2
- package/lib/routes/unipd/ilbolive/news.ts +104 -0
- package/lib/routes/unipd/namespace.ts +7 -0
- package/lib/routes/uptimerobot/rss.ts +0 -2
- package/lib/routes/uraaka-joshi/uraaka-joshi-user.ts +2 -2
- package/lib/routes/uraaka-joshi/uraaka-joshi.ts +42 -46
- package/lib/routes/urbandictionary/random.ts +0 -2
- package/lib/routes/utgd/utils.ts +1 -4
- package/lib/routes/vcb-s/category.ts +0 -2
- package/lib/routes/vcb-s/index.ts +0 -2
- package/lib/routes/vice/topic.ts +1 -3
- package/lib/routes/vimeo/category.ts +0 -2
- package/lib/routes/vimeo/channel.ts +0 -2
- package/lib/routes/vimeo/usr-videos.ts +0 -2
- package/lib/routes/visionias/utils.ts +0 -3
- package/lib/routes/wainao/templates/description.art +9 -0
- package/lib/routes/wainao/topics.ts +211 -0
- package/lib/routes/wallpaperhub/index.ts +0 -2
- package/lib/routes/wallstreetcn/live.ts +0 -2
- package/lib/routes/warthunder/news.ts +0 -2
- package/lib/routes/washingtonpost/app.ts +3 -5
- package/lib/routes/wechat/sogou.ts +171 -50
- package/lib/routes/weibo/friends.ts +1 -1
- package/lib/routes/weibo/group.ts +1 -1
- package/lib/routes/weibo/namespace.ts +1 -0
- package/lib/routes/weibo/search/hot.ts +0 -2
- package/lib/routes/weibo/timeline.ts +3 -1
- package/lib/routes/weibo/user-bookmarks.ts +1 -1
- package/lib/routes/weibo/user.ts +11 -3
- package/lib/routes/weibo/utils.ts +11 -3
- package/lib/routes/wellcee/rent.ts +1 -3
- package/lib/routes/whu/news.ts +0 -2
- package/lib/routes/whu/swrh.ts +1 -1
- package/lib/routes/whu/util.ts +0 -3
- package/lib/routes/winstall/update.ts +0 -2
- package/lib/routes/wise/pair.ts +1 -3
- package/lib/routes/wmc-bj/publish.ts +0 -2
- package/lib/routes/wnacg/common.ts +0 -3
- package/lib/routes/wordpress/util.ts +1 -1
- package/lib/routes/wsj/news.ts +3 -2
- package/lib/routes/wsj/utils.ts +1 -12
- package/lib/routes/x-mol/news.ts +0 -2
- package/lib/routes/x-mol/paper.ts +17 -22
- package/lib/routes/xiaoheihe/util.ts +1 -1
- package/lib/routes/xiaohongshu/util.ts +2 -2
- package/lib/routes/xiaomiyoupin/crowdfunding.ts +0 -2
- package/lib/routes/xiaomiyoupin/utils.ts +0 -3
- package/lib/routes/xiaoyuzhou/pickup.ts +1 -1
- package/lib/routes/xiaoyuzhou/podcast.ts +27 -27
- package/lib/routes/xinpianchang/util.ts +0 -3
- package/lib/routes/xjtu/job.ts +0 -2
- package/lib/routes/xjtu/std.ts +0 -2
- package/lib/routes/xjtu/yz.ts +74 -0
- package/lib/routes/xjtu/zs.ts +170 -0
- package/lib/routes/xkb/index.ts +0 -2
- package/lib/routes/xsijishe/rank.ts +49 -17
- package/lib/routes/xsijishe/utils.ts +25 -0
- package/lib/routes/xueqiu/stock-comments.ts +0 -2
- package/lib/routes/xys/new.ts +0 -2
- package/lib/routes/xyzrank/index.ts +0 -2
- package/lib/routes/yahoo/news/utils.ts +0 -3
- package/lib/routes/yamibo/bbs/forum.ts +5 -4
- package/lib/routes/yamibo/utils.ts +0 -9
- package/lib/routes/ycwb/index.ts +0 -2
- package/lib/routes/yenpress/series.ts +1 -4
- package/lib/routes/yicai/dt.ts +0 -2
- package/lib/routes/yicai/utils.ts +0 -3
- package/lib/routes/ymgal/game.ts +0 -2
- package/lib/routes/yoasobi-music/info.ts +0 -2
- package/lib/routes/yoasobi-music/live.ts +0 -2
- package/lib/routes/yoasobi-music/media.ts +0 -2
- package/lib/routes/youku/channel.ts +0 -2
- package/lib/routes/youmemark/index.ts +88 -0
- package/lib/routes/youmemark/namespace.ts +7 -0
- package/lib/routes/youtube/channel.ts +40 -16
- package/lib/routes/youtube/community.ts +2 -4
- package/lib/routes/youtube/subscriptions.ts +3 -11
- package/lib/routes/youtube/user.ts +38 -9
- package/lib/routes/youtube/utils.ts +17 -3
- package/lib/routes/yxdzqb/index.ts +0 -2
- package/lib/routes/yystv/category.ts +49 -51
- package/lib/routes/yystv/docs.ts +7 -9
- package/lib/routes/yystv/fetcher.ts +10 -0
- package/lib/routes/zagg/new-arrivals.ts +0 -2
- package/lib/routes/zaker/channel.ts +2 -5
- package/lib/routes/zaker/focus.ts +2 -5
- package/lib/routes/zaobao/util.ts +12 -6
- package/lib/routes/zcool/discover.ts +0 -2
- package/lib/routes/zcool/utils.ts +0 -3
- package/lib/routes/zhihu/answers.ts +26 -54
- package/lib/routes/zhihu/timeline.ts +1 -2
- package/lib/routes/zhihu/utils.ts +5 -5
- package/lib/routes/zhihu/zhuanlan.ts +1 -2
- package/lib/routes/zhitongcaijing/index.ts +0 -2
- package/lib/routes/zhiy/post.ts +0 -2
- package/lib/routes/zhonglun/index.ts +0 -2
- package/lib/routes/zhubai/top20.ts +0 -2
- package/lib/routes/zodgame/forum.ts +0 -2
- package/lib/routes/zsxq/utils.ts +1 -1
- package/lib/routes/zuvio/utils.ts +0 -3
- package/lib/routes/zyshow/index.ts +0 -2
- package/lib/utils/otel/metric.ts +3 -3
- package/lib/utils/otel/trace.ts +16 -16
- package/lib/utils/parse-date.ts +4 -4
- package/lib/utils/puppeteer-utils.test.ts +2 -2
- package/lib/utils/puppeteer.test.ts +2 -2
- package/lib/utils/puppeteer.ts +2 -2
- package/lib/utils/timezone.ts +1 -1
- package/package.json +72 -70
- package/lib/routes/apnews/api.ts +0 -77
- package/lib/routes/coomer/artist.ts +0 -33
- package/lib/routes/coomer/posts.ts +0 -32
- package/lib/routes/coomer/utils.ts +0 -57
- package/lib/routes/gcores/category.ts +0 -171
- package/lib/routes/gcores/collection.ts +0 -161
- package/lib/routes/gcores/tag.ts +0 -158
- package/lib/routes/papers/index.ts +0 -136
- package/lib/routes/producthunt/templates/descImg.art +0 -5
- package/lib/routes-deprecated/chuapp/index.js +0 -54
- package/lib/routes-deprecated/jpmorganchase/research.js +0 -52
- package/lib/routes-deprecated/ltaaa/index.js +0 -69
- package/lib/routes-deprecated/psnine/game.js +0 -32
- package/lib/routes-deprecated/psnine/index.js +0 -33
- package/lib/routes-deprecated/psnine/news.js +0 -53
- package/lib/routes-deprecated/psnine/node.js +0 -54
- package/lib/routes-deprecated/psnine/shuzhe.js +0 -33
- package/lib/routes-deprecated/psnine/trade.js +0 -39
- /package/lib/routes/{landiannews → 10000link}/templates/description.art +0 -0
package/lib/api/index.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { route as radarRulesOneRoute, handler as radarRulesOneHandler } from '@/
|
|
|
6
6
|
import { route as categoryOneRoute, handler as categoryOneHandler } from '@/api/category/one';
|
|
7
7
|
import { route as followConfigRoute, handler as followConfigHandler } from '@/api/follow/config';
|
|
8
8
|
import { OpenAPIHono } from '@hono/zod-openapi';
|
|
9
|
-
import {
|
|
9
|
+
import { Scalar } from '@scalar/hono-api-reference';
|
|
10
10
|
|
|
11
11
|
const app = new OpenAPIHono();
|
|
12
12
|
|
|
@@ -29,11 +29,6 @@ for (const path in docs.paths) {
|
|
|
29
29
|
delete docs.paths[path];
|
|
30
30
|
}
|
|
31
31
|
app.get('/openapi.json', (ctx) => ctx.json(docs));
|
|
32
|
-
app.get(
|
|
33
|
-
'/reference',
|
|
34
|
-
apiReference({
|
|
35
|
-
spec: { content: docs },
|
|
36
|
-
})
|
|
37
|
-
);
|
|
32
|
+
app.get('/reference', Scalar({ content: docs }));
|
|
38
33
|
|
|
39
34
|
export default app;
|
package/lib/config.ts
CHANGED
|
@@ -164,6 +164,10 @@ export type Config = {
|
|
|
164
164
|
game4399: {
|
|
165
165
|
cookie?: string;
|
|
166
166
|
};
|
|
167
|
+
gelbooru: {
|
|
168
|
+
apiKey?: string;
|
|
169
|
+
userId?: string;
|
|
170
|
+
};
|
|
167
171
|
github: {
|
|
168
172
|
access_token?: string;
|
|
169
173
|
};
|
|
@@ -597,6 +601,10 @@ const calculateValue = () => {
|
|
|
597
601
|
game4399: {
|
|
598
602
|
cookie: envs.GAME_4399,
|
|
599
603
|
},
|
|
604
|
+
gelbooru: {
|
|
605
|
+
apiKey: envs.GELBOORU_API_KEY,
|
|
606
|
+
userId: envs.GELBOORU_USER_ID,
|
|
607
|
+
},
|
|
600
608
|
github: {
|
|
601
609
|
access_token: envs.GITHUB_ACCESS_TOKEN,
|
|
602
610
|
},
|
|
@@ -610,7 +618,6 @@ const calculateValue = () => {
|
|
|
610
618
|
cookies: envs.GUOZAOKE_COOKIES,
|
|
611
619
|
},
|
|
612
620
|
hefeng: {
|
|
613
|
-
// weather
|
|
614
621
|
key: envs.HEFENG_KEY,
|
|
615
622
|
},
|
|
616
623
|
infzm: {
|
package/lib/registry.ts
CHANGED
|
@@ -27,8 +27,10 @@ let namespaces: Record<
|
|
|
27
27
|
> = {};
|
|
28
28
|
|
|
29
29
|
switch (process.env.NODE_ENV) {
|
|
30
|
-
case 'test':
|
|
31
30
|
case 'production':
|
|
31
|
+
namespaces = (await import('../assets/build/routes.js')).default;
|
|
32
|
+
break;
|
|
33
|
+
case 'test':
|
|
32
34
|
// @ts-expect-error
|
|
33
35
|
namespaces = await import('../assets/build/routes.json');
|
|
34
36
|
break;
|
|
@@ -84,16 +86,58 @@ if (Object.keys(modules).length) {
|
|
|
84
86
|
export { namespaces };
|
|
85
87
|
|
|
86
88
|
const app = new Hono();
|
|
89
|
+
const sortRoutes = (
|
|
90
|
+
routes: Record<
|
|
91
|
+
string,
|
|
92
|
+
Route & {
|
|
93
|
+
location: string;
|
|
94
|
+
module?: () => Promise<{ route: Route }>;
|
|
95
|
+
}
|
|
96
|
+
>
|
|
97
|
+
) =>
|
|
98
|
+
Object.entries(routes).sort(([pathA], [pathB]) => {
|
|
99
|
+
const segmentsA = pathA.split('/');
|
|
100
|
+
const segmentsB = pathB.split('/');
|
|
101
|
+
const lenA = segmentsA.length;
|
|
102
|
+
const lenB = segmentsB.length;
|
|
103
|
+
const minLen = Math.min(lenA, lenB);
|
|
104
|
+
|
|
105
|
+
for (let i = 0; i < minLen; i++) {
|
|
106
|
+
const segmentA = segmentsA[i];
|
|
107
|
+
const segmentB = segmentsB[i];
|
|
108
|
+
|
|
109
|
+
// Literal segments have priority over parameter segments
|
|
110
|
+
if (segmentA.startsWith(':') !== segmentB.startsWith(':')) {
|
|
111
|
+
return segmentA.startsWith(':') ? 1 : -1;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
return 0;
|
|
116
|
+
});
|
|
117
|
+
|
|
87
118
|
for (const namespace in namespaces) {
|
|
88
119
|
const subApp = app.basePath(`/${namespace}`);
|
|
89
|
-
|
|
120
|
+
|
|
121
|
+
const namespaceData = namespaces[namespace];
|
|
122
|
+
if (!namespaceData || !namespaceData.routes) {
|
|
123
|
+
continue;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
const sortedRoutes = sortRoutes(namespaceData.routes);
|
|
127
|
+
|
|
128
|
+
for (const [path, routeData] of sortedRoutes) {
|
|
90
129
|
const wrappedHandler: Handler = async (ctx) => {
|
|
91
130
|
if (!ctx.get('data')) {
|
|
92
|
-
if (typeof
|
|
93
|
-
|
|
94
|
-
|
|
131
|
+
if (typeof routeData.handler !== 'function') {
|
|
132
|
+
if (process.env.NODE_ENV === 'test') {
|
|
133
|
+
const { route } = await import(`./routes/${namespace}/${routeData.location}`);
|
|
134
|
+
routeData.handler = route.handler;
|
|
135
|
+
} else if (routeData.module) {
|
|
136
|
+
const { route } = await routeData.module();
|
|
137
|
+
routeData.handler = route.handler;
|
|
138
|
+
}
|
|
95
139
|
}
|
|
96
|
-
ctx.set('data', await
|
|
140
|
+
ctx.set('data', await routeData.handler(ctx));
|
|
97
141
|
}
|
|
98
142
|
};
|
|
99
143
|
subApp.get(path, wrappedHandler);
|
package/lib/router.js
CHANGED
|
@@ -564,18 +564,6 @@ router.get('/zjgsu/xszq', lazyloadRouteHandler('./routes/universities/zjgsu/xszq
|
|
|
564
564
|
router.get('/banyuetan/byt/:time?', lazyloadRouteHandler('./routes/banyuetan/byt'));
|
|
565
565
|
router.get('/banyuetan/:name', lazyloadRouteHandler('./routes/banyuetan'));
|
|
566
566
|
|
|
567
|
-
// gamersky
|
|
568
|
-
router.get('/gamersky/news', lazyloadRouteHandler('./routes/gamersky/news'));
|
|
569
|
-
router.get('/gamersky/ent/:category', lazyloadRouteHandler('./routes/gamersky/ent'));
|
|
570
|
-
|
|
571
|
-
// psnine
|
|
572
|
-
router.get('/psnine/index', lazyloadRouteHandler('./routes/psnine/index'));
|
|
573
|
-
router.get('/psnine/shuzhe', lazyloadRouteHandler('./routes/psnine/shuzhe'));
|
|
574
|
-
router.get('/psnine/trade', lazyloadRouteHandler('./routes/psnine/trade'));
|
|
575
|
-
router.get('/psnine/game', lazyloadRouteHandler('./routes/psnine/game'));
|
|
576
|
-
router.get('/psnine/news/:order?', lazyloadRouteHandler('./routes/psnine/news'));
|
|
577
|
-
router.get('/psnine/node/:id?/:order?', lazyloadRouteHandler('./routes/psnine/node'));
|
|
578
|
-
|
|
579
567
|
// 浙江大学城市学院
|
|
580
568
|
router.get('/zucc/news/latest', lazyloadRouteHandler('./routes/universities/zucc/news'));
|
|
581
569
|
router.get('/zucc/cssearch/latest/:webVpn/:key', lazyloadRouteHandler('./routes/universities/zucc/cssearch'));
|
package/lib/routes/005/index.ts
CHANGED
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { type Data, type DataItem, type Route, ViewType } from '@/types';
|
|
2
|
+
|
|
3
|
+
import { art } from '@/utils/render';
|
|
4
|
+
import cache from '@/utils/cache';
|
|
5
|
+
import ofetch from '@/utils/ofetch';
|
|
6
|
+
import { parseDate, parseRelativeDate } from '@/utils/parse-date';
|
|
7
|
+
|
|
8
|
+
import { type CheerioAPI, type Cheerio, type Element, load } from 'cheerio';
|
|
9
|
+
import { type Context } from 'hono';
|
|
10
|
+
import path from 'node:path';
|
|
11
|
+
|
|
12
|
+
export const handler = async (ctx: Context): Promise<Data> => {
|
|
13
|
+
const { category = 'newslists', id } = ctx.req.param();
|
|
14
|
+
const limit: number = Number.parseInt(ctx.req.query('limit') ?? '30', 10);
|
|
15
|
+
|
|
16
|
+
const baseUrl: string = 'https://info.10000link.com';
|
|
17
|
+
const targetUrl: string = new URL(`${category}.aspx${id ? `?chid=${id}` : ''}`, baseUrl).href;
|
|
18
|
+
|
|
19
|
+
const response = await ofetch(targetUrl);
|
|
20
|
+
const $: CheerioAPI = load(response);
|
|
21
|
+
const language = $('html').attr('lang') ?? 'zh';
|
|
22
|
+
|
|
23
|
+
let items: DataItem[] = [];
|
|
24
|
+
|
|
25
|
+
items = $('ul.l_newshot li dl.lhotnew2')
|
|
26
|
+
.slice(0, limit)
|
|
27
|
+
.toArray()
|
|
28
|
+
.map((el): Element => {
|
|
29
|
+
const $el: Cheerio<Element> = $(el);
|
|
30
|
+
const $aEl: Cheerio<Element> = $el.find('dd h1 a');
|
|
31
|
+
|
|
32
|
+
const title: string = $aEl.attr('title') ?? $aEl.text();
|
|
33
|
+
const description: string | undefined = art(path.join(__dirname, 'templates/description.art'), {
|
|
34
|
+
intro: $el.find('dd.title_l').text(),
|
|
35
|
+
});
|
|
36
|
+
const pubDateStr: string | undefined = $el.find('span.ymd_w').text();
|
|
37
|
+
const linkUrl: string | undefined = $aEl.attr('href');
|
|
38
|
+
const categoryEls: Element[] = $el.find('dd.day-lx span a').toArray();
|
|
39
|
+
const categories: string[] = [...new Set(categoryEls.map((el) => $(el).text()).filter(Boolean))];
|
|
40
|
+
const authors: DataItem['author'] = $el.find('dd.day-lx span').first().text();
|
|
41
|
+
const image: string | undefined = $el.find('dt.img220 a img').attr('src');
|
|
42
|
+
const upDatedStr: string | undefined = pubDateStr;
|
|
43
|
+
|
|
44
|
+
const processedItem: DataItem = {
|
|
45
|
+
title,
|
|
46
|
+
description,
|
|
47
|
+
pubDate: pubDateStr ? parseRelativeDate(pubDateStr) : undefined,
|
|
48
|
+
link: linkUrl ? new URL(linkUrl, baseUrl).href : undefined,
|
|
49
|
+
category: categories,
|
|
50
|
+
author: authors,
|
|
51
|
+
content: {
|
|
52
|
+
html: description,
|
|
53
|
+
text: description,
|
|
54
|
+
},
|
|
55
|
+
image,
|
|
56
|
+
banner: image,
|
|
57
|
+
updated: upDatedStr ? parseRelativeDate(upDatedStr) : undefined,
|
|
58
|
+
language,
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
return processedItem;
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
items = (
|
|
65
|
+
await Promise.all(
|
|
66
|
+
items.map((item) => {
|
|
67
|
+
if (!item.link) {
|
|
68
|
+
return item;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
return cache.tryGet(item.link, async (): Promise<DataItem> => {
|
|
72
|
+
const detailResponse = await ofetch(item.link);
|
|
73
|
+
const $$: CheerioAPI = load(detailResponse);
|
|
74
|
+
|
|
75
|
+
const title: string = $$('div.entity_title h1 a').text();
|
|
76
|
+
const image: string | undefined = $$('div.entity_thumb img.img-responsive').attr('src');
|
|
77
|
+
|
|
78
|
+
const description: string | undefined = art(path.join(__dirname, 'templates/description.art'), {
|
|
79
|
+
images: image
|
|
80
|
+
? [
|
|
81
|
+
{
|
|
82
|
+
src: image,
|
|
83
|
+
alt: title,
|
|
84
|
+
},
|
|
85
|
+
]
|
|
86
|
+
: undefined,
|
|
87
|
+
description: $$('div.entity_content').html(),
|
|
88
|
+
});
|
|
89
|
+
const pubDateStr: string | undefined = detailResponse.match(/var\stime\s=\s"(.*?)";/)?.[1];
|
|
90
|
+
const categoryEls: Element[] = $$('div.entity_tag span a').toArray();
|
|
91
|
+
const categories: string[] = [...new Set([...categoryEls.map((el) => $$(el).text()), ...(item.category ?? [])].filter(Boolean))];
|
|
92
|
+
const upDatedStr: string | undefined = pubDateStr;
|
|
93
|
+
|
|
94
|
+
const processedItem: DataItem = {
|
|
95
|
+
title,
|
|
96
|
+
description,
|
|
97
|
+
pubDate: pubDateStr ? parseDate(pubDateStr) : item.pubDate,
|
|
98
|
+
category: categories,
|
|
99
|
+
content: {
|
|
100
|
+
html: description,
|
|
101
|
+
text: description,
|
|
102
|
+
},
|
|
103
|
+
image,
|
|
104
|
+
banner: image,
|
|
105
|
+
updated: upDatedStr ? parseDate(upDatedStr) : item.updated,
|
|
106
|
+
language,
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
return {
|
|
110
|
+
...item,
|
|
111
|
+
...processedItem,
|
|
112
|
+
};
|
|
113
|
+
});
|
|
114
|
+
})
|
|
115
|
+
)
|
|
116
|
+
).filter((_): _ is DataItem => true);
|
|
117
|
+
|
|
118
|
+
const author: string = '10000万联网';
|
|
119
|
+
const title: string = $('h1').contents().first().text();
|
|
120
|
+
|
|
121
|
+
return {
|
|
122
|
+
title: `${author} - ${title}`,
|
|
123
|
+
description: title,
|
|
124
|
+
link: targetUrl,
|
|
125
|
+
item: items,
|
|
126
|
+
allowEmpty: true,
|
|
127
|
+
image: $('a.navbar-brand img').attr('src') ? new URL($('a.navbar-brand img').attr('src') as string, baseUrl).href : undefined,
|
|
128
|
+
author,
|
|
129
|
+
language,
|
|
130
|
+
id: $('meta[property="og:url"]').attr('content'),
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
export const route: Route = {
|
|
135
|
+
path: '/info/:category?/:id?',
|
|
136
|
+
name: '新闻',
|
|
137
|
+
url: 'info.10000link.com',
|
|
138
|
+
maintainers: ['nczitzk'],
|
|
139
|
+
handler,
|
|
140
|
+
example: '/10000link/info/newslists/My01',
|
|
141
|
+
parameters: {
|
|
142
|
+
category: {
|
|
143
|
+
description: '分类,默认为 `newslists`,可在对应分类页 URL 中找到',
|
|
144
|
+
options: [
|
|
145
|
+
{
|
|
146
|
+
label: '新闻',
|
|
147
|
+
value: 'newslists',
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
label: '物流',
|
|
151
|
+
value: 'newslogistics',
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
label: '供应链金融风控',
|
|
155
|
+
value: 'newsRisk',
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
label: '区块链',
|
|
159
|
+
value: 'newsBlockChain',
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
label: 'B2B',
|
|
163
|
+
value: 'newsBTwoB',
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
label: '跨境电商',
|
|
167
|
+
value: 'newsCrossborder',
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
label: '投融资',
|
|
171
|
+
value: 'newsInvestment',
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
label: '供应链管理',
|
|
175
|
+
value: 'newsManagement',
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
label: '供应链创新',
|
|
179
|
+
value: 'newsInnovation',
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
label: '数据',
|
|
183
|
+
value: 'newslists/A02',
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
label: '政策',
|
|
187
|
+
value: 'newslists/A03',
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
label: '规划',
|
|
191
|
+
value: 'newslists/A04',
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
label: '案例',
|
|
195
|
+
value: 'newslists/GL03',
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
label: '职场',
|
|
199
|
+
value: 'newslists/ZC',
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
label: '供应链票据',
|
|
203
|
+
value: 'newsBill',
|
|
204
|
+
},
|
|
205
|
+
],
|
|
206
|
+
},
|
|
207
|
+
id: {
|
|
208
|
+
description: 'ID,默认为空,可在对应分类页 URL 中找到',
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
description: `:::tip
|
|
212
|
+
若订阅 [天下大势](https://info.10000link.com/newslists.aspx?chid=My01),网址为 \`https://info.10000link.com/newslists.aspx?chid=My01\`,请截取 \`https://info.10000link.com/\` 到末尾 \`.aspx\` 的部分 \`newslists\` 作为 \`category\` 参数填入,而 \`My01\` 作为 \`id\` 参数填入,此时目标路由为 [\`/10000link/info/newslists/My01\`](https://rsshub.app/10000link/info/newslists/My01)。
|
|
213
|
+
:::
|
|
214
|
+
|
|
215
|
+
| 金融科技 | 物流 | 供应链金融风控 | 区块链 | B2B |
|
|
216
|
+
| ------------- | ------------- | -------------- | -------------- | --------- |
|
|
217
|
+
| newsFinancial | newslogistics | newsRisk | newsBlockChain | newsBTwoB |
|
|
218
|
+
|
|
219
|
+
| 跨境电商 | 投融资 | 供应链管理 | 供应链创新 | 数据 |
|
|
220
|
+
| --------------- | -------------- | -------------- | -------------- | ------------- |
|
|
221
|
+
| newsCrossborder | newsInvestment | newsManagement | newsInnovation | newslists/A02 |
|
|
222
|
+
|
|
223
|
+
| 政策 | 规划 | 案例 | 职场 | 供应链票据 |
|
|
224
|
+
| ------------- | ------------- | -------------- | ------------ | ---------- |
|
|
225
|
+
| newslists/A03 | newslists/A04 | newslists/GL03 | newslists/ZC | newsBill |
|
|
226
|
+
`,
|
|
227
|
+
categories: ['new-media'],
|
|
228
|
+
features: {
|
|
229
|
+
requireConfig: false,
|
|
230
|
+
requirePuppeteer: false,
|
|
231
|
+
antiCrawler: false,
|
|
232
|
+
supportRadar: true,
|
|
233
|
+
supportBT: false,
|
|
234
|
+
supportPodcast: false,
|
|
235
|
+
supportScihub: false,
|
|
236
|
+
},
|
|
237
|
+
radar: [
|
|
238
|
+
{
|
|
239
|
+
source: ['info.10000link.com/:category'],
|
|
240
|
+
target: (params, url) => {
|
|
241
|
+
const urlObj: URL = new URL(url);
|
|
242
|
+
const id: string | undefined = urlObj.searchParams.get('chid') ?? undefined;
|
|
243
|
+
const category: string = params.category;
|
|
244
|
+
|
|
245
|
+
return `/10000link/info${category ? `/${category}${id ? `/${id}` : ''}` : ''}`;
|
|
246
|
+
},
|
|
247
|
+
},
|
|
248
|
+
],
|
|
249
|
+
view: ViewType.Articles,
|
|
250
|
+
};
|
package/lib/routes/12306/zxdt.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Route } from '@/types';
|
|
|
2
2
|
import cache from '@/utils/cache';
|
|
3
3
|
import got from '@/utils/got';
|
|
4
4
|
import { load } from 'cheerio';
|
|
5
|
-
import
|
|
5
|
+
import { parseDate } from '@/utils/parse-date';
|
|
6
6
|
|
|
7
7
|
export const route: Route = {
|
|
8
8
|
path: '/zxdt/:id?',
|
|
@@ -40,41 +40,23 @@ async function handler(ctx) {
|
|
|
40
40
|
const name = $('div.nav_center > a:nth-child(4)').text();
|
|
41
41
|
|
|
42
42
|
const list = $('#newList > ul > li')
|
|
43
|
-
.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
return info;
|
|
50
|
-
})
|
|
51
|
-
.get();
|
|
43
|
+
.toArray()
|
|
44
|
+
.map((item) => ({
|
|
45
|
+
title: $(item).find('a').text(),
|
|
46
|
+
link: new URL($(item).find('a').attr('href'), link).href,
|
|
47
|
+
pubDate: parseDate($(item).find('span').text().slice(1, -1)),
|
|
48
|
+
}));
|
|
52
49
|
|
|
53
50
|
const out = await Promise.all(
|
|
54
|
-
list.map(
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
51
|
+
list.map((info) =>
|
|
52
|
+
cache.tryGet(info.link, async () => {
|
|
53
|
+
const response = await got.get(info.link);
|
|
54
|
+
const $ = load(response.data);
|
|
55
|
+
info.description = $('.article-box').html() || $('.content_text').html() || '文章已被删除';
|
|
58
56
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
const response = await got.get(itemUrl);
|
|
65
|
-
const $ = load(response.data);
|
|
66
|
-
let description = $('.article-box').html();
|
|
67
|
-
description = description ? description.replaceAll('src="', `src="${url.resolve(itemUrl, '.')}`).trim() : $('.content_text').html() || '文章已被删除';
|
|
68
|
-
|
|
69
|
-
const single = {
|
|
70
|
-
title,
|
|
71
|
-
link: itemUrl,
|
|
72
|
-
description,
|
|
73
|
-
pubDate: new Date(date).toUTCString(),
|
|
74
|
-
};
|
|
75
|
-
cache.set(itemUrl, JSON.stringify(single));
|
|
76
|
-
return single;
|
|
77
|
-
})
|
|
57
|
+
return info;
|
|
58
|
+
})
|
|
59
|
+
)
|
|
78
60
|
);
|
|
79
61
|
|
|
80
62
|
return {
|
package/lib/routes/163/ds.ts
CHANGED
|
@@ -135,7 +135,7 @@ async function handler(ctx) {
|
|
|
135
135
|
const $ = load(iconv.decode(response.data, 'gbk'));
|
|
136
136
|
|
|
137
137
|
const list = $('div.tabContents')
|
|
138
|
-
.eq(timeRange[time].index + (category === 'whole' ? (type === 'click' ? -1 : 2) : type === 'click' ? 0 : 2))
|
|
138
|
+
.eq(timeRange[time].index + (category === 'whole' ? (type === 'click' ? -1 : 2) : (type === 'click' ? 0 : 2)))
|
|
139
139
|
.find('table tbody tr td a')
|
|
140
140
|
.toArray()
|
|
141
141
|
.map((item) => {
|
package/lib/routes/163/utils.ts
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { getCurrentPath } from '@/utils/helpers';
|
|
2
|
-
const __dirname = getCurrentPath(import.meta.url);
|
|
3
|
-
|
|
4
1
|
import got from '@/utils/got';
|
|
5
2
|
import { load } from 'cheerio';
|
|
6
3
|
import { art } from '@/utils/render';
|
|
@@ -24,9 +21,9 @@ const parseDyArticle = (item, tryGet) =>
|
|
|
24
21
|
}
|
|
25
22
|
});
|
|
26
23
|
|
|
27
|
-
const
|
|
24
|
+
const imgsrc = item.imgsrc ? new URL(item.imgsrc).searchParams.get('url') : false;
|
|
28
25
|
item.description = art(path.join(__dirname, 'templates/dy.art'), {
|
|
29
|
-
imgsrc
|
|
26
|
+
imgsrc,
|
|
30
27
|
postBody: $('.post_body').html(),
|
|
31
28
|
});
|
|
32
29
|
|