rsshub 1.0.0-master.f0cf4da → 1.0.0-master.f0ea62c
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 +1 -6
- package/lib/config.ts +14 -1
- package/lib/registry.ts +41 -5
- package/lib/routes/005/index.ts +3 -3
- package/lib/routes/0818tuan/index.ts +2 -2
- package/lib/routes/10jqka/realtimenews.ts +2 -2
- package/lib/routes/12306/zxdt.ts +15 -33
- package/lib/routes/12371/zxfb.ts +2 -2
- package/lib/routes/163/exclusive.ts +17 -17
- package/lib/routes/163/news/rank.ts +4 -4
- package/lib/routes/163/news/special.ts +2 -2
- package/lib/routes/163/renjian.ts +2 -2
- package/lib/routes/163/utils.ts +2 -2
- package/lib/routes/18comic/blogs.ts +3 -3
- package/lib/routes/18comic/index.ts +11 -11
- package/lib/routes/19lou/index.ts +11 -11
- package/lib/routes/1point3acres/blog.ts +2 -2
- package/lib/routes/1point3acres/category.ts +6 -6
- package/lib/routes/1point3acres/section.ts +16 -16
- package/lib/routes/1point3acres/thread.ts +6 -6
- package/lib/routes/2023game/index.ts +3 -3
- package/lib/routes/2048/index.ts +65 -55
- package/lib/routes/21caijing/channel.ts +1 -1
- package/lib/routes/36kr/hot-list.ts +2 -2
- package/lib/routes/36kr/index.ts +2 -2
- package/lib/routes/3dmgame/news-center.ts +2 -2
- package/lib/routes/3kns/index.ts +15 -15
- package/lib/routes/423down/index.ts +18 -18
- 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/4kup/article.ts +29 -0
- package/lib/routes/4kup/category.ts +47 -0
- package/lib/routes/4kup/const.ts +4 -0
- package/lib/routes/4kup/latest.ts +41 -0
- package/lib/routes/4kup/namespace.ts +8 -0
- package/lib/routes/4kup/popular.ts +81 -0
- package/lib/routes/4kup/tag.ts +47 -0
- package/lib/routes/4kup/types.ts +12 -0
- package/lib/routes/56kog/class.ts +5 -5
- package/lib/routes/56kog/top.ts +2 -2
- package/lib/routes/6park/index.ts +10 -5
- package/lib/routes/6park/news.ts +11 -2
- package/lib/routes/78dm/index.ts +65 -65
- package/lib/routes/7mmtv/index.ts +12 -12
- package/lib/routes/8264/list.ts +37 -37
- package/lib/routes/91porn/index.ts +2 -2
- package/lib/routes/95mm/category.ts +2 -2
- package/lib/routes/95mm/tab.ts +1 -1
- package/lib/routes/a9vg/index.ts +11 -11
- package/lib/routes/aamacau/index.ts +2 -2
- package/lib/routes/accessbriefing/index.ts +19 -19
- package/lib/routes/acfun/article.ts +8 -8
- package/lib/routes/afdian/explore.ts +6 -6
- package/lib/routes/agirls/z-index.ts +2 -2
- package/lib/routes/agora0/index.ts +2 -2
- package/lib/routes/agri/index.ts +52 -52
- package/lib/routes/aibase/discover.ts +74 -74
- package/lib/routes/aibase/topic.ts +24 -24
- package/lib/routes/aiea/index.ts +4 -4
- package/lib/routes/aijishu/index.ts +4 -4
- package/lib/routes/aip/journal-pupp.ts +1 -1
- package/lib/routes/aisixiang/thinktank.ts +1 -1
- package/lib/routes/aisixiang/toplist.ts +2 -2
- package/lib/routes/ali213/news.ts +1 -1
- package/lib/routes/aliresearch/information.ts +1 -1
- package/lib/routes/alistapart/topic.ts +40 -40
- package/lib/routes/aliyun/notice.ts +6 -6
- package/lib/routes/alternativeto/utils.ts +1 -1
- package/lib/routes/anquanke/category.ts +2 -2
- package/lib/routes/anthropic/news.ts +28 -13
- package/lib/routes/apkpure/versions.ts +1 -1
- package/lib/routes/apnews/topics.ts +11 -12
- package/lib/routes/appleinsider/index.ts +2 -2
- package/lib/routes/appstore/price.ts +0 -1
- package/lib/routes/aqara/post.ts +1 -1
- package/lib/routes/aqicn/aqi.ts +1 -0
- package/lib/routes/arcteryx/new-arrivals.ts +6 -6
- package/lib/routes/arcteryx/outlet.ts +6 -6
- package/lib/routes/asiafruitchina/categories.ts +685 -0
- package/lib/routes/asiafruitchina/namespace.ts +9 -0
- package/lib/routes/asiafruitchina/templates/description.art +17 -0
- package/lib/routes/asianfanfics/namespace.ts +7 -0
- package/lib/routes/asianfanfics/tag.ts +89 -0
- package/lib/routes/asianfanfics/text-search.ts +68 -0
- package/lib/routes/asus/bios.ts +1 -3
- package/lib/routes/atcoder/contest.ts +12 -12
- package/lib/routes/auto-stats/index.ts +2 -2
- package/lib/routes/baidu/tieba/search.ts +5 -5
- package/lib/routes/baidu/top.ts +2 -2
- package/lib/routes/bdys/index.ts +41 -41
- package/lib/routes/beijingprice/index.ts +8 -8
- package/lib/routes/bendibao/news.ts +5 -5
- package/lib/routes/bilibili/cache.ts +4 -4
- package/lib/routes/bilibili/danmaku.ts +1 -1
- package/lib/routes/bilibili/dynamic.ts +14 -1
- package/lib/routes/bilibili/live-room.ts +14 -12
- package/lib/routes/bilibili/mall-new.ts +2 -2
- package/lib/routes/bilibili/partion.ts +57 -57
- package/lib/routes/bilibili/ranking.ts +12 -3
- package/lib/routes/bilibili/user-collection.ts +4 -3
- package/lib/routes/bilibili/utils.ts +4 -0
- package/lib/routes/bilibili/video.ts +9 -1
- package/lib/routes/bilibili/vsearch.ts +3 -3
- package/lib/routes/bjfu/it/index.ts +2 -2
- package/lib/routes/bjfu/jwc/index.ts +2 -2
- package/lib/routes/bjfu/news/index.ts +2 -2
- package/lib/routes/bjsk/keti.ts +2 -2
- package/lib/routes/bjtu/gs.ts +18 -18
- package/lib/routes/bjwxdxh/index.ts +2 -2
- package/lib/routes/bjx/fd.ts +1 -1
- package/lib/routes/bjx/types.ts +3 -3
- package/lib/routes/blizzard/news.ts +34 -34
- package/lib/routes/blockworks/index.ts +128 -0
- package/lib/routes/blockworks/namespace.ts +7 -0
- package/lib/routes/bloomberg/index.ts +14 -14
- package/lib/routes/bnu/bs.ts +2 -2
- package/lib/routes/bnu/fe.ts +1 -0
- package/lib/routes/bnu/jwb.ts +1 -0
- package/lib/routes/bnu/mba.ts +20 -20
- package/lib/routes/boc/whpj.ts +2 -2
- package/lib/routes/bookfere/category.ts +2 -2
- package/lib/routes/bossdesign/index.ts +2 -2
- package/lib/routes/bse/index.ts +14 -14
- package/lib/routes/bsky/feeds.ts +72 -0
- package/lib/routes/bsky/utils.ts +34 -1
- package/lib/routes/btzj/index.ts +12 -12
- package/lib/routes/buaa/news/index.ts +2 -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/byau/xinwen/index.ts +2 -2
- package/lib/routes/cahkms/index.ts +5 -5
- package/lib/routes/caixin/category.ts +9 -9
- package/lib/routes/camchina/index.ts +2 -2
- package/lib/routes/cankaoxiaoxi/index.ts +20 -20
- package/lib/routes/cas/cg/index.ts +2 -2
- package/lib/routes/casssp/news.ts +2 -2
- package/lib/routes/cast/index.ts +9 -9
- package/lib/routes/catti/news.ts +2 -2
- package/lib/routes/caus/index.ts +2 -2
- package/lib/routes/cbpanet/index.ts +36 -36
- package/lib/routes/ccac/news.ts +3 -3
- package/lib/routes/cccmc/index.ts +263 -0
- package/lib/routes/cccmc/namespace.ts +9 -0
- package/lib/routes/ccf/ccfcv/index.ts +2 -2
- package/lib/routes/ccf/news.ts +2 -2
- package/lib/routes/ccfa/index.ts +18 -18
- package/lib/routes/cctv/category.ts +2 -2
- package/lib/routes/cctv/lm.ts +5 -5
- package/lib/routes/cde/index.ts +9 -9
- package/lib/routes/cde/xxgk.ts +2 -2
- package/lib/routes/cde/zdyz.ts +2 -2
- package/lib/routes/cdi/index.ts +2 -2
- package/lib/routes/ce/district.ts +91 -0
- package/lib/routes/ce/namespace.ts +8 -0
- package/lib/routes/cebbank/history.ts +3 -3
- package/lib/routes/cfachina/analygarden.ts +2 -2
- package/lib/routes/chaping/news.ts +9 -9
- package/lib/routes/cherrytimes/market.ts +35 -0
- package/lib/routes/cherrytimes/namespace.ts +6 -0
- package/lib/routes/chiculture/topic.ts +2 -2
- package/lib/routes/chikubi/navigation.ts +2 -2
- package/lib/routes/china/finance/finance.ts +2 -2
- package/lib/routes/china/news/highlights/news.ts +3 -3
- package/lib/routes/chinacdc/index.ts +1 -1
- package/lib/routes/chinadegrees/province.ts +33 -33
- package/lib/routes/chinaisa/index.ts +134 -134
- package/lib/routes/chinamoney/notice.ts +17 -17
- package/lib/routes/chinania/index.ts +31 -31
- package/lib/routes/chinathinktanks/viewpoint.ts +46 -46
- package/lib/routes/chinaventure/index.ts +2 -2
- package/lib/routes/chsi/kyzx.ts +6 -6
- package/lib/routes/cib/whpj.ts +2 -2
- package/lib/routes/ciidbnu/index.ts +2 -2
- package/lib/routes/cisia/index.ts +31 -31
- package/lib/routes/cjlu/yjsy/index.ts +2 -2
- package/lib/routes/cls/depth.ts +2 -2
- package/lib/routes/cls/telegraph.ts +2 -2
- package/lib/routes/cma/channel.ts +20 -20
- package/lib/routes/cmu/andypavlo/blog.ts +55 -0
- package/lib/routes/cmu/namespace.ts +7 -0
- package/lib/routes/cna/index.ts +2 -2
- package/lib/routes/cnbeta/category.ts +2 -2
- package/lib/routes/cnblogs/common.ts +0 -1
- package/lib/routes/cncf/index.ts +2 -2
- package/lib/routes/cneb/yjxw.ts +2 -2
- package/lib/routes/cngal/weekly.ts +1 -2
- package/lib/routes/cngold/index.ts +22 -22
- package/lib/routes/cntv/column.ts +3 -3
- 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/consumer/index.ts +6 -6
- package/lib/routes/consumer/shopping-guide.ts +2 -2
- package/lib/routes/coolapk/hot.ts +5 -5
- package/lib/routes/coolapk/toutiao.ts +2 -2
- package/lib/routes/coolapk/tuwen.ts +2 -2
- package/lib/routes/coomer/index.ts +157 -0
- package/lib/routes/coomer/templates/source.art +24 -0
- package/lib/routes/cosplaytele/article.ts +13 -0
- package/lib/routes/cosplaytele/category.ts +47 -0
- package/lib/routes/cosplaytele/const.ts +4 -0
- package/lib/routes/cosplaytele/latest.ts +41 -0
- package/lib/routes/cosplaytele/namespace.ts +8 -0
- package/lib/routes/cosplaytele/popular.ts +75 -0
- package/lib/routes/cosplaytele/tag.ts +47 -0
- package/lib/routes/cosplaytele/types.ts +12 -0
- package/lib/routes/counter-strike/news.ts +3 -3
- package/lib/routes/cpcaauto/index.ts +23 -23
- package/lib/routes/cpcey/index.ts +2 -2
- package/lib/routes/cpta/handler.ts +136 -0
- package/lib/routes/cpta/namespace.ts +6 -0
- package/lib/routes/cqwu/index.ts +2 -2
- package/lib/routes/crac/index.ts +2 -2
- package/lib/routes/cryptoslate/index.ts +98 -0
- package/lib/routes/cryptoslate/namespace.ts +7 -0
- package/lib/routes/cs/index.ts +30 -30
- package/lib/routes/cs/video.ts +1 -1
- package/lib/routes/cste/index.ts +2 -2
- package/lib/routes/csu/cse.ts +2 -2
- package/lib/routes/csu/mail.ts +2 -2
- package/lib/routes/cts/news.ts +2 -2
- package/lib/routes/cuilingmag/index.ts +8 -9
- package/lib/routes/cursor/changelog.ts +94 -51
- package/lib/routes/cw/master.ts +14 -14
- package/lib/routes/cyzone/index.ts +8 -8
- package/lib/routes/dahecube/index.ts +2 -2
- package/lib/routes/dangdang/notice.ts +4 -4
- package/lib/routes/dataguidance/index.ts +2 -2
- package/lib/routes/dayanzai/index.ts +2 -2
- package/lib/routes/dcfever/news.ts +2 -2
- package/lib/routes/dcfever/reviews.ts +2 -2
- package/lib/routes/dcfever/trading.ts +3 -3
- 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 +5 -5
- package/lib/routes/dedao/user.ts +2 -2
- package/lib/routes/deeplearning/the-batch.ts +24 -24
- package/lib/routes/deepseek/news.ts +2 -2
- package/lib/routes/dehenglaw/index.ts +3 -3
- package/lib/routes/dewu/declaration.ts +5 -5
- package/lib/routes/dhu/jiaowu/news.ts +2 -2
- package/lib/routes/dhu/yjs/news.ts +2 -2
- package/lib/routes/dhu/yjs/zs.ts +2 -2
- package/lib/routes/diandong/news.ts +3 -3
- package/lib/routes/discuz/discuz.ts +7 -9
- package/lib/routes/dlsite/new.ts +2 -2
- package/lib/routes/dmzj/news.ts +2 -2
- package/lib/routes/dn/news.ts +12 -12
- package/lib/routes/docschina/weekly.ts +2 -2
- package/lib/routes/dongqiudi/special.ts +2 -2
- package/lib/routes/dongqiudi/top-news.ts +2 -2
- package/lib/routes/douban/book/latest.ts +2 -2
- package/lib/routes/douban/book/rank.ts +2 -2
- package/lib/routes/douban/channel/subject.ts +2 -2
- package/lib/routes/douban/channel/topic.ts +2 -2
- package/lib/routes/douban/other/jobs.ts +2 -2
- package/lib/routes/douban/other/latest-music.ts +2 -2
- package/lib/routes/douban/other/list.ts +24 -24
- package/lib/routes/douban/other/recommended.ts +3 -3
- package/lib/routes/douban/other/weekly-best.ts +2 -2
- package/lib/routes/douban/people/status.ts +15 -15
- package/lib/routes/douban/people/wish.ts +3 -3
- 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/douyu/group.ts +2 -2
- package/lib/routes/dtcj/datahero.ts +2 -2
- package/lib/routes/dtcj/datainsight.ts +2 -2
- package/lib/routes/dx2025/index.ts +17 -17
- package/lib/routes/dytt/index.ts +299 -56
- package/lib/routes/dytt/namespace.ts +1 -1
- package/lib/routes/e-hentai/index.ts +1 -1
- package/lib/routes/eagle/changelog.ts +3 -3
- package/lib/routes/earthquake/ceic.ts +8 -8
- package/lib/routes/eastday/24.ts +5 -5
- package/lib/routes/eastmoney/report/index.ts +2 -2
- package/lib/routes/ebc/namespace.ts +6 -0
- package/lib/routes/ebc/realtime.ts +94 -0
- package/lib/routes/ecust/jwc/notice.ts +2 -2
- package/lib/routes/ehentai/favorites.ts +7 -2
- package/lib/routes/ehentai/search.ts +2 -2
- package/lib/routes/ehentai/tag.ts +2 -2
- package/lib/routes/ekantipur/issue.ts +3 -3
- package/lib/routes/eleduck/posts.ts +17 -17
- package/lib/routes/epicgames/index.ts +2 -2
- package/lib/routes/eprice/rss.ts +3 -3
- package/lib/routes/espn/news.ts +1 -1
- package/lib/routes/famitsu/category.ts +2 -2
- package/lib/routes/fanbox/types.ts +0 -4
- package/lib/routes/fangchan/list.ts +224 -0
- package/lib/routes/fangchan/namespace.ts +9 -0
- package/lib/routes/fangchan/templates/description.art +7 -0
- package/lib/routes/fantia/search.ts +36 -36
- package/lib/routes/fashionnetwork/index.ts +10 -10
- package/lib/routes/feng/forum.ts +2 -2
- package/lib/routes/ff14/ff14-global.ts +5 -5
- package/lib/routes/ff14/ff14-zh.ts +2 -2
- package/lib/routes/finology/category.ts +17 -17
- package/lib/routes/finology/tag.ts +30 -30
- package/lib/routes/finviz/news.ts +2 -2
- package/lib/routes/fjksbm/index.ts +2 -2
- package/lib/routes/flyert/creditcard.ts +20 -20
- package/lib/routes/focustaiwan/index.ts +5 -5
- package/lib/routes/follow/profile.ts +1 -1
- package/lib/routes/followin/index.ts +6 -6
- package/lib/routes/followin/news.ts +1 -1
- package/lib/routes/foreignaffairs/namespace.ts +7 -0
- package/lib/routes/foreignaffairs/rss.ts +55 -0
- package/lib/routes/foresightnews/util.ts +1 -1
- package/lib/routes/forklog/index.ts +72 -0
- package/lib/routes/forklog/namespace.ts +7 -0
- package/lib/routes/fortnite/news.ts +4 -4
- package/lib/routes/fortunechina/index.ts +2 -2
- package/lib/routes/fx-markets/channel.ts +2 -2
- package/lib/routes/fxiaoke/crm.ts +2 -2
- package/lib/routes/gameapps/index.ts +1 -1
- package/lib/routes/gamebase/news.ts +147 -64
- package/lib/routes/gamebase/templates/description.art +21 -0
- package/lib/routes/gamer520/index.ts +3 -3
- package/lib/routes/gamersecret/index.ts +14 -14
- package/lib/routes/gcores/articles.ts +53 -0
- package/lib/routes/gcores/categories.ts +129 -0
- package/lib/routes/gcores/collections.ts +129 -0
- package/lib/routes/gcores/namespace.ts +1 -0
- package/lib/routes/gcores/news.ts +53 -0
- package/lib/routes/gcores/parser.ts +284 -0
- package/lib/routes/gcores/tags.ts +129 -0
- package/lib/routes/gcores/templates/description.art +67 -0
- package/lib/routes/gcores/topics.ts +63 -0
- package/lib/routes/gcores/util.ts +176 -0
- package/lib/routes/gcores/videos.ts +52 -0
- package/lib/routes/gdsrx/index.ts +8 -8
- package/lib/routes/geekpark/index.ts +10 -10
- 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 +43 -0
- package/lib/routes/gelonghui/home.ts +2 -2
- package/lib/routes/geocaching/blogs.ts +83 -22
- package/lib/routes/gf-cn/news.ts +2 -2
- package/lib/routes/github/search.ts +5 -5
- package/lib/routes/github/topic.ts +4 -4
- package/lib/routes/google/fonts.ts +2 -2
- package/lib/routes/gov/ah/kjt.ts +18 -18
- package/lib/routes/gov/beijing/bphc/index.ts +1 -1
- package/lib/routes/gov/caac/cjwt.ts +1 -1
- package/lib/routes/gov/cbirc/index.ts +41 -41
- package/lib/routes/gov/ccdi/index.ts +1 -1
- package/lib/routes/gov/chongqing/gzw.ts +2 -2
- package/lib/routes/gov/csrc/csrc.ts +101 -101
- package/lib/routes/gov/customs/list.ts +1 -1
- package/lib/routes/gov/forestry/gjlckjdjt.ts +7 -7
- package/lib/routes/gov/general/general.ts +1 -1
- package/lib/routes/gov/hebei/czt.ts +2 -2
- package/lib/routes/gov/lswz/index.ts +32 -32
- package/lib/routes/gov/maonan/maonan.ts +2 -2
- package/lib/routes/gov/mem/sgcc.ts +2 -2
- package/lib/routes/gov/mfa/wjdt.ts +10 -10
- package/lib/routes/gov/moa/gjs.ts +210 -0
- package/lib/routes/gov/moa/zdscxx.ts +2 -2
- package/lib/routes/gov/moe/moe.ts +2 -2
- package/lib/routes/gov/mof/bond.ts +3 -3
- package/lib/routes/gov/moj/aac/news.ts +2 -2
- package/lib/routes/gov/npc/index.ts +2 -2
- package/lib/routes/gov/nrta/dsj.ts +2 -2
- package/lib/routes/gov/nrta/news.ts +2 -2
- package/lib/routes/gov/pbc/goutongjiaoliu.ts +1 -1
- package/lib/routes/gov/pbc/namespace.ts +28 -28
- package/lib/routes/gov/pbc/trade-announcement.ts +1 -1
- package/lib/routes/gov/samr/xgzlyhd.ts +91 -91
- package/lib/routes/gov/sh/fgw/index.ts +3 -3
- package/lib/routes/gov/shaanxi/kjt.ts +2 -2
- package/lib/routes/gov/shenzhen/hrss/szksy/index.ts +2 -2
- package/lib/routes/gov/shenzhen/xxgk/zfxxgj.ts +2 -2
- package/lib/routes/gov/shenzhen/zjj/index.ts +2 -2
- package/lib/routes/gov/shenzhen/zzb/index.ts +2 -2
- package/lib/routes/gov/sichuan/deyang/govpublicinfo.ts +2 -2
- package/lib/routes/gov/sichuan/deyang/mztoday.ts +2 -2
- package/lib/routes/gov/suzhou/news.ts +15 -15
- package/lib/routes/gov/taiyuan/rsj.ts +2 -2
- package/lib/routes/gov/tianjin/tjftz.ts +53 -0
- package/lib/routes/gov/tianjin/tjrcgzw.ts +51 -0
- package/lib/routes/gov/xuzhou/hrss.ts +2 -2
- package/lib/routes/gov/zhejiang/gwy.ts +22 -22
- package/lib/routes/gov/zhengce/govall.ts +9 -9
- package/lib/routes/grainoil/category.ts +207 -0
- package/lib/routes/grainoil/namespace.ts +9 -0
- package/lib/routes/grist/topic.ts +43 -43
- package/lib/routes/guancha/index.ts +2 -2
- package/lib/routes/guancha/member.ts +2 -2
- package/lib/routes/guokr/channel.ts +2 -2
- package/lib/routes/gzdaily/app.ts +7 -7
- package/lib/routes/hacking8/index.ts +2 -2
- package/lib/routes/hafu/news.ts +2 -2
- package/lib/routes/hafu/utils.ts +3 -3
- package/lib/routes/hakkatv/type.ts +2 -2
- package/lib/routes/hbr/topic.ts +2 -2
- package/lib/routes/hellobtc/kepu.ts +2 -2
- package/lib/routes/hellogithub/article.ts +2 -2
- package/lib/routes/hellogithub/index.ts +2 -2
- package/lib/routes/hellogithub/report.ts +3 -3
- package/lib/routes/hfut/hf/notice.ts +2 -2
- package/lib/routes/hfut/xc/notice.ts +2 -2
- package/lib/routes/hinatazaka46/blog.ts +35 -35
- package/lib/routes/hitcon/zeroday.ts +3 -3
- package/lib/routes/hitsz/article.ts +2 -2
- package/lib/routes/hizu/index.ts +25 -25
- package/lib/routes/hkej/index.ts +2 -2
- package/lib/routes/hkepc/index.ts +2 -2
- package/lib/routes/hket/index.ts +3 -3
- package/lib/routes/hljucm/yjsy.ts +2 -2
- package/lib/routes/hnrb/index.ts +11 -11
- package/lib/routes/hongkong/dh.ts +3 -3
- package/lib/routes/hostmonit/cloudflareyes.ts +3 -3
- package/lib/routes/hottoys/index.ts +2 -2
- package/lib/routes/hoyolab/news.ts +21 -21
- package/lib/routes/hrbeu/job/calendar.ts +2 -2
- package/lib/routes/hrbeu/job/list.ts +2 -2
- package/lib/routes/hrbeu/uae/news.ts +2 -2
- package/lib/routes/hrbeu/ugs/news.ts +21 -21
- package/lib/routes/hrbeu/yjsy/list.ts +2 -2
- package/lib/routes/hrbust/cs.ts +100 -0
- package/lib/routes/hrbust/gzc.ts +97 -0
- package/lib/routes/hrbust/jwzx.ts +14 -14
- package/lib/routes/hrbust/lib.ts +97 -0
- package/lib/routes/hrbust/news.ts +38 -18
- package/lib/routes/hrbust/nic.ts +97 -0
- package/lib/routes/huanqiu/index.ts +2 -2
- package/lib/routes/hubu/index.ts +3 -3
- package/lib/routes/hubu/zhxy.ts +19 -19
- package/lib/routes/hunau/gfxy/index.ts +2 -2
- package/lib/routes/hunau/ied.ts +3 -3
- package/lib/routes/hunau/jwc.ts +2 -2
- package/lib/routes/hunau/xky/index.ts +2 -2
- package/lib/routes/hupu/index.ts +2 -2
- package/lib/routes/hust/aia/notice.ts +2 -2
- package/lib/routes/hust/gs.ts +31 -31
- package/lib/routes/hust/mse.ts +66 -66
- package/lib/routes/huxiu/channel.ts +8 -8
- package/lib/routes/huxiu/member.ts +2 -2
- package/lib/routes/huxiu/util.ts +11 -9
- package/lib/routes/hypergryph/arknights/announce.ts +7 -7
- package/lib/routes/hypergryph/arknights/news.ts +3 -3
- package/lib/routes/ianspriggs/index.ts +2 -2
- package/lib/routes/icbc/whpj.ts +2 -2
- package/lib/routes/idaily/index.ts +2 -2
- package/lib/routes/iehou/index.ts +3 -3
- 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/feng.ts +2 -2
- package/lib/routes/imdb/chart.ts +2 -2
- package/lib/routes/indienova/column.ts +20 -20
- package/lib/routes/inewsweek/index.ts +3 -3
- package/lib/routes/infzm/index.ts +3 -3
- package/lib/routes/instructables/projects.ts +22 -17
- package/lib/routes/investor/index.ts +16 -16
- package/lib/routes/iplaysoft/category.ts +49 -0
- package/lib/routes/iplaysoft/index.ts +27 -50
- 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/iqiyi/video.ts +1 -1
- package/lib/routes/iresearch/weekly.ts +1 -1
- package/lib/routes/ithome/index.ts +2 -2
- package/lib/routes/ithome/ranking.ts +2 -2
- package/lib/routes/ithome/tw/feeds.ts +2 -2
- package/lib/routes/japanpost/utils.ts +2 -2
- package/lib/routes/javdb/actors.ts +2 -2
- package/lib/routes/javdb/index.ts +9 -9
- package/lib/routes/javdb/makers.ts +2 -2
- package/lib/routes/javdb/rankings.ts +6 -6
- package/lib/routes/javdb/search.ts +6 -6
- package/lib/routes/javdb/series.ts +2 -2
- package/lib/routes/javdb/tags.ts +3 -3
- package/lib/routes/javdb/videocodes.ts +2 -2
- package/lib/routes/javlibrary/bestrated.ts +2 -2
- package/lib/routes/javlibrary/bestreviews.ts +2 -2
- package/lib/routes/javlibrary/genre.ts +2 -2
- package/lib/routes/javlibrary/maker.ts +2 -2
- package/lib/routes/javlibrary/mostwanted.ts +2 -2
- package/lib/routes/javlibrary/newrelease.ts +2 -2
- package/lib/routes/javlibrary/star.ts +2 -2
- package/lib/routes/javlibrary/user.ts +2 -2
- package/lib/routes/jinritemai/docs.ts +6 -6
- package/lib/routes/jinse/catalogue.ts +5 -5
- package/lib/routes/jinse/lives.ts +2 -2
- package/lib/routes/jinse/timeline.ts +3 -3
- package/lib/routes/joins/chinese.ts +15 -15
- package/lib/routes/jornada/index.ts +13 -13
- 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/jsu/jwc.ts +2 -2
- package/lib/routes/juejin/books.ts +5 -7
- package/lib/routes/juejin/category.ts +19 -19
- package/lib/routes/juejin/collection.ts +6 -14
- package/lib/routes/juejin/{favorites.ts → collections.ts} +17 -25
- package/lib/routes/juejin/column.ts +13 -18
- package/lib/routes/juejin/dynamic.ts +19 -9
- package/lib/routes/juejin/pins.ts +7 -8
- package/lib/routes/juejin/posts.ts +19 -12
- package/lib/routes/juejin/tag.ts +11 -21
- package/lib/routes/juejin/trending.ts +28 -32
- package/lib/routes/juejin/types.ts +232 -0
- package/lib/routes/juejin/utils.ts +144 -45
- package/lib/routes/jump/discount.ts +14 -14
- package/lib/routes/kamen-rider-official/news.ts +31 -31
- package/lib/routes/kanxue/topic.ts +21 -21
- package/lib/routes/kaopu/news.ts +2 -2
- package/lib/routes/kbs/news.ts +2 -2
- package/lib/routes/kbs/today.ts +2 -2
- package/lib/routes/kcna/news.ts +13 -13
- package/lib/routes/kemono/index.ts +6 -5
- package/lib/routes/komiic/comic.ts +88 -0
- package/lib/routes/komiic/namespace.ts +7 -0
- package/lib/routes/konachan/post.ts +2 -2
- package/lib/routes/kpopping/namespace.ts +9 -0
- package/lib/routes/kpopping/news.ts +197 -0
- package/lib/routes/kpopping/templates/description.art +17 -0
- package/lib/routes/landiannews/category.ts +48 -0
- package/lib/routes/landiannews/index.ts +44 -0
- package/lib/routes/landiannews/namespace.ts +9 -0
- package/lib/routes/landiannews/tag.ts +48 -0
- package/lib/routes/landiannews/utils.ts +34 -0
- package/lib/routes/latepost/index.ts +3 -3
- package/lib/routes/leagueoflegends/namespace.ts +8 -0
- package/lib/routes/leagueoflegends/patch-notes.ts +76 -0
- package/lib/routes/learnblockchain/posts.ts +17 -17
- package/lib/routes/likeshop/index.ts +43 -0
- package/lib/routes/likeshop/namespace.ts +7 -0
- package/lib/routes/line/today.ts +3 -3
- package/lib/routes/linkedin/cn/index.ts +7 -7
- package/lib/routes/linkedin/jobs.ts +14 -14
- package/lib/routes/lofter/tag.ts +2 -2
- package/lib/routes/logclub/report.ts +2 -2
- package/lib/routes/loltw/news.ts +2 -2
- package/lib/routes/loongarch/post.ts +1 -0
- package/lib/routes/lovelive-anime/news.ts +5 -5
- package/lib/routes/lovelive-anime/topics.ts +5 -5
- package/lib/routes/lrepacks/index.ts +11 -11
- package/lib/routes/lsnu/jiaowc/tzgg.ts +2 -2
- package/lib/routes/ltaaa/article.ts +180 -0
- package/lib/routes/ltaaa/namespace.ts +9 -0
- package/lib/routes/ltaaa/templates/description.art +7 -0
- package/lib/routes/lvv2/news.ts +5 -5
- package/lib/routes/lvv2/top.ts +5 -5
- package/lib/routes/malaysiakini/index.ts +8 -8
- package/lib/routes/mashiro/index.ts +62 -0
- package/lib/routes/mashiro/namespace.ts +11 -0
- package/lib/routes/matters/latest.ts +2 -2
- package/lib/routes/mckinsey/cn/index.ts +19 -19
- package/lib/routes/medsci/index.ts +27 -27
- package/lib/routes/meishichina/index.ts +189 -189
- package/lib/routes/meituan/tech.ts +31 -37
- package/lib/routes/meteor/index.ts +1 -1
- package/lib/routes/mihoyo/bbs/img-ranking.ts +20 -20
- package/lib/routes/mihoyo/bbs/official.ts +6 -6
- package/lib/routes/mihoyo/sr/news.ts +3 -3
- package/lib/routes/mihoyo/ys/news.ts +3 -3
- package/lib/routes/mindmeister/example.ts +27 -27
- package/lib/routes/missav/namespace.ts +2 -2
- package/lib/routes/missav/new.ts +19 -12
- package/lib/routes/misskey/home-timeline.ts +99 -0
- package/lib/routes/misskey/user-timeline.ts +11 -9
- package/lib/routes/misskey/utils.ts +6 -6
- package/lib/routes/mittrchina/index.ts +5 -5
- package/lib/routes/miui/firmware/index.ts +6 -6
- package/lib/routes/mixcloud/index.ts +2 -2
- package/lib/routes/modian/zhongchou.ts +18 -18
- package/lib/routes/mrm/index.ts +2 -2
- package/lib/routes/mwm/index.ts +2 -2
- package/lib/routes/mydrivers/rank.ts +2 -2
- package/lib/routes/myfigurecollection/activity.ts +19 -19
- package/lib/routes/myfigurecollection/index.ts +2 -2
- package/lib/routes/mygopen/index.ts +1 -1
- package/lib/routes/mysql/release.ts +1 -1
- package/lib/routes/nature/research.ts +10 -10
- package/lib/routes/nautiljon/manga-releases.ts +72 -0
- package/lib/routes/nautiljon/namespace.ts +7 -0
- package/lib/routes/nbd/index.ts +2 -2
- package/lib/routes/ncc-cma/cmdp.ts +27 -27
- package/lib/routes/ncepu/master/masterinfo.ts +2 -2
- package/lib/routes/neea/jlpt.ts +91 -53
- package/lib/routes/neea/namespace.ts +1 -1
- package/lib/routes/neu/bmie.ts +16 -16
- package/lib/routes/neu/news.ts +16 -16
- package/lib/routes/newsmarket/index.ts +5 -5
- package/lib/routes/nextapple/realtime.ts +5 -5
- package/lib/routes/ngocn2/index.ts +2 -2
- package/lib/routes/nhentai/util.ts +4 -1
- package/lib/routes/nhk/news.ts +2 -2
- package/lib/routes/nikkei/news.ts +2 -2
- package/lib/routes/nippon/index.ts +2 -2
- package/lib/routes/njnu/ceai/ceai.ts +2 -2
- package/lib/routes/njnu/jwc/jwc.ts +2 -2
- package/lib/routes/nju/exchangesys.ts +2 -2
- package/lib/routes/nju/jw.ts +2 -2
- package/lib/routes/nju/rczp.ts +2 -2
- package/lib/routes/nju/scit.ts +2 -2
- package/lib/routes/nju/zbb.ts +2 -2
- package/lib/routes/njupt/jwc.ts +2 -2
- package/lib/routes/njust/cwc.ts +2 -2
- package/lib/routes/njust/dgxg.ts +2 -2
- package/lib/routes/njust/eo.ts +6 -6
- package/lib/routes/njust/eoe.ts +2 -2
- package/lib/routes/njust/gs.ts +2 -2
- package/lib/routes/njust/jwc.ts +2 -2
- package/lib/routes/njust/utils.ts +1 -1
- package/lib/routes/nlc/read.ts +3 -3
- package/lib/routes/nltimes/news.ts +2 -2
- package/lib/routes/nodejs/blog.ts +12 -12
- package/lib/routes/nogizaka46/blog.ts +42 -42
- package/lib/routes/nosec/index.ts +8 -8
- package/lib/routes/notefolio/search.ts +14 -14
- package/lib/routes/now/news.ts +9 -9
- package/lib/routes/nowcoder/discuss.ts +2 -2
- package/lib/routes/nowcoder/jobcenter.ts +6 -6
- package/lib/routes/nua/dc.ts +7 -7
- package/lib/routes/nua/gra.ts +4 -4
- package/lib/routes/nua/index.ts +3 -3
- package/lib/routes/nua/lib.ts +5 -5
- package/lib/routes/nua/sxw.ts +6 -6
- package/lib/routes/nuaa/college/cs.ts +2 -2
- package/lib/routes/nuaa/jwc/jwc.ts +2 -2
- package/lib/routes/nuaa/yjsy/yjsy.ts +2 -2
- package/lib/routes/nudt/yjszs.ts +2 -2
- package/lib/routes/nuist/bulletin.ts +5 -5
- package/lib/routes/nuist/cas.ts +2 -2
- package/lib/routes/nuist/jwc.ts +2 -2
- package/lib/routes/nuist/scs.ts +2 -2
- package/lib/routes/nuist/sese.ts +2 -2
- package/lib/routes/nwafu/all.ts +3 -3
- package/lib/routes/nytimes/index.ts +1 -1
- package/lib/routes/oceanengine/arithmetic-index.ts +1 -1
- package/lib/routes/odaily/post.ts +2 -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/money18.ts +3 -3
- package/lib/routes/oo-software/changelog.ts +5 -5
- package/lib/routes/openai/blog.ts +2 -2
- package/lib/routes/openrice/chart.ts +6 -6
- package/lib/routes/openrice/offers.ts +3 -3
- package/lib/routes/openrice/promos.ts +3 -3
- package/lib/routes/openrice/voting.ts +6 -6
- package/lib/routes/oreno3d/main.ts +2 -2
- package/lib/routes/oschina/column.ts +1 -1
- package/lib/routes/oschina/event.ts +243 -0
- package/lib/routes/oschina/news.ts +2 -2
- package/lib/routes/oschina/templates/description.art +14 -0
- package/lib/routes/ouc/it-tx.ts +2 -2
- package/lib/routes/ouc/it.ts +2 -2
- package/lib/routes/panewslab/profundity.ts +1 -1
- package/lib/routes/papers/category.ts +1222 -0
- package/lib/routes/papers/query.ts +4 -4
- package/lib/routes/papers/templates/description.art +9 -6
- package/lib/routes/parliament/section77.ts +3 -3
- 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 +1 -1
- package/lib/routes/patagonia/new-arrivals.ts +2 -2
- package/lib/routes/patreon/feed.ts +2 -2
- package/lib/routes/patreon/templates/description.art +2 -0
- package/lib/routes/patreon/types.ts +8 -12
- package/lib/routes/pencilnews/index.ts +70 -0
- package/lib/routes/pencilnews/namespace.ts +9 -0
- package/lib/routes/people/index.ts +2 -2
- package/lib/routes/people/liuyan.ts +2 -2
- package/lib/routes/peopo/topic.ts +18 -18
- package/lib/routes/picnob/user.ts +153 -106
- package/lib/routes/pincong/utils.ts +1 -1
- package/lib/routes/pingwest/tag.ts +3 -3
- package/lib/routes/pingwest/user.ts +3 -3
- package/lib/routes/pinterest/user.ts +9 -0
- package/lib/routes/pixiv/api/get-ranking.ts +1 -1
- package/lib/routes/pixiv/novel-api/content/utils.ts +1 -0
- package/lib/routes/pku/scc/recruit.ts +2 -2
- package/lib/routes/playno1/av.ts +3 -3
- package/lib/routes/playno1/st.ts +2 -2
- package/lib/routes/plurk/top.ts +5 -5
- package/lib/routes/pnas/index.ts +1 -1
- package/lib/routes/priconne-redive/news.ts +3 -3
- package/lib/routes/producthunt/templates/description.art +19 -0
- package/lib/routes/producthunt/today.ts +49 -22
- package/lib/routes/publico/ciencias.ts +55 -0
- package/lib/routes/publico/culturas.ts +55 -0
- package/lib/routes/publico/economia.ts +55 -0
- package/lib/routes/publico/internacional.ts +55 -0
- package/lib/routes/publico/items-processor.ts +20 -0
- package/lib/routes/publico/mujer.ts +55 -0
- package/lib/routes/publico/namespace.ts +6 -0
- package/lib/routes/publico/opinion.ts +55 -0
- package/lib/routes/publico/politica.ts +56 -0
- package/lib/routes/publico/public.ts +48 -0
- package/lib/routes/publico/sociedad.ts +55 -0
- package/lib/routes/publico/tremending.ts +48 -0
- package/lib/routes/qianzhan/column.ts +2 -2
- package/lib/routes/qianzhan/rank.ts +2 -2
- package/lib/routes/qiche365/recall.ts +2 -2
- package/lib/routes/qm120/news.ts +8 -8
- package/lib/routes/qoo-app/apps/comment.ts +2 -2
- package/lib/routes/qoo-app/news.ts +2 -2
- package/lib/routes/qq/ac/rank.ts +2 -2
- package/lib/routes/qq/cfhd/index.ts +7 -7
- package/lib/routes/qq88/index.ts +2 -2
- package/lib/routes/qqorw/index.ts +2 -2
- package/lib/routes/qstheory/magazine.ts +3 -3
- package/lib/routes/questmobile/report.ts +75 -75
- package/lib/routes/quicker/qa.ts +12 -12
- package/lib/routes/quicker/share.ts +5 -5
- package/lib/routes/quicker/user.ts +2 -2
- package/lib/routes/radio-canada/latest.ts +2 -2
- package/lib/routes/readhub/index.ts +2 -2
- package/lib/routes/rodong/news.ts +2 -2
- package/lib/routes/rsc/journal.ts +3 -3
- package/lib/routes/rsshub/transform/html.ts +7 -7
- package/lib/routes/rsshub/transform/json.ts +10 -10
- package/lib/routes/ruankao/news.ts +26 -10
- package/lib/routes/sakurazaka46/blog.ts +36 -36
- package/lib/routes/sara/index.ts +2 -2
- package/lib/routes/sass/gs/index.ts +2 -2
- package/lib/routes/science/blogs.ts +2 -2
- package/lib/routes/science/current.ts +7 -7
- package/lib/routes/sciencenet/blog.ts +9 -9
- package/lib/routes/scientificamerican/namespace.ts +9 -0
- package/lib/routes/scientificamerican/podcast.ts +270 -0
- package/lib/routes/scientificamerican/templates/description.art +31 -0
- package/lib/routes/sctv/programme.ts +47 -47
- package/lib/routes/scut/gzic/notice.ts +2 -2
- package/lib/routes/scut/jwc/notice.ts +2 -2
- package/lib/routes/scut/jwc/school.ts +2 -2
- package/lib/routes/scut/smae/notice.ts +2 -2
- package/lib/routes/sdu/cmse.ts +2 -2
- package/lib/routes/sdu/epe.ts +2 -2
- package/lib/routes/sdu/gjsw.ts +2 -2
- package/lib/routes/sdu/mech.ts +2 -2
- package/lib/routes/sdu/qd/xszxqd.ts +2 -2
- package/lib/routes/sdu/qd/xyb.ts +2 -2
- package/lib/routes/sdu/sc.ts +2 -2
- package/lib/routes/sdu/wh/jwc.ts +2 -2
- package/lib/routes/sdu/wh/news.ts +2 -2
- package/lib/routes/sdu/ygb.ts +2 -2
- package/lib/routes/sdust/yjsy/zhaosheng.ts +6 -6
- package/lib/routes/seekingalpha/index.ts +3 -3
- package/lib/routes/sehuatang/index.ts +7 -7
- package/lib/routes/sensortower/blog.ts +2 -2
- package/lib/routes/setn/index.ts +7 -7
- package/lib/routes/seu/cse/index.ts +2 -2
- package/lib/routes/seu/yzb/index.ts +2 -2
- package/lib/routes/shiep/index.ts +16 -16
- package/lib/routes/shisu/news.ts +2 -2
- package/lib/routes/shopify/apps/[handle].reviews.ts +1 -1
- package/lib/routes/shopify/apps/search.ts +6 -3
- package/lib/routes/shu/global.ts +2 -2
- package/lib/routes/shu/gs.ts +2 -2
- package/lib/routes/shu/index.ts +2 -2
- package/lib/routes/shu/jwb.ts +2 -2
- package/lib/routes/shu/xykd.ts +2 -2
- package/lib/routes/sicau/dky.ts +2 -2
- package/lib/routes/sicau/yan.ts +2 -2
- package/lib/routes/sicau/zsjy.ts +2 -2
- package/lib/routes/simpleinfo/index.ts +8 -8
- package/lib/routes/sina/discovery.ts +2 -2
- package/lib/routes/sina/finance/china.ts +2 -2
- package/lib/routes/sina/finance/stock/usstock.ts +2 -2
- package/lib/routes/sina/rollnews.ts +2 -2
- package/lib/routes/sjtu/gs.ts +8 -8
- package/lib/routes/sjtu/jwc.ts +2 -2
- package/lib/routes/sjtu/tongqu/activity.ts +2 -2
- package/lib/routes/sjtu/yzb/zkxx.ts +2 -2
- package/lib/routes/sketis/isabelle-dev/blog/index.ts +1 -1
- package/lib/routes/slowmist/slowmist.ts +2 -2
- package/lib/routes/smashingmagazine/category.ts +34 -34
- package/lib/routes/smzdm/haowen-fenlei.ts +2 -2
- package/lib/routes/sobooks/index.ts +9 -9
- package/lib/routes/sobooks/tag.ts +7 -7
- package/lib/routes/sohu/mp.ts +3 -2
- package/lib/routes/spankbang/new-videos.ts +1 -1
- package/lib/routes/spotify/show.ts +1 -1
- package/lib/routes/sputniknews/index.ts +38 -38
- package/lib/routes/sqmc/www.ts +2 -2
- package/lib/routes/sse/sselawsrules.ts +27 -27
- package/lib/routes/startuplatte/index.ts +2 -2
- package/lib/routes/stcn/index.ts +241 -136
- package/lib/routes/stcn/kx.ts +144 -0
- package/lib/routes/storm/index.ts +2 -2
- package/lib/routes/swjtu/namespace.ts +1 -1
- package/lib/routes/swjtu/scai.ts +102 -0
- package/lib/routes/swjtu/{scai/bks.ts → sports.ts} +16 -15
- package/lib/routes/swjtu/xg.ts +3 -3
- package/lib/routes/swpu/bgw.ts +2 -2
- package/lib/routes/swpu/cjxy.ts +2 -2
- package/lib/routes/swpu/dean.ts +2 -2
- package/lib/routes/swpu/dxy.ts +2 -2
- package/lib/routes/swpu/is.ts +2 -2
- package/lib/routes/swpu/scs.ts +2 -2
- package/lib/routes/sysu/ygafz.ts +6 -6
- package/lib/routes/szse/disclosure/listed-notice.ts +111 -0
- package/lib/routes/szse/inquire.ts +5 -5
- package/lib/routes/szse/projectdynamic.ts +21 -21
- package/lib/routes/szse/rule.ts +70 -70
- package/lib/routes/szse/templates/inquire.art +1 -1
- package/lib/routes/szu/yz/index.ts +2 -2
- package/lib/routes/t66y/index.ts +12 -12
- package/lib/routes/tangshufang/index.ts +8 -8
- package/lib/routes/taobao/zhongchou.ts +2 -2
- package/lib/routes/taoguba/index.ts +2 -2
- package/lib/routes/taptap/changelog-intl.ts +3 -3
- package/lib/routes/tass/news.ts +2 -2
- package/lib/routes/telecompaper/news.ts +3 -3
- package/lib/routes/telecompaper/search.ts +6 -6
- package/lib/routes/telegram/channel.ts +1 -1
- package/lib/routes/telegram/tglib/client.ts +18 -18
- package/lib/routes/tencent/pvp/newsindex.ts +2 -2
- package/lib/routes/tesla/cx.ts +47 -47
- package/lib/routes/test/index.ts +1 -1
- package/lib/routes/tgbus/list.ts +2 -2
- package/lib/routes/the/index.ts +13 -13
- package/lib/routes/theatlantic/news.ts +2 -2
- package/lib/routes/theblock/index.ts +142 -0
- package/lib/routes/theblock/namespace.ts +7 -0
- package/lib/routes/theblockbeats/index.ts +5 -5
- package/lib/routes/thecover/channel.ts +2 -2
- package/lib/routes/theinitium/app.ts +82 -53
- package/lib/routes/theinitium/channel.ts +3 -3
- package/lib/routes/themoviedb/sheet.ts +6 -6
- package/lib/routes/thepaper/channel.ts +14 -14
- package/lib/routes/thepaper/list.ts +98 -98
- package/lib/routes/thepetcity/index.ts +6 -6
- package/lib/routes/theverge/index.ts +86 -75
- package/lib/routes/theverge/templates/header.art +19 -0
- package/lib/routes/thoughtco/index.ts +293 -293
- package/lib/routes/threads/index.ts +73 -54
- package/lib/routes/threads/utils.ts +60 -78
- package/lib/routes/tiktok/user.ts +1 -1
- package/lib/routes/timednews/news.ts +3 -3
- package/lib/routes/tingshuitz/changsha.ts +4 -4
- package/lib/routes/tju/cic/index.ts +2 -2
- package/lib/routes/tju/news/index.ts +2 -2
- package/lib/routes/tju/oaa/index.ts +2 -2
- package/lib/routes/tju/yzb/index.ts +2 -2
- package/lib/routes/tmtpost/column.ts +298 -0
- package/lib/routes/tmtpost/namespace.ts +9 -0
- package/lib/routes/tmtpost/new.ts +42 -0
- package/lib/routes/tmtpost/nictation.ts +59 -0
- package/lib/routes/tmtpost/templates/description.art +7 -0
- package/lib/routes/tmtpost/util.ts +207 -0
- package/lib/routes/tokeninsight/report.ts +3 -3
- package/lib/routes/tongji/gs.ts +66 -0
- package/lib/routes/tongji/sse/notice.ts +2 -2
- package/lib/routes/tongji/yjs.ts +34 -20
- package/lib/routes/topys/index.ts +1 -1
- 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/tsinghua/lib/tzgg.ts +73 -0
- package/lib/routes/tsinghua/lib/zydt.ts +3 -3
- package/lib/routes/tvb/news.ts +6 -6
- package/lib/routes/tvtropes/featured.ts +2 -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 +14 -13
- package/lib/routes/txks/namespace.ts +7 -0
- package/lib/routes/txks/news.ts +107 -0
- package/lib/routes/txrjy/fornumtopic.ts +2 -2
- package/lib/routes/ucas/index.ts +2 -2
- package/lib/routes/uchicago/current.ts +3 -3
- package/lib/routes/udn/breaking-news.ts +2 -2
- package/lib/routes/udn/global/index.ts +2 -2
- package/lib/routes/udn/global/tag.ts +1 -1
- package/lib/routes/uestc/cqe.ts +2 -2
- package/lib/routes/uestc/gr.ts +3 -3
- package/lib/routes/uestc/jwc.ts +3 -3
- package/lib/routes/uestc/news.ts +2 -2
- package/lib/routes/uestc/sise.ts +2 -2
- package/lib/routes/ulapia/index.ts +2 -2
- package/lib/routes/upc/jsj.ts +2 -2
- package/lib/routes/upc/jwc.ts +2 -2
- package/lib/routes/upc/main.ts +2 -2
- package/lib/routes/uptimerobot/rss.ts +2 -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/usepanda/index.ts +2 -2
- package/lib/routes/ustb/tj/news.ts +2 -2
- package/lib/routes/ustb/yjsy/news.ts +2 -2
- package/lib/routes/ustc/eeis.ts +2 -2
- package/lib/routes/ustc/gs.ts +2 -2
- package/lib/routes/ustc/index.ts +2 -2
- package/lib/routes/ustc/job.ts +2 -2
- package/lib/routes/ustc/jwc.ts +2 -2
- package/lib/routes/ustc/math.ts +2 -2
- package/lib/routes/ustc/scms.ts +2 -2
- package/lib/routes/ustc/sist.ts +2 -2
- package/lib/routes/usts/jwch.ts +2 -2
- package/lib/routes/utgd/category.ts +2 -2
- package/lib/routes/utgd/topic.ts +1 -1
- package/lib/routes/utgd/utils.ts +1 -1
- package/lib/routes/uw/gix/news.ts +2 -2
- package/lib/routes/vcb-s/category.ts +2 -2
- package/lib/routes/vom/featured.ts +2 -2
- package/lib/routes/wainao/namespace.ts +8 -0
- package/lib/routes/wainao/templates/description.art +9 -0
- package/lib/routes/wainao/topics.ts +214 -0
- package/lib/routes/wainao/wainao-reads.ts +49 -0
- package/lib/routes/wallstreetcn/live.ts +2 -2
- package/lib/routes/wallstreetcn/news.ts +12 -12
- package/lib/routes/wechat/tgchannel.ts +4 -4
- 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/timeline.ts +3 -1
- package/lib/routes/weibo/user-bookmarks.ts +1 -1
- package/lib/routes/weibo/user.ts +3 -1
- package/lib/routes/weibo/utils.ts +11 -3
- package/lib/routes/wfu/news.ts +4 -4
- package/lib/routes/whitehouse/news.ts +82 -0
- package/lib/routes/who/news-room.ts +6 -6
- package/lib/routes/who/news.ts +3 -3
- package/lib/routes/who/speeches.ts +3 -3
- package/lib/routes/whu/cs.ts +2 -2
- package/lib/routes/whu/gs/index.ts +2 -2
- package/lib/routes/whu/swrh.ts +3 -3
- package/lib/routes/wmpvp/index.ts +2 -2
- package/lib/routes/wohnnet/index.ts +129 -0
- package/lib/routes/wohnnet/namespace.ts +8 -0
- package/lib/routes/woshipm/popular.ts +2 -2
- package/lib/routes/wsj/news.ts +6 -6
- package/lib/routes/wsyu/news.ts +2 -2
- package/lib/routes/wtu/index.ts +2 -2
- package/lib/routes/wtu/job.ts +2 -2
- package/lib/routes/wyzxwk/article.ts +21 -21
- package/lib/routes/x6d/index.ts +17 -17
- package/lib/routes/xaufe/jiaowu.ts +2 -2
- package/lib/routes/xaut/index.ts +2 -2
- package/lib/routes/xaut/jwc.ts +3 -3
- package/lib/routes/xaut/rsc.ts +3 -3
- package/lib/routes/xiaoheihe/discount.ts +2 -2
- package/lib/routes/xiaoheihe/util.ts +1 -1
- package/lib/routes/xiaohongshu/util.ts +2 -2
- package/lib/routes/xiaoyuzhou/pickup.ts +1 -1
- package/lib/routes/xiaoyuzhou/podcast.ts +27 -27
- package/lib/routes/xidian/jwc.ts +2 -2
- package/lib/routes/xinpianchang/rank.ts +7 -7
- package/lib/routes/xjtu/2yuan/news.ts +11 -11
- package/lib/routes/xjtu/job.ts +3 -3
- package/lib/routes/xjtu/std.ts +2 -2
- package/lib/routes/xjtu/yz.ts +74 -0
- package/lib/routes/xkb/index.ts +8 -8
- package/lib/routes/xmnn/epaper.ts +2 -2
- package/lib/routes/xmu/kydt.ts +68 -0
- package/lib/routes/xmu/namespace.ts +9 -0
- package/lib/routes/xsijishe/rank.ts +49 -17
- package/lib/routes/xsijishe/utils.ts +25 -0
- package/lib/routes/xueqiu/stock-info.ts +2 -2
- package/lib/routes/xueqiu/timeline.ts +3 -3
- package/lib/routes/xueqiu/user.ts +2 -2
- package/lib/routes/yande/post.ts +2 -2
- package/lib/routes/ycwb/index.ts +6 -6
- package/lib/routes/yicai/dt.ts +39 -39
- package/lib/routes/yicai/news.ts +26 -26
- package/lib/routes/yicai/video.ts +36 -36
- package/lib/routes/ymgal/article.ts +2 -2
- package/lib/routes/yomiuri/news.ts +18 -18
- package/lib/routes/youmemark/index.ts +88 -0
- package/lib/routes/youmemark/namespace.ts +7 -0
- package/lib/routes/youtube/charts.ts +30 -30
- package/lib/routes/youtube/user.ts +7 -1
- package/lib/routes/youtube/utils.ts +3 -0
- package/lib/routes/youzhiyouxing/materials.ts +2 -2
- package/lib/routes/yuque/book.ts +2 -2
- package/lib/routes/yuque/utils.ts +1 -0
- package/lib/routes/yxdown/news.ts +2 -2
- package/lib/routes/yxdzqb/index.ts +2 -2
- package/lib/routes/yxrb/home.ts +2 -2
- package/lib/routes/yyets/article.ts +2 -2
- package/lib/routes/yystv/category.ts +2 -2
- package/lib/routes/zaobao/realtime.ts +2 -2
- package/lib/routes/zaobao/util.ts +12 -3
- package/lib/routes/zaobao/znews.ts +2 -2
- package/lib/routes/zaozao/article.ts +2 -2
- package/lib/routes/zcmu/jwc/index.ts +2 -2
- package/lib/routes/zcmu/yxy/index.ts +2 -2
- package/lib/routes/zcool/discover.ts +51 -51
- package/lib/routes/zhihu/answers.ts +26 -54
- package/lib/routes/zhihu/timeline.ts +1 -2
- package/lib/routes/zhitongcaijing/index.ts +15 -15
- package/lib/routes/zhonglun/index.ts +3 -3
- package/lib/routes/zimuxia/index.ts +2 -2
- package/lib/routes/zjol/paper.ts +2 -2
- package/lib/routes/zju/career/index.ts +2 -2
- package/lib/routes/zju/cst/custom.ts +2 -2
- package/lib/routes/zju/cst/index.ts +2 -2
- package/lib/routes/zju/grs/index.ts +2 -2
- package/lib/routes/zju/physics/index.ts +2 -2
- package/lib/routes/zsxq/group.ts +2 -2
- package/lib/routes/zyw/hot.ts +2 -2
- package/lib/types.ts +8 -1
- 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/lib/views/json.ts +13 -11
- package/package.json +61 -60
- 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/geocaching/templates/blogs.art +0 -6
- package/lib/routes/papers/index.ts +0 -136
- package/lib/routes/producthunt/templates/descImg.art +0 -5
- package/lib/routes/whitehouse/briefing-room.ts +0 -79
- package/lib/routes/whitehouse/ostp.ts +0 -76
- package/lib/routes-deprecated/ltaaa/index.js +0 -69
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
interface University {
|
|
2
|
+
university_id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
logo: string;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
interface Major {
|
|
8
|
+
major_id: string;
|
|
9
|
+
parent_id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
interface UserGrowthInfo {
|
|
14
|
+
user_id: number;
|
|
15
|
+
jpower: number;
|
|
16
|
+
jscore: number;
|
|
17
|
+
jpower_level: number;
|
|
18
|
+
jscore_level: number;
|
|
19
|
+
jscore_title: string;
|
|
20
|
+
author_achievement_list: number[];
|
|
21
|
+
vip_level: number;
|
|
22
|
+
vip_title: string;
|
|
23
|
+
jscore_next_level_score: number;
|
|
24
|
+
jscore_this_level_mini_score: number;
|
|
25
|
+
vip_score: number;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
interface UserPrivInfo {
|
|
29
|
+
administrator: number;
|
|
30
|
+
builder: number;
|
|
31
|
+
favorable_author: number;
|
|
32
|
+
book_author: number;
|
|
33
|
+
forbidden_words: number;
|
|
34
|
+
can_tag_cnt: number;
|
|
35
|
+
auto_recommend: number;
|
|
36
|
+
signed_author: number;
|
|
37
|
+
popular_author: number;
|
|
38
|
+
can_add_video: number;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
interface ArticleInfo {
|
|
42
|
+
article_id: string;
|
|
43
|
+
user_id: string;
|
|
44
|
+
category_id: string;
|
|
45
|
+
tag_ids: number[];
|
|
46
|
+
visible_level: number;
|
|
47
|
+
link_url: string;
|
|
48
|
+
cover_image: string;
|
|
49
|
+
is_gfw: number;
|
|
50
|
+
title: string;
|
|
51
|
+
brief_content: string;
|
|
52
|
+
is_english: number;
|
|
53
|
+
is_original: number;
|
|
54
|
+
user_index: number;
|
|
55
|
+
original_type: number;
|
|
56
|
+
original_author: string;
|
|
57
|
+
content: string;
|
|
58
|
+
ctime: string;
|
|
59
|
+
mtime: string;
|
|
60
|
+
rtime: string;
|
|
61
|
+
draft_id: string;
|
|
62
|
+
view_count: number;
|
|
63
|
+
collect_count: number;
|
|
64
|
+
digg_count: number;
|
|
65
|
+
comment_count: number;
|
|
66
|
+
hot_index: number;
|
|
67
|
+
is_hot: number;
|
|
68
|
+
rank_index: number;
|
|
69
|
+
status: number;
|
|
70
|
+
verify_status: number;
|
|
71
|
+
audit_status: number;
|
|
72
|
+
mark_content: string;
|
|
73
|
+
display_count: number;
|
|
74
|
+
is_markdown: number;
|
|
75
|
+
app_html_content: string;
|
|
76
|
+
version: number;
|
|
77
|
+
web_html_content: null;
|
|
78
|
+
meta_info: null;
|
|
79
|
+
catalog: null;
|
|
80
|
+
homepage_top_time: number;
|
|
81
|
+
homepage_top_status: number;
|
|
82
|
+
content_count: number;
|
|
83
|
+
read_time: string;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export interface AuthorUserInfo {
|
|
87
|
+
user_id: string;
|
|
88
|
+
user_name: string;
|
|
89
|
+
company: string;
|
|
90
|
+
job_title: string;
|
|
91
|
+
avatar_large: string;
|
|
92
|
+
level: number;
|
|
93
|
+
description: string;
|
|
94
|
+
followee_count: number;
|
|
95
|
+
follower_count: number;
|
|
96
|
+
post_article_count: number;
|
|
97
|
+
digg_article_count: number;
|
|
98
|
+
got_digg_count: number;
|
|
99
|
+
got_view_count: number;
|
|
100
|
+
post_shortmsg_count: number;
|
|
101
|
+
digg_shortmsg_count: number;
|
|
102
|
+
isfollowed: boolean;
|
|
103
|
+
favorable_author: number;
|
|
104
|
+
power: number;
|
|
105
|
+
study_point: number;
|
|
106
|
+
university: University;
|
|
107
|
+
major: Major;
|
|
108
|
+
student_status: number;
|
|
109
|
+
select_event_count: number;
|
|
110
|
+
select_online_course_count: number;
|
|
111
|
+
identity: number;
|
|
112
|
+
is_select_annual: boolean;
|
|
113
|
+
select_annual_rank: number;
|
|
114
|
+
annual_list_type: number;
|
|
115
|
+
extraMap: Record<string, unknown>;
|
|
116
|
+
is_logout: number;
|
|
117
|
+
annual_info: any[];
|
|
118
|
+
account_amount: number;
|
|
119
|
+
user_growth_info: UserGrowthInfo;
|
|
120
|
+
is_vip: boolean;
|
|
121
|
+
become_author_days: number;
|
|
122
|
+
collection_set_article_count: number;
|
|
123
|
+
recommend_article_count_daily: number;
|
|
124
|
+
article_collect_count_daily: number;
|
|
125
|
+
user_priv_info: UserPrivInfo;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export interface Category {
|
|
129
|
+
category_id: string;
|
|
130
|
+
category_name: string;
|
|
131
|
+
category_url: string;
|
|
132
|
+
rank: number;
|
|
133
|
+
back_ground: string;
|
|
134
|
+
icon: string;
|
|
135
|
+
ctime: number;
|
|
136
|
+
mtime: number;
|
|
137
|
+
show_type: number;
|
|
138
|
+
item_type: number;
|
|
139
|
+
promote_tag_cap: number;
|
|
140
|
+
promote_priority: number;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export interface Tag {
|
|
144
|
+
id: number;
|
|
145
|
+
tag_id: string;
|
|
146
|
+
tag_name: string;
|
|
147
|
+
color: string;
|
|
148
|
+
icon: string;
|
|
149
|
+
back_ground: string;
|
|
150
|
+
show_navi: number;
|
|
151
|
+
ctime: number;
|
|
152
|
+
mtime: number;
|
|
153
|
+
id_type: number;
|
|
154
|
+
tag_alias: string;
|
|
155
|
+
post_article_count: number;
|
|
156
|
+
concern_user_count: number;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
interface UserInteract {
|
|
160
|
+
id: number;
|
|
161
|
+
omitempty: number;
|
|
162
|
+
user_id: number;
|
|
163
|
+
is_digg: boolean;
|
|
164
|
+
is_follow: boolean;
|
|
165
|
+
is_collect: boolean;
|
|
166
|
+
collect_set_count: number;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
interface OrgVersion {
|
|
170
|
+
version_id: string;
|
|
171
|
+
icon: string;
|
|
172
|
+
background: string;
|
|
173
|
+
name: string;
|
|
174
|
+
introduction: string;
|
|
175
|
+
weibo_link: string;
|
|
176
|
+
github_link: string;
|
|
177
|
+
homepage_link: string;
|
|
178
|
+
ctime: number;
|
|
179
|
+
mtime: number;
|
|
180
|
+
org_id: string;
|
|
181
|
+
brief_introduction: string;
|
|
182
|
+
introduction_preview: string;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
interface OrgInfo {
|
|
186
|
+
org_type: number;
|
|
187
|
+
org_id: string;
|
|
188
|
+
online_version_id: number;
|
|
189
|
+
latest_version_id: number;
|
|
190
|
+
power: number;
|
|
191
|
+
ctime: number;
|
|
192
|
+
mtime: number;
|
|
193
|
+
audit_status: number;
|
|
194
|
+
status: number;
|
|
195
|
+
org_version: OrgVersion;
|
|
196
|
+
follower_count: number;
|
|
197
|
+
article_view_count: number;
|
|
198
|
+
article_digg_count: number;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
interface Org {
|
|
202
|
+
is_followed: boolean;
|
|
203
|
+
org_info: OrgInfo;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
interface Status {
|
|
207
|
+
push_status: number;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
interface Extra {
|
|
211
|
+
extra: string;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export interface Article {
|
|
215
|
+
article_id: string;
|
|
216
|
+
article_info: ArticleInfo;
|
|
217
|
+
author_user_info: AuthorUserInfo;
|
|
218
|
+
category: Category;
|
|
219
|
+
tags: Tag[];
|
|
220
|
+
user_interact: UserInteract;
|
|
221
|
+
org: Org;
|
|
222
|
+
req_id: string;
|
|
223
|
+
status: Status;
|
|
224
|
+
theme_list: any[];
|
|
225
|
+
extra: Extra;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export interface Collection {
|
|
229
|
+
article_list: Article[];
|
|
230
|
+
create_user: AuthorUserInfo;
|
|
231
|
+
detail: Tag;
|
|
232
|
+
}
|
|
@@ -1,55 +1,154 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import ofetch from '@/utils/ofetch';
|
|
2
|
+
import * as cheerio from 'cheerio';
|
|
3
3
|
import { parseDate } from '@/utils/parse-date';
|
|
4
|
-
import MarkdownIt from 'markdown-it';
|
|
5
|
-
const md = MarkdownIt({
|
|
6
|
-
|
|
7
|
-
});
|
|
4
|
+
// import MarkdownIt from 'markdown-it';
|
|
5
|
+
// const md = MarkdownIt({
|
|
6
|
+
// html: true,
|
|
7
|
+
// });
|
|
8
|
+
import crypto from 'node:crypto';
|
|
9
|
+
import cache from '@/utils/cache';
|
|
10
|
+
import { Category, Collection, Tag } from './types';
|
|
11
|
+
|
|
12
|
+
const b64tou8a = (str) => Uint8Array.from(Buffer.from(str, 'base64'));
|
|
13
|
+
const b64tohex = (str) => Buffer.from(str, 'base64').toString('hex');
|
|
14
|
+
const s256 = (s1: Uint8Array, s2: string) => {
|
|
15
|
+
const sha = crypto.createHash('sha256');
|
|
16
|
+
sha.update(s1);
|
|
17
|
+
sha.update(s2);
|
|
18
|
+
return sha.digest('hex');
|
|
19
|
+
};
|
|
20
|
+
|
|
8
21
|
// 加载文章页
|
|
9
|
-
async function loadContent(id) {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
22
|
+
// async function loadContent(id) {
|
|
23
|
+
// const response = await ofetch('https://api.juejin.cn/content_api/v1/article/detail', {
|
|
24
|
+
// method: 'post',
|
|
25
|
+
// body: {
|
|
26
|
+
// article_id: id,
|
|
27
|
+
// },
|
|
28
|
+
// });
|
|
29
|
+
// let description;
|
|
30
|
+
// if (response.data) {
|
|
31
|
+
// description = md.render(response.data.article_info.mark_content) || response.data.article_info.content;
|
|
32
|
+
// }
|
|
33
|
+
|
|
34
|
+
// return { description };
|
|
35
|
+
// }
|
|
36
|
+
|
|
37
|
+
const solveWafChallenge = (cs) => {
|
|
38
|
+
const c = JSON.parse(Buffer.from(cs, 'base64').toString());
|
|
39
|
+
const prefix = b64tou8a(c.v.a);
|
|
40
|
+
const expect = b64tohex(c.v.c);
|
|
41
|
+
|
|
42
|
+
for (let i = 0; i < 1_000_000; i++) {
|
|
43
|
+
const hash = s256(prefix, i.toString());
|
|
44
|
+
if (hash === expect) {
|
|
45
|
+
c.d = Buffer.from(i.toString()).toString('base64');
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
20
48
|
}
|
|
49
|
+
return Buffer.from(JSON.stringify(c)).toString('base64');
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export const getArticle = async (link) => {
|
|
53
|
+
let response = await ofetch(link);
|
|
54
|
+
let $ = cheerio.load(response);
|
|
55
|
+
if ($('script').text().includes('_wafchallengeid')) {
|
|
56
|
+
const cs = $('script:contains("_wafchallengeid")')
|
|
57
|
+
.text()
|
|
58
|
+
.match(/cs="(.*?)",c/)?.[1];
|
|
59
|
+
const cookie = solveWafChallenge(cs);
|
|
60
|
+
|
|
61
|
+
response = await ofetch(link, {
|
|
62
|
+
headers: {
|
|
63
|
+
cookie: `_wafchallengeid=${cookie};`,
|
|
64
|
+
},
|
|
65
|
+
});
|
|
21
66
|
|
|
22
|
-
|
|
23
|
-
}
|
|
67
|
+
$ = cheerio.load(response);
|
|
68
|
+
}
|
|
24
69
|
|
|
25
|
-
|
|
26
|
-
const response = await got(link);
|
|
27
|
-
const $ = load(response.data);
|
|
28
|
-
$('h1.title, .main-box .message').remove();
|
|
29
|
-
return { description: $('.main-box .article').html() };
|
|
70
|
+
return $('.article-viewer').html();
|
|
30
71
|
};
|
|
31
72
|
|
|
32
|
-
const
|
|
73
|
+
// const loadNews = async (link) => {
|
|
74
|
+
// const response = await ofetch(link);
|
|
75
|
+
// const $ = cheerio.load(response);
|
|
76
|
+
// $('h1.title, .main-box .message').remove();
|
|
77
|
+
// return { description: $('.main-box .article').html() };
|
|
78
|
+
// };
|
|
79
|
+
|
|
80
|
+
export const parseList = (data) =>
|
|
81
|
+
data.map((item) => {
|
|
82
|
+
const isArticle = !!item.article_info;
|
|
83
|
+
|
|
84
|
+
return {
|
|
85
|
+
title: isArticle ? item.article_info.title : item.content_info.title,
|
|
86
|
+
description: (isArticle ? item.article_info.brief_content : item.content_info.brief) || '无描述',
|
|
87
|
+
pubDate: parseDate(isArticle ? item.article_info.ctime : item.content_info.ctime, 'X'),
|
|
88
|
+
author: item.author_user_info.user_name,
|
|
89
|
+
link: `https://juejin.cn${isArticle ? `/post/${item.article_id}` : `/news/${item.content_id}`}`,
|
|
90
|
+
category: [...new Set([item.category.category_name, ...item.tags.map((tag) => tag.tag_name)])],
|
|
91
|
+
};
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
export const ProcessFeed = (list) =>
|
|
33
95
|
Promise.all(
|
|
34
|
-
list.map(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
description: ((isArticle ? item.article_info.brief_content : item.content_info.brief) || '无描述').replaceAll(/[\u0000-\u0008\u000B\u000C\u000E-\u001F\u007F]/g, ''),
|
|
42
|
-
pubDate,
|
|
43
|
-
author: item.author_user_info.user_name,
|
|
44
|
-
link,
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
// 使用tryGet方法从缓存获取内容。
|
|
48
|
-
// 当缓存中无法获取到链接内容的时候,则使用load方法加载文章内容。
|
|
49
|
-
const other = await caches.tryGet(link, () => (isArticle ? loadContent(item.article_id) : loadNews(link)));
|
|
50
|
-
// 合并解析后的结果集作为该篇文章最终的输出结果
|
|
51
|
-
return { ...single, ...other };
|
|
52
|
-
})
|
|
96
|
+
list.map((item) =>
|
|
97
|
+
cache.tryGet(item.link, async () => {
|
|
98
|
+
item.description = (await getArticle(item.link)) || item.description;
|
|
99
|
+
|
|
100
|
+
return item;
|
|
101
|
+
})
|
|
102
|
+
)
|
|
53
103
|
);
|
|
54
104
|
|
|
55
|
-
export
|
|
105
|
+
// export const ProcessFeed = (list, caches) =>
|
|
106
|
+
// Promise.all(
|
|
107
|
+
// list.map(async (item) => {
|
|
108
|
+
// const isArticle = !!item.article_info;
|
|
109
|
+
// const pubDate = parseDate((isArticle ? item.article_info.ctime : item.content_info.ctime) * 1000);
|
|
110
|
+
// const link = `https://juejin.cn${isArticle ? '/post/' + item.article_id : '/news/' + item.content_id}`;
|
|
111
|
+
// // 列表上提取到的信息
|
|
112
|
+
// const single = {
|
|
113
|
+
// title: isArticle ? item.article_info.title : item.content_info.title,
|
|
114
|
+
// description: ((isArticle ? item.article_info.brief_content : item.content_info.brief) || '无描述').replaceAll(/[\u0000-\u0008\u000B\u000C\u000E-\u001F\u007F]/g, ''),
|
|
115
|
+
// pubDate,
|
|
116
|
+
// author: item.author_user_info.user_name,
|
|
117
|
+
// link,
|
|
118
|
+
// };
|
|
119
|
+
|
|
120
|
+
// // 使用tryGet方法从缓存获取内容。
|
|
121
|
+
// // 当缓存中无法获取到链接内容的时候,则使用load方法加载文章内容。
|
|
122
|
+
// const other = await caches.tryGet(link, () => (isArticle ? loadContent(item.article_id) : loadNews(link)));
|
|
123
|
+
// // 合并解析后的结果集作为该篇文章最终的输出结果
|
|
124
|
+
// return { ...single, ...other };
|
|
125
|
+
// })
|
|
126
|
+
// );
|
|
127
|
+
|
|
128
|
+
export const getCategoryBrief = () =>
|
|
129
|
+
cache.tryGet('juejin:categoryBriefs', async () => {
|
|
130
|
+
const response = await ofetch('https://api.juejin.cn/tag_api/v1/query_category_briefs');
|
|
131
|
+
return response.data;
|
|
132
|
+
}) as Promise<Category[]>;
|
|
133
|
+
|
|
134
|
+
export const getCollection = (collectionId) =>
|
|
135
|
+
cache.tryGet(`juejin:collectionId:${collectionId}`, async () => {
|
|
136
|
+
const response = await ofetch('https://api.juejin.cn/interact_api/v1/collectionSet/get', {
|
|
137
|
+
query: {
|
|
138
|
+
tag_id: collectionId,
|
|
139
|
+
cursor: 0,
|
|
140
|
+
},
|
|
141
|
+
});
|
|
142
|
+
return response.data;
|
|
143
|
+
}) as Promise<Collection>;
|
|
144
|
+
|
|
145
|
+
export const getTag = (tag) =>
|
|
146
|
+
cache.tryGet(`juejin:tag:${tag}`, async () => {
|
|
147
|
+
const response = await ofetch('https://api.juejin.cn/tag_api/v1/query_tag_detail', {
|
|
148
|
+
method: 'POST',
|
|
149
|
+
body: {
|
|
150
|
+
key_word: tag,
|
|
151
|
+
},
|
|
152
|
+
});
|
|
153
|
+
return response.data;
|
|
154
|
+
}) as Promise<{ tag_id: string; tag: Tag }>;
|
|
@@ -114,20 +114,20 @@ export const route: Route = {
|
|
|
114
114
|
maintainers: ['zytomorrow'],
|
|
115
115
|
handler,
|
|
116
116
|
description: `| switch | ps4 | ps5 | xbox | steam | epic |
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
117
|
+
| ------ | ---- | ---- | ------ | ----- | ------ |
|
|
118
|
+
| 可用 | 可用 | 可用 | 不可用 | 可用 | 不可用 |
|
|
119
|
+
|
|
120
|
+
| filter | switch | ps4 | ps5 | steam |
|
|
121
|
+
| ------ | ------ | --- | --- | ----- |
|
|
122
|
+
| all | ✔ | ✔ | ✔ | ✔ |
|
|
123
|
+
| jx | ✔ | ✔ | ❌ | ✔ |
|
|
124
|
+
| sd | ✔ | ✔ | ✔ | ✔ |
|
|
125
|
+
| dl | ❌ | ✔ | ❌ | ✔ |
|
|
126
|
+
| vip | ❌ | ❌ | ✔ | ❌ |
|
|
127
|
+
|
|
128
|
+
| 北美 | 欧洲(英语) | 法国 | 德国 | 日本 |
|
|
129
|
+
| ---- | ------------ | ---- | ---- | ---- |
|
|
130
|
+
| na | eu | fr | de | jp |`,
|
|
131
131
|
};
|
|
132
132
|
|
|
133
133
|
async function handler(ctx) {
|
|
@@ -26,37 +26,37 @@ export const route: Route = {
|
|
|
26
26
|
maintainers: ['nczitzk'],
|
|
27
27
|
handler,
|
|
28
28
|
description: `| Category |
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
29
|
+
| -------------------------------------- |
|
|
30
|
+
| すべて |
|
|
31
|
+
| テレビ |
|
|
32
|
+
| 映画・V シネマ等 |
|
|
33
|
+
| Blu-ray・DVD、配信等 |
|
|
34
|
+
| 20 作記念グッズ・東映 EC 商品 |
|
|
35
|
+
| 石ノ森章太郎生誕 80 周年記念商品 |
|
|
36
|
+
| 玩具・カード |
|
|
37
|
+
| 食品・飲料・菓子 |
|
|
38
|
+
| 子供生活雑貨 |
|
|
39
|
+
| アパレル・大人向け雑貨 |
|
|
40
|
+
| フィギュア・ホビー・一番くじ・プライズ |
|
|
41
|
+
| ゲーム・デジタル |
|
|
42
|
+
| 雑誌・書籍・漫画 |
|
|
43
|
+
| 音楽 |
|
|
44
|
+
| 映像 |
|
|
45
|
+
| イベント |
|
|
46
|
+
| ホテル・レストラン等 |
|
|
47
|
+
| キャンペーン・タイアップ等 |
|
|
48
|
+
| その他 |
|
|
49
|
+
| KAMEN RIDER STORE |
|
|
50
|
+
| THE 鎧武祭り |
|
|
51
|
+
| 鎧武外伝 |
|
|
52
|
+
| 仮面ライダーリバイス |
|
|
53
|
+
| ファイナルステージ |
|
|
54
|
+
| THE50 周年展 |
|
|
55
|
+
| 風都探偵 |
|
|
56
|
+
| 仮面ライダーギーツ |
|
|
57
|
+
| 仮面ライダーアウトサイダーズ |
|
|
58
|
+
| 仮面ライダーガッチャード |
|
|
59
|
+
| 仮面ライダー BLACK SUN |`,
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
async function handler(ctx) {
|
|
@@ -32,28 +32,28 @@ export const route: Route = {
|
|
|
32
32
|
maintainers: ['renzhexigua'],
|
|
33
33
|
handler,
|
|
34
34
|
description: `| 版块 | category |
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
35
|
+
| -------------- | --------- |
|
|
36
|
+
| 智能设备 | iot |
|
|
37
|
+
| Android 安全 | android |
|
|
38
|
+
| iOS 安全 | ios |
|
|
39
|
+
| HarmonyOS 安全 | harmonyos |
|
|
40
|
+
| 软件逆向 | re |
|
|
41
|
+
| 编程技术 | coding |
|
|
42
|
+
| 加壳脱壳 | unpack |
|
|
43
|
+
| 密码应用 | crypto |
|
|
44
|
+
| 二进制漏洞 | vuln |
|
|
45
|
+
| CTF 对抗 | ctf |
|
|
46
|
+
| Pwn | pwn |
|
|
47
|
+
| WEB 安全 | web |
|
|
48
|
+
| 茶余饭后 | chat |
|
|
49
|
+
| 极客空间 | geekzone |
|
|
50
|
+
| 外文翻译 | translate |
|
|
51
|
+
| 全站 | all |
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
| 类型 | type |
|
|
54
|
+
| -------- | ------ |
|
|
55
|
+
| 最新主题 | latest |
|
|
56
|
+
| 精华主题 | digest |`,
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
const timeDiff = 1000 * 60 * 60 * 24 * 3;
|
package/lib/routes/kaopu/news.ts
CHANGED
package/lib/routes/kbs/news.ts
CHANGED
|
@@ -29,8 +29,8 @@ export const route: Route = {
|
|
|
29
29
|
handler,
|
|
30
30
|
url: 'world.kbs.co.kr/',
|
|
31
31
|
description: `| 한국어 | عربي | 中国语 | English | Français | Deutsch | Bahasa Indonesia | 日本語 | Русский | Español | Tiếng Việt |
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
| ------ | ---- | ------ | ------- | -------- | ------- | ---------------- | ------ | ------- | ------- | ---------- |
|
|
33
|
+
| k | a | c | e | f | g | i | j | r | s | v |`,
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
async function handler(ctx) {
|
package/lib/routes/kbs/today.ts
CHANGED
|
@@ -29,8 +29,8 @@ export const route: Route = {
|
|
|
29
29
|
handler,
|
|
30
30
|
url: 'world.kbs.co.kr/',
|
|
31
31
|
description: `| 한국어 | عربي | 中国语 | English | Français | Deutsch | Bahasa Indonesia | 日本語 | Русский | Español | Tiếng Việt |
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
| ------ | ---- | ------ | ------- | -------- | ------- | ---------------- | ------ | ------- | ------- | ---------- |
|
|
33
|
+
| k | a | c | e | f | g | i | j | r | s | v |`,
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
async function handler(ctx) {
|
package/lib/routes/kcna/news.ts
CHANGED
|
@@ -36,20 +36,20 @@ export const route: Route = {
|
|
|
36
36
|
maintainers: ['Rongronggg9'],
|
|
37
37
|
handler,
|
|
38
38
|
description: `| Language | 조선어 | English | 中国语 | Русский | Español | 日本語 |
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
| -------- | ------ | ------- | ------ | ------- | ------- | ------ |
|
|
40
|
+
| \`:lang\` | \`kp\` | \`en\` | \`cn\` | \`ru\` | \`es\` | \`jp\` |
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
42
|
+
| Category | \`:category\` |
|
|
43
|
+
| ---------------------------------------------------------------- | ---------------------------------- |
|
|
44
|
+
| WPK General Secretary **Kim Jong Un**'s Revolutionary Activities | \`54c0ca4ca013a92cc9cf95bd4004c61a\` |
|
|
45
|
+
| Latest News (default) | \`1ee9bdb7186944f765208f34ecfb5407\` |
|
|
46
|
+
| Top News | \`5394b80bdae203fadef02522cfb578c0\` |
|
|
47
|
+
| Home News | \`b2b3bcc1b0a4406ab0c36e45d5db58db\` |
|
|
48
|
+
| Documents | \`a8754921399857ebdbb97a98a1e741f5\` |
|
|
49
|
+
| World | \`593143484cf15d48ce85c26139582395\` |
|
|
50
|
+
| Society-Life | \`93102e5a735d03979bc58a3a7aefb75a\` |
|
|
51
|
+
| External | \`0f98b4623a3ef82aeea78df45c423fd0\` |
|
|
52
|
+
| News Commentary | \`12c03a49f7dbe829bceea8ac77088c21\` |`,
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
async function handler(ctx) {
|