rsshub 1.0.0-master.facc6d5 → 1.0.0-master.fad0dfa
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/{app.tsx → app-bootstrap.tsx} +0 -2
- package/lib/app.test.ts +15 -1
- package/lib/app.ts +5 -0
- package/lib/config.ts +8 -0
- package/lib/index.ts +0 -1
- package/lib/middleware/header.test.ts +1 -0
- package/lib/middleware/header.ts +4 -0
- package/lib/middleware/parameter.ts +4 -3
- package/lib/registry.ts +12 -5
- package/lib/routes/005/index.ts +0 -2
- package/lib/routes/10000link/info.ts +251 -0
- package/lib/routes/10000link/namespace.ts +9 -0
- package/lib/routes/10000link/templates/description.art +7 -0
- package/lib/routes/12306/index.ts +0 -2
- 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/open/vip.ts +0 -2
- package/lib/routes/163/utils.ts +0 -3
- package/lib/routes/18comic/utils.ts +0 -3
- package/lib/routes/199it/index.ts +2 -4
- package/lib/routes/1point3acres/offer.ts +0 -2
- package/lib/routes/1point3acres/section.ts +2 -2
- package/lib/routes/1point3acres/utils.ts +0 -3
- package/lib/routes/1x/index.ts +1 -3
- package/lib/routes/2048/index.ts +0 -2
- package/lib/routes/2cycd/index.ts +3 -3
- package/lib/routes/36kr/hot-list.ts +9 -1
- package/lib/routes/3dmgame/news-center.ts +1 -1
- 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/namespace.ts +1 -1
- 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/6park/news.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/aamacau/index.ts +3 -3
- package/lib/routes/abc/index.ts +1 -3
- package/lib/routes/accessbriefing/index.ts +0 -2
- package/lib/routes/acfun/video.ts +1 -1
- package/lib/routes/acs/journal.ts +0 -2
- package/lib/routes/adquan/case-library.ts +144 -0
- package/lib/routes/adquan/index.ts +144 -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 +158 -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/ahjzu/news.ts +3 -3
- package/lib/routes/aibase/util.ts +0 -3
- package/lib/routes/aicaijing/index.ts +0 -2
- package/lib/routes/ainvest/utils.ts +3 -3
- package/lib/routes/aip/journal.ts +26 -30
- package/lib/routes/aip/utils.ts +0 -3
- package/lib/routes/ali213/news.ts +2 -4
- package/lib/routes/ali213/zl.ts +2 -4
- package/lib/routes/aliyun/database-month.ts +3 -3
- package/lib/routes/aliyun/developer/group.ts +12 -18
- package/lib/routes/aliyun/notice.ts +3 -3
- package/lib/routes/aljazeera/index.ts +0 -2
- package/lib/routes/ally/rail.ts +22 -16
- package/lib/routes/amazfitwatchfaces/index.ts +430 -0
- package/lib/routes/amazfitwatchfaces/namespace.ts +10 -0
- package/lib/routes/amazfitwatchfaces/templates/description.art +17 -0
- package/lib/routes/amazon/kindle-software-updates.ts +7 -9
- package/lib/routes/anquanke/vul.ts +1 -1
- package/lib/routes/anthropic/engineering.ts +72 -0
- package/lib/routes/anthropic/news.ts +6 -4
- package/lib/routes/anytxt/namespace.ts +9 -0
- package/lib/routes/anytxt/release-notes.ts +92 -0
- 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/app-sales/index.ts +200 -0
- package/lib/routes/app-sales/mostwanted.ts +194 -0
- package/lib/routes/app-sales/namespace.ts +9 -0
- package/lib/routes/app-sales/templates/description.art +120 -0
- package/lib/routes/app-sales/util.ts +161 -0
- package/lib/routes/apple/podcast.ts +2 -1
- package/lib/routes/appstorrent/programs.ts +0 -2
- package/lib/routes/aqara/post.ts +0 -2
- 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 +2 -4
- package/lib/routes/asiafruitchina/news.ts +2 -4
- package/lib/routes/asiantolick/index.ts +0 -2
- package/lib/routes/asmr-200/index.ts +1 -2
- package/lib/routes/asus/bios.ts +0 -2
- 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 +31 -37
- package/lib/routes/baidu/tieba/search.ts +0 -2
- package/lib/routes/baidu/top.ts +0 -2
- package/lib/routes/bakamh/manga.ts +74 -0
- package/lib/routes/bakamh/namespace.ts +8 -0
- 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/baozimh/index.ts +0 -2
- package/lib/routes/bast/index.ts +1 -1
- package/lib/routes/bbc/learningenglish.ts +76 -0
- package/lib/routes/bbcnewslabs/news.ts +4 -4
- package/lib/routes/bc3ts/list.ts +1 -4
- package/lib/routes/bdys/index.ts +37 -40
- package/lib/routes/behance/user.ts +1 -3
- package/lib/routes/bgmlist/onair.ts +0 -2
- package/lib/routes/bilibili/danmaku.ts +1 -1
- package/lib/routes/bilibili/dynamic.ts +2 -0
- package/lib/routes/bilibili/followings-dynamic.ts +10 -4
- package/lib/routes/bilibili/ranking.ts +2 -0
- package/lib/routes/bilibili/utils.ts +5 -4
- package/lib/routes/bilibili/video.ts +76 -26
- package/lib/routes/bilibili/wasm-exec.ts +3 -3
- package/lib/routes/bing/search.ts +2 -2
- package/lib/routes/bjnews/cat.ts +2 -9
- package/lib/routes/bjwxdxh/index.ts +3 -3
- package/lib/routes/bjx/huanbao.ts +4 -12
- package/lib/routes/bjx/types.ts +9 -13
- package/lib/routes/blogread/index.ts +3 -4
- package/lib/routes/bloomberg/authors.ts +13 -14
- package/lib/routes/bloomberg/index.ts +6 -5
- package/lib/routes/bloomberg/utils.ts +5 -17
- package/lib/routes/bnu/bs.ts +3 -3
- package/lib/routes/bnu/dwxgb.ts +3 -3
- package/lib/routes/bnu/jwb.ts +1 -1
- package/lib/routes/bookfere/category.ts +11 -15
- package/lib/routes/booru/mmda.ts +0 -2
- package/lib/routes/bsky/feeds.ts +0 -2
- package/lib/routes/bsky/posts.ts +1 -3
- package/lib/routes/btzj/index.ts +0 -2
- package/lib/routes/buaa/lib/space/newbook.ts +0 -2
- package/lib/routes/bulianglin/rss.ts +3 -3
- package/lib/routes/bullionvault/gold-news.ts +2 -1
- package/lib/routes/bupt/jwc.ts +2 -2
- package/lib/routes/bupt/rczp.ts +3 -3
- package/lib/routes/caai/utils.ts +0 -3
- package/lib/routes/caareviews/utils.ts +3 -6
- package/lib/routes/cahkms/index.ts +0 -2
- package/lib/routes/caixin/blog.ts +1 -1
- package/lib/routes/caixin/database.ts +0 -2
- package/lib/routes/caixin/utils-fulltext.ts +1 -1
- 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/cas/cg/index.ts +3 -3
- package/lib/routes/cas/genetics/index.ts +2 -2
- package/lib/routes/cbaigui/index.ts +0 -2
- package/lib/routes/cccmc/index.ts +2 -1
- 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/ccreports/index.ts +3 -3
- package/lib/routes/cctv/jx.ts +3 -3
- package/lib/routes/cctv/utils/news.ts +3 -3
- package/lib/routes/cctv/utils/xinwen1j1.ts +1 -1
- package/lib/routes/cctv/xwlb.ts +1 -1
- package/lib/routes/cde/xxgk.ts +24 -9
- package/lib/routes/cdzjryb/project-list.ts +0 -2
- package/lib/routes/cebbank/all.ts +6 -8
- package/lib/routes/cebbank/history.ts +3 -5
- package/lib/routes/cfr/index.ts +3 -2
- package/lib/routes/cfr/utils.ts +2 -10
- package/lib/routes/chaincatcher/home.ts +0 -2
- package/lib/routes/changba/user.ts +40 -46
- package/lib/routes/chaoxing/qk.ts +0 -2
- package/lib/routes/china/finance/finance.ts +2 -2
- package/lib/routes/china/news/highlights/news.ts +11 -15
- package/lib/routes/china/news/military/news.ts +11 -15
- package/lib/routes/chinacdc/index.ts +2 -4
- package/lib/routes/chinadaily/language.ts +324 -0
- package/lib/routes/chinadaily/namespace.ts +9 -0
- package/lib/routes/chinadaily/templates/description.art +21 -0
- package/lib/routes/chinadegrees/province.ts +0 -2
- package/lib/routes/chinanews/index.ts +2 -2
- package/lib/routes/chinaratings/credit-research.ts +2 -1
- package/lib/routes/chinaventure/index.ts +3 -5
- package/lib/routes/chnmuseum/namespace.ts +10 -0
- package/lib/routes/chnmuseum/xingnew.ts +73 -0
- package/lib/routes/chnmuseum/xwzt.ts +67 -0
- package/lib/routes/chongbuluo/index.ts +86 -0
- package/lib/routes/chongbuluo/namespace.ts +7 -0
- package/lib/routes/chuanliu/nice.ts +0 -2
- package/lib/routes/cib/whpj.ts +3 -3
- package/lib/routes/cih-index/namespace.ts +7 -0
- package/lib/routes/cih-index/report.ts +74 -0
- package/lib/routes/ciidbnu/index.ts +3 -3
- package/lib/routes/ciweimao/chapter.ts +1 -1
- package/lib/routes/clickme/index.ts +1 -1
- package/lib/routes/cline/blog.ts +80 -0
- package/lib/routes/cline/namespace.ts +13 -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/cna/index.ts +1 -1
- package/lib/routes/cna/web/index.ts +1 -1
- package/lib/routes/cncf/index.ts +3 -3
- package/lib/routes/cncf/reports.ts +3 -3
- package/lib/routes/cngal/entry.ts +0 -2
- package/lib/routes/cngal/weekly.ts +0 -2
- package/lib/routes/cnjxol/index.ts +0 -2
- package/lib/routes/cnki/debut.ts +7 -9
- package/lib/routes/cnki/journals.ts +11 -13
- package/lib/routes/cnki/utils.ts +0 -3
- package/lib/routes/cntheory/paper.ts +0 -2
- package/lib/routes/cntv/column.ts +1 -3
- package/lib/routes/codeforces/contests.ts +4 -6
- package/lib/routes/colamanga/manga.ts +3 -3
- package/lib/routes/comicskingdom/index.ts +1 -3
- package/lib/routes/cool18/index.ts +70 -42
- package/lib/routes/{copernicium → coolpc}/namespace.ts +2 -2
- package/lib/routes/coolpc/news.ts +53 -0
- package/lib/routes/coomer/index.ts +1 -3
- package/lib/routes/copymanga/comic.ts +2 -12
- package/lib/routes/cosplaytele/article.ts +14 -6
- package/lib/routes/cosplaytele/category.ts +12 -6
- package/lib/routes/cosplaytele/latest.ts +12 -3
- package/lib/routes/cosplaytele/popular.ts +2 -4
- package/lib/routes/cosplaytele/tag.ts +12 -6
- package/lib/routes/cpcey/index.ts +3 -3
- package/lib/routes/cpta/handler.ts +2 -6
- package/lib/routes/crac/exam.ts +60 -0
- package/lib/routes/crac/index.ts +9 -4
- package/lib/routes/crac/namespace.ts +1 -0
- package/lib/routes/crac/templates/exam.art +54 -0
- package/lib/routes/creative-comic/book.ts +0 -2
- package/lib/routes/creative-comic/utils.ts +2 -2
- package/lib/routes/cssn/iolaw.ts +3 -3
- package/lib/routes/csu/cse.ts +1 -1
- package/lib/routes/csu/utils.ts +1 -1
- package/lib/routes/cts/news.ts +23 -22
- package/lib/routes/cuilingmag/index.ts +0 -2
- package/lib/routes/curius/links.ts +0 -2
- package/lib/routes/cursor/changelog.ts +2 -1
- package/lib/routes/cyzone/util.ts +8 -10
- 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/dapenti/utils.ts +1 -1
- package/lib/routes/dayanzai/index.ts +19 -21
- package/lib/routes/dbaplus/rss.ts +3 -4
- package/lib/routes/dcard/utils.ts +38 -37
- package/lib/routes/dcfever/utils.ts +0 -3
- package/lib/routes/ddosi/category.ts +3 -3
- package/lib/routes/ddosi/index.ts +3 -3
- package/lib/routes/deadline/posts.ts +0 -2
- 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/dehenglaw/index.ts +0 -2
- package/lib/routes/diariofruticola/filtro.ts +2 -1
- 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/disinfo/publications.ts +3 -3
- package/lib/routes/dlnews/category.ts +2 -7
- package/lib/routes/dlsite/utils.ts +0 -3
- package/lib/routes/dmzj/news.ts +5 -5
- package/lib/routes/dn/news.ts +0 -2
- package/lib/routes/dockerhub/tag.ts +1 -1
- 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/commercialpress/latest.ts +3 -3
- package/lib/routes/douban/movie/coming.ts +0 -3
- package/lib/routes/douban/other/celebrity.ts +9 -13
- package/lib/routes/douban/other/doulist.ts +16 -16
- package/lib/routes/douban/other/explore-column.ts +6 -6
- package/lib/routes/douban/other/explore.ts +23 -29
- package/lib/routes/douban/other/group.ts +1 -1
- package/lib/routes/douban/other/jobs.ts +5 -7
- package/lib/routes/douban/other/later.ts +3 -3
- package/lib/routes/douban/other/latest-music.ts +1 -1
- package/lib/routes/douban/other/list.ts +0 -2
- package/lib/routes/douban/other/playing.ts +1 -1
- package/lib/routes/douban/other/recommended.ts +0 -2
- package/lib/routes/douban/other/replied.ts +3 -3
- package/lib/routes/douban/other/replies.ts +3 -3
- package/lib/routes/douban/other/weekly-best.ts +0 -2
- package/lib/routes/douban/people/status.ts +1 -1
- package/lib/routes/douban/people/wish.ts +2 -2
- package/lib/routes/douyin/hashtag.ts +1 -1
- package/lib/routes/douyin/live.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/dtcj/datainsight.ts +3 -3
- package/lib/routes/duozhuayu/search.ts +0 -2
- package/lib/routes/dushu/fuzhou/index.ts +0 -2
- package/lib/routes/dw/rss.ts +2 -2
- package/lib/routes/dw/utils.ts +0 -2
- package/lib/routes/dx2025/index.ts +3 -3
- package/lib/routes/dytt/index.ts +2 -1
- package/lib/routes/e-hentai/index.ts +0 -2
- package/lib/routes/ea/apex-news.ts +104 -0
- package/lib/routes/ea/namespace.ts +6 -0
- package/lib/routes/eagle/blog.ts +3 -3
- package/lib/routes/eagle/changelog.ts +25 -29
- package/lib/routes/eastmoney/report/index.ts +0 -3
- package/lib/routes/ecnu/contest.ts +0 -2
- package/lib/routes/ecnu/jwc.ts +3 -3
- package/lib/routes/ehentai/ehapi.ts +1 -1
- package/lib/routes/elsevier/issue.ts +3 -5
- package/lib/routes/elsevier/journal.ts +3 -5
- package/lib/routes/embassy/supported-list.ts +1 -1
- package/lib/routes/epicgames/index.ts +0 -2
- package/lib/routes/eprice/rss.ts +0 -2
- package/lib/routes/eshukan/academic.ts +0 -2
- package/lib/routes/espn/news.ts +1 -4
- package/lib/routes/esquirehk/tag.ts +1 -4
- package/lib/routes/famitsu/category.ts +1 -3
- package/lib/routes/fanbox/utils.ts +0 -3
- package/lib/routes/fangchan/list.ts +2 -4
- package/lib/routes/fansly/utils.ts +0 -3
- 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 +1 -3
- package/lib/routes/finviz/quote.ts +14 -16
- package/lib/routes/fisher-spb/news.ts +3 -5
- package/lib/routes/fishshell/index.ts +3 -3
- package/lib/routes/fjksbm/index.ts +1 -1
- package/lib/routes/flyert/creditcard.ts +4 -4
- package/lib/routes/flyert/namespace.ts +1 -1
- package/lib/routes/flyert/preferential.ts +3 -3
- package/lib/routes/flyert/util.ts +0 -3
- package/lib/routes/flyert/utils.ts +17 -11
- package/lib/routes/focustaiwan/index.ts +0 -2
- package/lib/routes/followin/utils.ts +0 -3
- package/lib/routes/foresightnews/util.ts +9 -14
- package/lib/routes/fosshub/index.ts +0 -2
- package/lib/routes/freecomputerbooks/index.ts +0 -2
- package/lib/routes/ft/myft.ts +4 -4
- package/lib/routes/furstar/artists.ts +2 -2
- package/lib/routes/furstar/utils.ts +14 -19
- package/lib/routes/futunn/main.ts +0 -2
- package/lib/routes/fx-markets/channel.ts +12 -14
- package/lib/routes/fx678/kx.ts +2 -2
- package/lib/routes/fzmtr/announcements.ts +3 -3
- package/lib/routes/gameapps/index.ts +1 -3
- package/lib/routes/gamebase/news.ts +0 -3
- package/lib/routes/gamer/gnn-index.ts +3 -3
- package/lib/routes/gamer/hot.ts +3 -3
- package/lib/routes/gamersky/utils.ts +1 -1
- package/lib/routes/gcores/articles.ts +0 -3
- package/lib/routes/gcores/categories.ts +0 -3
- package/lib/routes/gcores/collections.ts +0 -3
- package/lib/routes/gcores/news.ts +0 -3
- package/lib/routes/gcores/parser.ts +1 -4
- package/lib/routes/gcores/program-previews.ts +47 -0
- package/lib/routes/gcores/radio.ts +5 -7
- package/lib/routes/gcores/tags.ts +0 -3
- package/lib/routes/gcores/topics.ts +0 -3
- package/lib/routes/gcores/util.ts +0 -3
- package/lib/routes/gcores/videos.ts +0 -3
- package/lib/routes/gdut/oa-news.ts +85 -84
- package/lib/routes/geekpark/index.ts +0 -2
- package/lib/routes/gelbooru/utils.ts +0 -3
- 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/gihyo/group.ts +17 -19
- package/lib/routes/github/comments.ts +2 -2
- package/lib/routes/github/contributors.ts +1 -1
- 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/citations.ts +1 -1
- package/lib/routes/google/fonts.ts +0 -2
- package/lib/routes/google/news.ts +0 -2
- package/lib/routes/google/scholar.ts +1 -1
- package/lib/routes/google/search.ts +0 -2
- package/lib/routes/gov/caac/cjwt.ts +0 -2
- package/lib/routes/gov/chinatax/latest.ts +3 -3
- 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/forestry/gjlckjdjt.ts +0 -2
- package/lib/routes/gov/general/general.ts +1 -4
- 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/zwfw.ts +0 -2
- package/lib/routes/gov/huizhou/zwgk/index.ts +3 -3
- package/lib/routes/gov/hunan/changsha/major-email.ts +3 -3
- package/lib/routes/gov/jiangsu/wlt/index.ts +2 -5
- package/lib/routes/gov/jinan/healthcommission/medical-exam-notice.ts +16 -18
- package/lib/routes/gov/mee/ywdt.ts +3 -3
- package/lib/routes/gov/miit/wjfb.ts +6 -6
- package/lib/routes/gov/miit/yjzj.ts +6 -6
- package/lib/routes/gov/miit/zcwj.ts +1 -1
- package/lib/routes/gov/moa/gjs.ts +2 -1
- package/lib/routes/gov/moa/moa.ts +3 -3
- package/lib/routes/gov/moa/zdscxx.ts +13 -11
- package/lib/routes/gov/moe/moe.ts +35 -37
- 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/nrta/news.ts +3 -3
- package/lib/routes/gov/pbc/goutongjiaoliu.ts +3 -3
- package/lib/routes/gov/pbc/gzlw.ts +3 -3
- package/lib/routes/gov/pbc/trade-announcement.ts +3 -3
- package/lib/routes/gov/pbc/zcyj.ts +3 -3
- 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 +3 -5
- package/lib/routes/gov/sh/wgj/wgj.ts +3 -5
- package/lib/routes/gov/sh/wsjkw/yqtb/index.ts +14 -18
- package/lib/routes/gov/shenzhen/hrss/szksy/index.ts +3 -3
- package/lib/routes/gov/shenzhen/zzb/index.ts +3 -3
- 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 +0 -2
- package/lib/routes/gov/taiyuan/rsj.ts +3 -3
- package/lib/routes/grainoil/category.ts +2 -1
- package/lib/routes/greasyfork/feedback.ts +1 -1
- package/lib/routes/greasyfork/versions.ts +1 -1
- package/lib/routes/guancha/member.ts +1 -1
- package/lib/routes/guangdiu/cheaps.ts +3 -3
- package/lib/routes/guangdiu/index.ts +3 -3
- package/lib/routes/guangdiu/rank.ts +3 -3
- package/lib/routes/guangdiu/search.ts +3 -3
- package/lib/routes/guangzhoumetro/news.ts +3 -3
- 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/hackernews/index.ts +5 -5
- package/lib/routes/hackyournews/index.ts +5 -5
- package/lib/routes/hafu/utils.ts +90 -99
- package/lib/routes/hanime1/namespace.ts +7 -0
- package/lib/routes/hanime1/previews.ts +97 -0
- package/lib/routes/hanime1/search.ts +95 -0
- package/lib/routes/hashnode/blog.ts +0 -2
- package/lib/routes/hbr/topic.ts +3 -3
- package/lib/routes/hdu/cs/notice.ts +10 -15
- package/lib/routes/hdu/cs/pg.ts +10 -15
- package/lib/routes/hebtv/nong-bo-shi-zai-xing-dong.ts +0 -2
- package/lib/routes/hellobtc/information.ts +3 -3
- package/lib/routes/hellobtc/kepu.ts +3 -3
- package/lib/routes/hellobtc/news.ts +3 -3
- package/lib/routes/hellogithub/report.ts +0 -2
- package/lib/routes/hellogithub/volume.ts +0 -2
- package/lib/routes/hicairo/rss.ts +3 -3
- package/lib/routes/hiring.cafe/jobs.ts +0 -3
- package/lib/routes/hit/hitgs.ts +3 -3
- package/lib/routes/hitcon/zeroday.ts +0 -3
- package/lib/routes/hitwh/today.ts +3 -3
- package/lib/routes/hk01/utils.ts +0 -3
- package/lib/routes/hkej/index.ts +11 -15
- package/lib/routes/hkepc/index.ts +1 -1
- package/lib/routes/hket/index.ts +1 -3
- package/lib/routes/hkjunkcall/index.ts +3 -3
- package/lib/routes/hostmonit/cloudflareyes.ts +0 -2
- package/lib/routes/hotukdeals/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/howtoforge/rss.ts +3 -3
- package/lib/routes/hoyolab/news.ts +0 -2
- package/lib/routes/hpoi/banner-item.ts +3 -3
- package/lib/routes/hpoi/info.ts +68 -23
- package/lib/routes/hpoi/user.ts +3 -3
- package/lib/routes/hpoi/utils.ts +3 -3
- package/lib/routes/hrbeu/gx/card.ts +3 -3
- package/lib/routes/hrbeu/gx/list.ts +3 -3
- package/lib/routes/hrbeu/job/bigemploy.ts +3 -3
- package/lib/routes/hrbeu/job/calendar.ts +3 -3
- package/lib/routes/hrbeu/job/list.ts +3 -3
- package/lib/routes/hrbeu/uae/news.ts +3 -3
- package/lib/routes/hrbeu/yjsy/list.ts +3 -3
- package/lib/routes/huggingface/blog-community.ts +126 -0
- package/lib/routes/hupu/all.ts +0 -2
- package/lib/routes/hupu/bbs.ts +0 -2
- package/lib/routes/huxiu/util.ts +0 -3
- package/lib/routes/i-cable/news.ts +0 -3
- package/lib/routes/ianspriggs/index.ts +0 -2
- package/lib/routes/icac/news.ts +3 -3
- package/lib/routes/idaily/index.ts +0 -2
- package/lib/routes/idolmaster/news.ts +1 -1
- 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/ifeng/news.ts +0 -2
- package/lib/routes/ifeng/utils.ts +0 -3
- package/lib/routes/iguoguo/index.ts +57 -55
- 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 +1 -4
- package/lib/routes/imdb/chart.ts +1 -3
- package/lib/routes/imhcg/blog.ts +6 -6
- package/lib/routes/imiker/jinghua.ts +0 -2
- package/lib/routes/infoq/presentations.ts +0 -2
- package/lib/routes/infoq/topic.ts +1 -1
- package/lib/routes/informs/index.ts +3 -6
- package/lib/routes/inoreader/index.ts +17 -19
- package/lib/routes/instagram/common-utils.ts +0 -3
- package/lib/routes/instagram/private-api/index.ts +1 -1
- package/lib/routes/instagram/web-api/utils.ts +0 -3
- package/lib/routes/ipsw/index.ts +10 -11
- package/lib/routes/ipsw.dev/index.ts +3 -5
- package/lib/routes/iqilu/program.ts +0 -2
- package/lib/routes/iqiyi/album.ts +0 -2
- package/lib/routes/iqiyi/video.ts +6 -10
- package/lib/routes/iresearch/chart.ts +0 -3
- package/lib/routes/iresearch/report.ts +1 -3
- 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/index.ts +3 -3
- package/lib/routes/ithome/ranking.ts +5 -5
- package/lib/routes/ithome/tag.ts +3 -3
- package/lib/routes/ithome/tw/feeds.ts +1 -1
- 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 +46 -53
- package/lib/routes/japanpost/utils.ts +4 -4
- 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/jewishmuseum/exhibitions.ts +2 -2
- package/lib/routes/jianshu/collection.ts +1 -1
- package/lib/routes/jianshu/home.ts +1 -1
- package/lib/routes/jianshu/user.ts +1 -1
- package/lib/routes/jiemian/account.ts +16 -0
- package/lib/routes/jiemian/common.ts +101 -0
- package/lib/routes/jiemian/lists.ts +93 -106
- package/lib/routes/jiemian/special.ts +12 -0
- package/lib/routes/jiemian/video.ts +19 -0
- package/lib/routes/jiemian/vip.ts +20 -0
- package/lib/routes/jike/utils.ts +0 -1
- 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/jingzhengu/utils.ts +3 -3
- 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/jisilu/util.ts +2 -1
- 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 +2 -4
- package/lib/routes/jpmorganchase/namespace.ts +9 -0
- package/lib/routes/jpmorganchase/research.ts +107 -0
- package/lib/routes/jpxgmn/search.ts +2 -2
- package/lib/routes/jpxgmn/tab.ts +3 -3
- package/lib/routes/jpxgmn/utils.ts +11 -6
- package/lib/routes/jpxgmn/weekly.ts +3 -3
- package/lib/routes/juejin/pins.ts +4 -6
- package/lib/routes/jumeili/home.ts +98 -0
- package/lib/routes/{trending → jumeili}/namespace.ts +2 -2
- 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/kanxue/topic.ts +5 -5
- package/lib/routes/kbs/news.ts +3 -3
- package/lib/routes/kbs/today.ts +3 -3
- package/lib/routes/kcna/news.ts +35 -37
- package/lib/routes/keep/templates/user.art +10 -8
- package/lib/routes/keep/user.ts +30 -38
- package/lib/routes/kemono/index.ts +2 -4
- package/lib/routes/kepu/live.ts +0 -2
- package/lib/routes/kpmg/insights.ts +0 -2
- package/lib/routes/kpopping/kpics.ts +10 -13
- package/lib/routes/kpopping/news.ts +2 -4
- package/lib/routes/kuaidi100/utils.ts +1 -1
- package/lib/routes/kurogames/namespace.ts +1 -1
- package/lib/routes/kurogames/wutheringwaves/constants.ts +34 -0
- package/lib/routes/kurogames/wutheringwaves/news.ts +63 -33
- package/lib/routes/kurogames/wutheringwaves/utils.ts +79 -0
- package/lib/routes/kyodonews/index.ts +8 -10
- package/lib/routes/lala/rss.ts +3 -3
- package/lib/routes/lang/room.ts +0 -2
- package/lib/routes/lanqiao/utils.ts +0 -3
- package/lib/routes/learnblockchain/posts.ts +11 -15
- package/lib/routes/learnku/topic.ts +1 -3
- package/lib/routes/leetcode/articles.ts +8 -8
- package/lib/routes/leetcode/dailyquestion-cn.ts +0 -2
- package/lib/routes/leetcode/dailyquestion-en.ts +0 -2
- package/lib/routes/leiphone/index.ts +1 -1
- package/lib/routes/lfsyd/utils.ts +0 -3
- package/lib/routes/lhratings/research.ts +2 -1
- package/lib/routes/linkedin/cn/renderer.ts +1 -1
- package/lib/routes/linkedin/cn/utils.ts +1 -4
- package/lib/routes/linkedin/posts.ts +1 -0
- package/lib/routes/linkresearcher/index.ts +1 -3
- package/lib/routes/linovelib/novel.ts +4 -4
- package/lib/routes/liquipedia/cs-matches.ts +20 -22
- package/lib/routes/literotica/category.ts +3 -3
- package/lib/routes/literotica/new.ts +3 -3
- 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/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/lsnu/jiaowc/tzgg.ts +1 -1
- package/lib/routes/ltaaa/article.ts +2 -4
- package/lib/routes/luogu/contest.ts +25 -25
- package/lib/routes/luolei/index.ts +0 -2
- package/lib/routes/lvv2/news.ts +3 -5
- package/lib/routes/lvv2/top.ts +3 -5
- 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/comic.ts +30 -31
- package/lib/routes/manhuagui/subscribe.ts +8 -10
- package/lib/routes/manyvids/video.ts +1 -4
- package/lib/routes/mckinsey/cn/index.ts +1 -1
- package/lib/routes/mcmod/index.ts +2 -3
- package/lib/routes/mdpi/journal.ts +3 -5
- package/lib/routes/melonbooks/search.ts +1 -1
- package/lib/routes/mercari/util.ts +0 -2
- package/lib/routes/metacritic/index.ts +0 -2
- package/lib/routes/metacritic/release.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 +19 -75
- package/lib/routes/mindmeister/example.ts +0 -2
- package/lib/routes/minecraft/version.ts +6 -6
- package/lib/routes/mingpao/index.ts +1 -3
- package/lib/routes/miniflux/entry.ts +5 -5
- package/lib/routes/miniflux/subscription.ts +2 -2
- package/lib/routes/missav/new.ts +0 -2
- package/lib/routes/misskey/home-timeline.ts +1 -1
- package/lib/routes/misskey/user-timeline.ts +1 -1
- package/lib/routes/misskey/utils.ts +0 -3
- package/lib/routes/mittrchina/index.ts +0 -2
- 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/modian/zhongchou.ts +3 -3
- package/lib/routes/modrinth/versions.ts +0 -3
- package/lib/routes/mpaypass/main.ts +7 -7
- package/lib/routes/mpaypass/news.ts +2 -2
- package/lib/routes/mrdx/daily.ts +1 -1
- package/lib/routes/msn/index.ts +2 -2
- package/lib/routes/mycard520/news.ts +3 -11
- package/lib/routes/mydrivers/cid.ts +192 -6
- package/lib/routes/mydrivers/index.ts +41 -13
- package/lib/routes/mydrivers/rank.ts +2 -3
- package/lib/routes/mydrivers/util.ts +10 -13
- 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 +1 -3
- package/lib/routes/nasa/apod-ncku.ts +3 -3
- package/lib/routes/nasa/apod.ts +3 -3
- 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/nber/common.ts +0 -3
- package/lib/routes/ncc-cma/cmdp.ts +0 -2
- package/lib/routes/ncepu/master/masterinfo.ts +3 -3
- package/lib/routes/neea/index.ts +1 -1
- package/lib/routes/neea/jlpt.ts +3 -2
- package/lib/routes/netflav/index.ts +0 -2
- package/lib/routes/neu/bmie.ts +1 -1
- package/lib/routes/newrank/utils.ts +11 -1
- package/lib/routes/news/xhsxw.ts +0 -2
- package/lib/routes/newsmarket/index.ts +3 -3
- package/lib/routes/newzmz/index.ts +1 -1
- package/lib/routes/newzmz/util.ts +0 -3
- package/lib/routes/nextapple/realtime.ts +28 -27
- package/lib/routes/nga/post.ts +3 -2
- package/lib/routes/ngocn2/index.ts +3 -3
- package/lib/routes/nhentai/util.ts +0 -3
- package/lib/routes/nhk/news-web-easy.ts +15 -22
- package/lib/routes/nhk/news.ts +0 -2
- package/lib/routes/nicovideo/utils.ts +1 -4
- package/lib/routes/nifd/research.ts +3 -3
- package/lib/routes/nikkei/asia/index.ts +27 -27
- package/lib/routes/nikkei/cn/index.ts +8 -1
- 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/system-update.ts +2 -4
- package/lib/routes/nintendo/utils.ts +2 -5
- package/lib/routes/njit/jwc.ts +5 -6
- package/lib/routes/njit/tzgg.ts +6 -6
- package/lib/routes/njnu/ceai/ceai.ts +1 -1
- package/lib/routes/njnu/jwc/jwc.ts +3 -3
- package/lib/routes/nju/gra.ts +2 -2
- package/lib/routes/nju/scit.ts +8 -10
- package/lib/routes/nju/zbb.ts +19 -23
- package/lib/routes/njupt/jwc.ts +6 -6
- package/lib/routes/njust/cwc.ts +5 -9
- package/lib/routes/njust/dgxg.ts +5 -9
- package/lib/routes/njust/eo.ts +5 -9
- package/lib/routes/njust/eoe.ts +5 -9
- package/lib/routes/njust/jwc.ts +5 -9
- package/lib/routes/nltimes/news.ts +5 -5
- package/lib/routes/nmtv/column.ts +0 -2
- package/lib/routes/notateslaapp/update.ts +9 -13
- package/lib/routes/notefolio/search.ts +0 -2
- package/lib/routes/now/news.ts +3 -3
- package/lib/routes/nowcoder/discuss.ts +5 -5
- package/lib/routes/nowcoder/jobcenter.ts +3 -3
- package/lib/routes/npm/package.ts +0 -2
- package/lib/routes/ntdm/video.ts +4 -4
- package/lib/routes/ntdtv/channel.ts +2 -2
- package/lib/routes/nuaa/college/cae.ts +6 -6
- package/lib/routes/nuaa/college/cs.ts +6 -6
- package/lib/routes/nuaa/jwc/jwc.ts +6 -6
- package/lib/routes/nuaa/yjsy/yjsy.ts +6 -6
- package/lib/routes/nuist/bulletin.ts +20 -22
- package/lib/routes/nwafu/all.ts +3 -3
- package/lib/routes/nytimes/book.ts +3 -3
- package/lib/routes/nytimes/daily-briefing-chinese.ts +0 -2
- package/lib/routes/nytimes/rss.ts +5 -1
- package/lib/routes/oceanengine/arithmetic-index.ts +1 -3
- 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 +3 -3
- package/lib/routes/oncc/index.ts +3 -5
- package/lib/routes/oncc/money18.ts +0 -2
- package/lib/routes/onet/news.ts +0 -2
- package/lib/routes/onet/utils.ts +0 -3
- package/lib/routes/openai/chatgpt.ts +2 -2
- package/lib/routes/openai/common.ts +69 -3
- package/lib/routes/openai/news.ts +32 -0
- 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 +40 -44
- package/lib/routes/oschina/column.ts +2 -4
- package/lib/routes/oschina/event.ts +2 -4
- package/lib/routes/oshwhub/explore.ts +0 -2
- package/lib/routes/osu/beatmaps/latest-ranked.ts +2 -4
- package/lib/routes/otobanana/utils.ts +0 -3
- package/lib/routes/oup/index.ts +0 -2
- package/lib/routes/p-articles/contributors.ts +5 -5
- package/lib/routes/p-articles/section.ts +5 -5
- package/lib/routes/papers/category.ts +2 -4
- package/lib/routes/papers/query.ts +0 -2
- package/lib/routes/parliament.uk/petitions.ts +0 -3
- package/lib/routes/patagonia/new-arrivals.ts +9 -16
- package/lib/routes/patreon/feed.ts +0 -3
- package/lib/routes/penguin-random-house/articles.ts +5 -7
- package/lib/routes/penguin-random-house/thereaddown.ts +5 -7
- package/lib/routes/penguin-random-house/utils.ts +1 -4
- package/lib/routes/people/index.ts +13 -13
- package/lib/routes/people/xjpjh.ts +5 -5
- package/lib/routes/phoronix/index.ts +2 -2
- package/lib/routes/pianyuan/app.ts +1 -1
- package/lib/routes/pianyuan/search.ts +2 -2
- package/lib/routes/picnob/user.ts +4 -6
- package/lib/routes/picuki/profile.ts +0 -2
- package/lib/routes/pikabu/utils.ts +0 -3
- package/lib/routes/pincong/hot.ts +6 -8
- package/lib/routes/pincong/index.ts +5 -7
- package/lib/routes/pincong/topic.ts +5 -7
- package/lib/routes/pixabay/search.ts +0 -2
- package/lib/routes/pixiv/api/get-ranking.ts +1 -1
- package/lib/routes/pixiv/pixiv-got.ts +1 -1
- package/lib/routes/piyao/jrpy.ts +3 -3
- package/lib/routes/pku/bbs/hot.ts +5 -7
- package/lib/routes/pku/cls/lecture.ts +3 -3
- package/lib/routes/pku/hr.ts +3 -3
- package/lib/routes/pku/nsd.ts +3 -3
- package/lib/routes/pku/pkuyjs.ts +9 -13
- package/lib/routes/pku/rccp/mzyt.ts +3 -3
- package/lib/routes/pku/scc/recruit.ts +3 -3
- package/lib/routes/playpcesor/rss.ts +3 -3
- package/lib/routes/pnas/index.ts +1 -3
- package/lib/routes/podwise/episodes.ts +1 -1
- package/lib/routes/pornhub/category.ts +2 -2
- package/lib/routes/pornhub/utils.ts +0 -3
- package/lib/routes/priconne-redive/news.ts +1 -1
- package/lib/routes/producthunt/today.ts +0 -2
- package/lib/routes/ps/monthly-games.ts +0 -2
- package/lib/routes/ps/trophy.ts +35 -43
- 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/qidian/free-next.ts +11 -13
- package/lib/routes/qidian/free.ts +13 -15
- package/lib/routes/qingting/podcast.ts +1 -1
- package/lib/routes/qipamaijia/index.ts +3 -3
- package/lib/routes/qoo-app/apps/comment.ts +0 -2
- package/lib/routes/qoo-app/news.ts +1 -1
- 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/qq88/index.ts +3 -3
- package/lib/routes/questmobile/report.ts +0 -2
- package/lib/routes/qust/jw.ts +3 -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 +2 -4
- package/lib/routes/rattibha/templates/description.art +12 -0
- package/lib/routes/rattibha/user.ts +33 -24
- 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/resonac/products.ts +1 -1
- package/lib/routes/reuters/common.ts +17 -4
- package/lib/routes/reuters/investigates.ts +3 -3
- package/lib/routes/rfi/namespace.ts +4 -1
- package/lib/routes/rfi/news.ts +15 -4
- package/lib/routes/routledge/book-series.ts +0 -2
- package/lib/routes/rsc/journal.ts +0 -2
- package/lib/routes/rsshub/routes.ts +1 -1
- package/lib/routes/ruc/ai.ts +2 -2
- package/lib/routes/rustcc/jobs.ts +1 -1
- package/lib/routes/rustcc/news.ts +1 -1
- package/lib/routes/sara/index.ts +1 -1
- package/lib/routes/saraba1st/digest.ts +7 -7
- package/lib/routes/saraba1st/namespace.ts +1 -1
- package/lib/routes/saraba1st/templates/digest.art +1 -1
- package/lib/routes/saraba1st/thread.ts +10 -6
- 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/scientificamerican/podcast.ts +0 -3
- package/lib/routes/scmp/index.ts +15 -10
- package/lib/routes/sctv/programme.ts +0 -2
- package/lib/routes/scut/jwc/news.ts +1 -1
- package/lib/routes/scut/jwc/notice.ts +1 -1
- package/lib/routes/scut/jwc/school.ts +1 -1
- package/lib/routes/sdu/cmse.ts +3 -3
- package/lib/routes/sdu/cs/index.ts +4 -4
- package/lib/routes/sdu/epe.ts +3 -3
- package/lib/routes/sdu/mech.ts +3 -4
- package/lib/routes/sdu/sc.ts +3 -3
- package/lib/routes/seekingalpha/index.ts +0 -2
- package/lib/routes/sehuatang/index.ts +1 -1
- 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/shmeea/self-study.ts +1 -1
- package/lib/routes/shmtu/portal.ts +0 -2
- package/lib/routes/shoac/recent-show.ts +0 -2
- package/lib/routes/shopback/store.ts +3 -3
- package/lib/routes/shopify/apps/[handle].reviews.ts +1 -1
- package/lib/routes/shoppingdesign/posts.ts +26 -25
- package/lib/routes/shuiguopai/index.ts +0 -2
- package/lib/routes/sicau/dky.ts +3 -3
- package/lib/routes/sicau/jiaowu.ts +1 -1
- package/lib/routes/sicau/yan.ts +3 -3
- package/lib/routes/sicau/zsjy.ts +3 -3
- package/lib/routes/simpleinfo/index.ts +3 -5
- package/lib/routes/sina/utils.ts +0 -3
- package/lib/routes/sinchew/index.ts +0 -2
- package/lib/routes/sjtu/gs.ts +3 -3
- package/lib/routes/sjtu/tongqu/activity.ts +0 -2
- package/lib/routes/skeb/utils.ts +0 -3
- package/lib/routes/snowpeak/us-new-arrivals.ts +4 -6
- package/lib/routes/sobooks/utils.ts +3 -3
- package/lib/routes/sogou/search.ts +0 -2
- package/lib/routes/sohu/mobile.ts +149 -0
- package/lib/routes/sohu/mp.ts +0 -2
- package/lib/routes/soundofhope/channel.ts +3 -3
- 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 +0 -2
- package/lib/routes/spotify/saved.ts +1 -1
- package/lib/routes/springer/journal.ts +5 -7
- package/lib/routes/sqmc/www.ts +1 -1
- package/lib/routes/sse/convert.ts +11 -5
- package/lib/routes/sse/disclosure.ts +9 -5
- package/lib/routes/sse/inquire.ts +0 -2
- package/lib/routes/sse/renewal.ts +2 -4
- package/lib/routes/ssm/news.ts +14 -18
- package/lib/routes/sspai/series.ts +21 -23
- package/lib/routes/startuplatte/index.ts +3 -3
- package/lib/routes/stcn/index.ts +2 -1
- package/lib/routes/stdaily/digitalpaper.ts +9 -11
- 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/stheadline/std/realtime.ts +1 -1
- package/lib/routes/storm/index.ts +3 -3
- package/lib/routes/storyfm/episodes.ts +0 -2
- package/lib/routes/storyfm/index.ts +3 -3
- package/lib/routes/straitstimes/index.ts +0 -2
- package/lib/routes/surfshark/blog.ts +0 -2
- package/lib/routes/swjtu/scai.ts +19 -4
- package/lib/routes/swjtu/utils.ts +0 -3
- package/lib/routes/swpu/cjxy.ts +1 -1
- package/lib/routes/swpu/dean.ts +1 -1
- package/lib/routes/swpu/dxy.ts +1 -1
- package/lib/routes/swpu/is.ts +1 -1
- 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 +5 -31
- package/lib/routes/szftedu/gonggao.ts +1 -1
- package/lib/routes/szse/inquire.ts +0 -2
- package/lib/routes/szse/projectdynamic.ts +0 -2
- 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/telecompaper/news.ts +3 -3
- package/lib/routes/telecompaper/search.ts +3 -3
- package/lib/routes/telegram/blog.ts +1 -1
- package/lib/routes/telegram/channel.ts +482 -487
- package/lib/routes/telegram/scripts/get-telegram-session.mjs +1 -1
- package/lib/routes/telegram/tglib/channel.ts +4 -4
- package/lib/routes/telegram/tglib/client.ts +2 -2
- package/lib/routes/tencent/news/author.ts +0 -2
- 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 +0 -2
- package/lib/routes/tfc-taiwan/category.ts +53 -0
- package/lib/routes/tfc-taiwan/index.ts +26 -10
- package/lib/routes/tfc-taiwan/namespace.ts +4 -1
- package/lib/routes/tfc-taiwan/utils.ts +24 -52
- package/lib/routes/the/index.ts +0 -2
- package/lib/routes/theatlantic/utils.ts +0 -3
- package/lib/routes/theblockbeats/index.ts +0 -3
- package/lib/routes/thecover/channel.ts +6 -8
- package/lib/routes/theinitium/app.ts +5 -5
- package/lib/routes/theinitium/templates/description.art +0 -3
- package/lib/routes/themoviedb/utils.ts +0 -3
- package/lib/routes/thenewslens/index.ts +0 -2
- package/lib/routes/thepaper/839studio/category.ts +8 -12
- package/lib/routes/thepaper/839studio/studio.ts +8 -12
- package/lib/routes/thepaper/factpaper.ts +0 -2
- package/lib/routes/thepaper/utils.ts +0 -3
- package/lib/routes/theverge/index.ts +0 -3
- package/lib/routes/thoughtco/index.ts +0 -2
- package/lib/routes/tiktok/user.ts +0 -2
- package/lib/routes/timednews/news.ts +3 -3
- package/lib/routes/tingshuitz/changsha.ts +3 -3
- package/lib/routes/tingshuitz/dongguan.ts +9 -13
- package/lib/routes/tingshuitz/hangzhou.ts +9 -13
- package/lib/routes/tingshuitz/nanjing.ts +13 -15
- package/lib/routes/tingshuitz/shenzhen.ts +0 -2
- package/lib/routes/tingshuitz/xian.ts +9 -11
- package/lib/routes/tingshuitz/xiaoshan.ts +9 -13
- package/lib/routes/tingshuitz/yangjiang.ts +10 -12
- package/lib/routes/tingtingfm/program.ts +0 -2
- package/lib/routes/tisi/index.ts +3 -3
- package/lib/routes/tju/cic/index.ts +3 -3
- package/lib/routes/tju/news/index.ts +1 -1
- package/lib/routes/tju/oaa/index.ts +3 -3
- package/lib/routes/tju/yzb/index.ts +3 -3
- package/lib/routes/tmtpost/util.ts +0 -3
- package/lib/routes/tophub/list.ts +0 -2
- 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 +0 -5
- package/lib/routes/tribalfootball/latest.ts +3 -5
- package/lib/routes/trow/portal.ts +11 -15
- package/lib/routes/tvb/news.ts +0 -2
- package/lib/routes/tvtropes/featured.ts +0 -2
- package/lib/routes/twitter/api/mobile-api/login.ts +1 -1
- package/lib/routes/twitter/utils.ts +9 -8
- package/lib/routes/twreporter/fetch-article.ts +0 -3
- package/lib/routes/txrjy/fornumtopic.ts +5 -7
- package/lib/routes/uber/blog.ts +1 -1
- package/lib/routes/ucas/index.ts +1 -1
- package/lib/routes/udn/breaking-news.ts +2 -4
- package/lib/routes/uestc/auto.ts +3 -3
- package/lib/routes/uestc/cqe.ts +3 -3
- package/lib/routes/uestc/news.ts +3 -3
- package/lib/routes/uestc/scse.ts +3 -3
- package/lib/routes/uestc/sice.ts +3 -3
- package/lib/routes/uestc/sise.ts +3 -3
- package/lib/routes/ulapia/index.ts +4 -4
- package/lib/routes/ulapia/research.ts +3 -3
- package/lib/routes/unusualwhales/news.ts +10 -8
- package/lib/routes/uptimerobot/rss.ts +0 -2
- package/lib/routes/urbandictionary/random.ts +0 -2
- package/lib/routes/ustb/tj/news.ts +1 -1
- package/lib/routes/ustb/yjsy/news.ts +40 -44
- package/lib/routes/ustc/index.ts +4 -4
- package/lib/routes/ustc/jwc.ts +5 -5
- package/lib/routes/usts/jwch.ts +3 -3
- package/lib/routes/utgd/utils.ts +0 -3
- package/lib/routes/uw/gix/news.ts +3 -3
- package/lib/routes/v2ex/xna.ts +1 -1
- package/lib/routes/vcb-s/category.ts +0 -2
- package/lib/routes/vcb-s/index.ts +0 -2
- package/lib/routes/verfghbw/press.ts +3 -3
- package/lib/routes/vice/topic.ts +1 -3
- package/lib/routes/vimeo/category.ts +0 -2
- package/lib/routes/vimeo/channel.ts +16 -20
- package/lib/routes/vimeo/usr-videos.ts +0 -2
- package/lib/routes/visionias/utils.ts +0 -3
- package/lib/routes/wainao/topics.ts +0 -3
- package/lib/routes/wallhaven/index.ts +3 -3
- 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/data258.ts +4 -4
- package/lib/routes/wechat/msgalbum.ts +1 -1
- package/lib/routes/wechat/sogou.ts +171 -50
- package/lib/routes/wechat/tgchannel.ts +113 -115
- package/lib/routes/weibo/friends.ts +1 -1
- package/lib/routes/weibo/group.ts +1 -1
- package/lib/routes/weibo/keyword.ts +1 -1
- package/lib/routes/weibo/search/hot.ts +1 -3
- package/lib/routes/weibo/timeline.ts +1 -1
- package/lib/routes/weibo/user-bookmarks.ts +1 -1
- package/lib/routes/weibo/user.ts +9 -8
- package/lib/routes/weibo/utils.ts +1 -1
- package/lib/routes/wellcee/rent.ts +1 -3
- package/lib/routes/wenku8/index.ts +3 -3
- package/lib/routes/wfu/jwc.ts +18 -20
- package/lib/routes/wfu/news.ts +18 -20
- package/lib/routes/who/news-room.ts +8 -10
- package/lib/routes/whu/gs/index.ts +2 -2
- package/lib/routes/whu/news.ts +0 -2
- 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/wizfile/index.ts +3 -3
- package/lib/routes/wmc-bj/publish.ts +0 -2
- package/lib/routes/wnacg/common.ts +0 -3
- package/lib/routes/woshipm/popular.ts +3 -2
- package/lib/routes/wsj/news.ts +3 -2
- package/lib/routes/wsj/utils.ts +1 -12
- package/lib/routes/wsyu/news.ts +6 -6
- package/lib/routes/wtu/job.ts +3 -3
- package/lib/routes/wzu/news.ts +13 -17
- package/lib/routes/x-mol/news.ts +0 -2
- package/lib/routes/x-mol/paper.ts +17 -22
- package/lib/routes/xaut/index.ts +4 -4
- package/lib/routes/xaut/jwc.ts +3 -3
- package/lib/routes/xaut/rsc.ts +3 -3
- package/lib/routes/xiaohongshu/user.ts +1 -1
- package/lib/routes/xiaohongshu/util.ts +9 -5
- package/lib/routes/xiaomiyoupin/crowdfunding.ts +0 -2
- package/lib/routes/xiaomiyoupin/utils.ts +0 -3
- package/lib/routes/ximalaya/utils.ts +2 -2
- package/lib/routes/xinpianchang/util.ts +0 -3
- package/lib/routes/xjtu/dean.ts +3 -7
- package/lib/routes/xjtu/ee.ts +3 -3
- package/lib/routes/xjtu/gs/tzgg.ts +3 -3
- package/lib/routes/xjtu/job.ts +0 -2
- package/lib/routes/xjtu/std.ts +0 -2
- package/lib/routes/xjtu/zs.ts +171 -0
- package/lib/routes/xkb/index.ts +0 -2
- package/lib/routes/xmanhua/index.ts +13 -15
- package/lib/routes/xmut/jwc/bkjw.ts +3 -3
- 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/listid.ts +1 -1
- 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/ygkkk/rss.ts +3 -3
- package/lib/routes/yicai/dt.ts +0 -2
- package/lib/routes/yicai/utils.ts +0 -3
- package/lib/routes/yilinzazhi/latest.ts +1 -1
- package/lib/routes/ymgal/game.ts +1 -3
- 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 +3 -8
- package/lib/routes/yomujp/level.ts +2 -2
- package/lib/routes/youku/channel.ts +24 -28
- package/lib/routes/youtube/api/google.ts +189 -0
- package/lib/routes/youtube/api/youtubei.ts +98 -0
- package/lib/routes/youtube/channel.ts +45 -46
- package/lib/routes/youtube/community.ts +2 -4
- package/lib/routes/youtube/playlist.ts +10 -29
- package/lib/routes/youtube/subscriptions.ts +3 -11
- package/lib/routes/youtube/user.ts +30 -81
- package/lib/routes/youtube/utils.ts +29 -42
- package/lib/routes/yxdown/news.ts +3 -3
- package/lib/routes/yxdown/recommend.ts +3 -3
- package/lib/routes/yxdzqb/index.ts +17 -21
- package/lib/routes/yyets/today.ts +8 -12
- package/lib/routes/zagg/new-arrivals.ts +7 -9
- package/lib/routes/zaimanhua/comic.ts +88 -0
- package/lib/routes/zaimanhua/namespace.ts +7 -0
- package/lib/routes/zaimanhua/template/comic.art +3 -0
- package/lib/routes/zaimanhua/update.ts +86 -0
- package/lib/routes/zaker/channel.ts +2 -5
- package/lib/routes/zaker/focus.ts +2 -5
- package/lib/routes/zaobao/util.ts +2 -5
- package/lib/routes/zcmu/jwc/index.ts +3 -3
- package/lib/routes/zcmu/yxy/index.ts +3 -3
- package/lib/routes/zcool/discover.ts +0 -2
- package/lib/routes/zcool/user.ts +1 -1
- package/lib/routes/zcool/utils.ts +0 -3
- package/lib/routes/zhibo8/luxiang.ts +1 -1
- package/lib/routes/zhihu/hot.ts +28 -8
- package/lib/routes/zhihu/pin/utils.ts +5 -5
- package/lib/routes/zhihu/weekly.ts +7 -7
- 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/zhujiceping/rss.ts +3 -3
- package/lib/routes/zimuxia/portfolio.ts +1 -1
- package/lib/routes/zju/career/index.ts +10 -14
- package/lib/routes/zju/cst/custom.ts +11 -16
- package/lib/routes/zju/cst/index.ts +8 -13
- package/lib/routes/zju/grs/index.ts +9 -13
- package/lib/routes/zju/list.ts +6 -6
- package/lib/routes/zju/physics/index.ts +3 -3
- package/lib/routes/zjut/da/index.ts +3 -3
- package/lib/routes/zjut/news.ts +3 -3
- package/lib/routes/zodgame/forum.ts +0 -2
- package/lib/routes/zotero/versions.ts +13 -17
- package/lib/routes/zrblog/rss.ts +3 -3
- package/lib/routes/zuvio/utils.ts +0 -3
- package/lib/routes/zxcs/namespace.ts +7 -0
- package/lib/routes/zxcs/novel.ts +95 -0
- package/lib/routes/zyshow/index.ts +0 -2
- package/lib/setup.test.ts +2 -0
- package/lib/utils/camelcase-keys.spec.ts +3 -3
- package/lib/utils/camelcase-keys.ts +4 -3
- package/lib/utils/common-config.test.ts +3 -2
- package/lib/utils/common-config.ts +17 -13
- package/lib/utils/common-utils.ts +1 -1
- package/lib/utils/git-hash.ts +1 -1
- package/lib/utils/helpers.test.ts +8 -1
- package/lib/utils/helpers.ts +20 -1
- package/lib/utils/md5.ts +1 -1
- package/lib/utils/parse-date.ts +4 -4
- package/lib/utils/rand-user-agent.test.ts +2 -2
- package/lib/utils/timezone.ts +1 -1
- package/lib/utils/wechat-mp.ts +3 -2
- package/package.json +57 -54
- package/lib/routes/apnews/api.ts +0 -77
- package/lib/routes/copernicium/index.ts +0 -75
- package/lib/routes/dnaindia/category.ts +0 -0
- package/lib/routes/jiemian/list.ts +0 -14
- package/lib/routes/mihoyo/templates/ys.art +0 -4
- package/lib/routes/openai/blog.ts +0 -66
- package/lib/routes/rsshub/referer-map.ts +0 -14
- package/lib/routes/tfc-taiwan/common.ts +0 -38
- package/lib/routes/tfc-taiwan/topic.ts +0 -17
- package/lib/routes/trending/all-trending.ts +0 -228
- package/lib/routes/trending/templates/content.art +0 -25
- package/lib/routes-deprecated/jpmorganchase/research.js +0 -52
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { describe, expect, it } from 'vitest';
|
|
2
|
-
import { getRouteNameFromPath, getSearchParamsString } from '@/utils/helpers';
|
|
2
|
+
import { getRouteNameFromPath, getSearchParamsString, parseDuration } from '@/utils/helpers';
|
|
3
3
|
|
|
4
4
|
describe('helpers', () => {
|
|
5
5
|
it('getRouteNameFromPath', () => {
|
|
@@ -17,4 +17,11 @@ describe('helpers', () => {
|
|
|
17
17
|
searchParams.append('ids[]', '2');
|
|
18
18
|
expect(getSearchParamsString(searchParams)).toBe('ids%5B%5D=1&ids%5B%5D=2');
|
|
19
19
|
});
|
|
20
|
+
|
|
21
|
+
it('parseDuration', () => {
|
|
22
|
+
expect(parseDuration('01:01:01')).toBe(3661);
|
|
23
|
+
expect(parseDuration('01:01')).toBe(61);
|
|
24
|
+
expect(parseDuration('00:01')).toBe(1);
|
|
25
|
+
expect(parseDuration('59')).toBe(59);
|
|
26
|
+
});
|
|
20
27
|
});
|
package/lib/utils/helpers.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { fileURLToPath } from 'url';
|
|
1
|
+
import { fileURLToPath } from 'node:url';
|
|
2
2
|
import path from 'node:path';
|
|
3
3
|
import { stringifyQuery } from 'ufo';
|
|
4
4
|
|
|
@@ -40,3 +40,22 @@ export function getSearchParamsString(searchParams: any) {
|
|
|
40
40
|
const searchParamsString = isPureObject(searchParams) ? stringifyQuery(searchParams) : null;
|
|
41
41
|
return searchParamsString ?? new URLSearchParams(searchParams).toString();
|
|
42
42
|
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* parse duration string to seconds
|
|
46
|
+
* @param {string} timeStr - duration string like "01:01:01" / "01:01" / "59"
|
|
47
|
+
* @returns {number} - total seconds
|
|
48
|
+
*/
|
|
49
|
+
export function parseDuration(timeStr: string) {
|
|
50
|
+
const clean = timeStr.trim().replaceAll(/[^\d:]/g, '');
|
|
51
|
+
return clean
|
|
52
|
+
.split(':')
|
|
53
|
+
.reverse()
|
|
54
|
+
.reduce((total, part, idx) => {
|
|
55
|
+
const n = Number(part);
|
|
56
|
+
if (Number.isNaN(n)) {
|
|
57
|
+
throw new TypeError(`Invalid segment: ${part}`);
|
|
58
|
+
}
|
|
59
|
+
return total + n * Math.pow(60, idx);
|
|
60
|
+
}, 0);
|
|
61
|
+
}
|
package/lib/utils/md5.ts
CHANGED
package/lib/utils/parse-date.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import dayjs from 'dayjs';
|
|
2
|
-
import customParseFormat from 'dayjs/plugin/customParseFormat';
|
|
3
|
-
import duration from 'dayjs/plugin/duration';
|
|
4
|
-
import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
|
|
5
|
-
import weekday from 'dayjs/plugin/weekday';
|
|
2
|
+
import customParseFormat from 'dayjs/plugin/customParseFormat.js';
|
|
3
|
+
import duration from 'dayjs/plugin/duration.js';
|
|
4
|
+
import isSameOrBefore from 'dayjs/plugin/isSameOrBefore.js';
|
|
5
|
+
import weekday from 'dayjs/plugin/weekday.js';
|
|
6
6
|
|
|
7
7
|
dayjs.extend(customParseFormat);
|
|
8
8
|
dayjs.extend(duration);
|
|
@@ -7,14 +7,14 @@ const mobileUa = randUserAgent({ browser: 'mobile safari', os: 'ios', device: 'm
|
|
|
7
7
|
|
|
8
8
|
describe('rand-user-agent', () => {
|
|
9
9
|
it('chrome should not include headlesschrome', () => {
|
|
10
|
-
const uaArr = Array(100)
|
|
10
|
+
const uaArr = Array.from({ length: 100 })
|
|
11
11
|
.fill(null)
|
|
12
12
|
.map(() => randUserAgent({ browser: 'chrome', os: 'windows' }));
|
|
13
13
|
const match = uaArr.find((e) => !!(e.includes('Chrome-Lighthouse') || e.includes('HeadlessChrome')));
|
|
14
14
|
expect(match).toBeFalsy();
|
|
15
15
|
});
|
|
16
16
|
it('chrome should not include electron', () => {
|
|
17
|
-
const uaArr = Array(100)
|
|
17
|
+
const uaArr = Array.from({ length: 100 })
|
|
18
18
|
.fill(null)
|
|
19
19
|
.map(() => randUserAgent({ browser: 'chrome', os: 'windows' }));
|
|
20
20
|
const match = uaArr.find((e) => !!e.includes('Electron'));
|
package/lib/utils/timezone.ts
CHANGED
package/lib/utils/wechat-mp.ts
CHANGED
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
*/
|
|
27
27
|
|
|
28
28
|
import ofetch from '@/utils/ofetch';
|
|
29
|
-
import { type Cheerio, type CheerioAPI,
|
|
29
|
+
import { type Cheerio, type CheerioAPI, load } from 'cheerio';
|
|
30
|
+
import type { Element } from 'domhandler';
|
|
30
31
|
import { parseDate } from '@/utils/parse-date';
|
|
31
32
|
import cache from '@/utils/cache';
|
|
32
33
|
import logger from '@/utils/logger';
|
|
@@ -127,7 +128,7 @@ const showTypeMap = {
|
|
|
127
128
|
const showTypeMapReverse = Object.fromEntries(Object.entries(showTypeMap).map(([k, v]) => [v, k]));
|
|
128
129
|
|
|
129
130
|
class ExtractMetadata {
|
|
130
|
-
private static genAssignmentRegExp = (varName: string, valuePattern: string, assignPattern: string) => RegExp(`\\b${varName}\\s*${assignPattern}\\s*(?<quote>["'])(?<value>${valuePattern})\\k<quote>`, 'mg');
|
|
131
|
+
private static genAssignmentRegExp = (varName: string, valuePattern: string, assignPattern: string) => new RegExp(`\\b${varName}\\s*${assignPattern}\\s*(?<quote>["'])(?<value>${valuePattern})\\k<quote>`, 'mg');
|
|
131
132
|
|
|
132
133
|
private static genExtractFunc = (
|
|
133
134
|
varName: string,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rsshub",
|
|
3
|
-
"version": "1.0.0-master.
|
|
3
|
+
"version": "1.0.0-master.fad0dfa",
|
|
4
4
|
"description": "Make RSS Great Again!",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"RSS"
|
|
@@ -34,61 +34,62 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@bbob/html": "4.2.0",
|
|
36
36
|
"@bbob/preset-html5": "4.2.0",
|
|
37
|
-
"@hono/node-server": "1.14.
|
|
38
|
-
"@hono/zod-openapi": "0.19.
|
|
39
|
-
"@notionhq/client": "
|
|
37
|
+
"@hono/node-server": "1.14.2",
|
|
38
|
+
"@hono/zod-openapi": "0.19.6",
|
|
39
|
+
"@notionhq/client": "3.0.1",
|
|
40
40
|
"@opentelemetry/api": "1.9.0",
|
|
41
|
-
"@opentelemetry/exporter-prometheus": "0.
|
|
42
|
-
"@opentelemetry/exporter-trace-otlp-http": "0.
|
|
43
|
-
"@opentelemetry/resources": "2.0.
|
|
44
|
-
"@opentelemetry/sdk-metrics": "2.0.
|
|
45
|
-
"@opentelemetry/sdk-trace-base": "2.0.
|
|
46
|
-
"@opentelemetry/semantic-conventions": "1.
|
|
41
|
+
"@opentelemetry/exporter-prometheus": "0.201.1",
|
|
42
|
+
"@opentelemetry/exporter-trace-otlp-http": "0.201.1",
|
|
43
|
+
"@opentelemetry/resources": "2.0.1",
|
|
44
|
+
"@opentelemetry/sdk-metrics": "2.0.1",
|
|
45
|
+
"@opentelemetry/sdk-trace-base": "2.0.1",
|
|
46
|
+
"@opentelemetry/semantic-conventions": "1.33.0",
|
|
47
47
|
"@postlight/parser": "2.2.3",
|
|
48
48
|
"@rss3/sdk": "0.0.25",
|
|
49
|
-
"@scalar/hono-api-reference": "0.8.
|
|
50
|
-
"@sentry/node": "9.
|
|
49
|
+
"@scalar/hono-api-reference": "0.8.10",
|
|
50
|
+
"@sentry/node": "9.20.0",
|
|
51
51
|
"@tonyrl/rand-user-agent": "2.0.83",
|
|
52
52
|
"aes-js": "3.1.2",
|
|
53
53
|
"art-template": "4.13.2",
|
|
54
54
|
"cheerio": "1.0.0",
|
|
55
55
|
"chrono-node": "2.8.0",
|
|
56
|
-
"city-timezones": "1.3.
|
|
56
|
+
"city-timezones": "1.3.1",
|
|
57
57
|
"cross-env": "7.0.3",
|
|
58
58
|
"crypto-js": "4.2.0",
|
|
59
59
|
"currency-symbol-map": "5.1.0",
|
|
60
60
|
"dayjs": "1.11.8",
|
|
61
61
|
"destr": "2.0.5",
|
|
62
62
|
"directory-import": "3.3.2",
|
|
63
|
-
"dotenv": "16.
|
|
63
|
+
"dotenv": "16.5.0",
|
|
64
64
|
"entities": "6.0.0",
|
|
65
65
|
"etag": "1.8.1",
|
|
66
66
|
"fanfou-sdk": "5.0.0",
|
|
67
67
|
"form-data": "4.0.2",
|
|
68
68
|
"googleapis": "148.0.0",
|
|
69
|
-
"hono": "4.7.
|
|
69
|
+
"hono": "4.7.10",
|
|
70
70
|
"html-to-text": "9.0.5",
|
|
71
71
|
"http-cookie-agent": "6.0.8",
|
|
72
72
|
"https-proxy-agent": "7.0.6",
|
|
73
73
|
"iconv-lite": "0.6.3",
|
|
74
|
-
"imapflow": "1.0.
|
|
74
|
+
"imapflow": "1.0.187",
|
|
75
75
|
"instagram-private-api": "1.46.1",
|
|
76
|
-
"ioredis": "5.6.
|
|
76
|
+
"ioredis": "5.6.1",
|
|
77
77
|
"ip-regex": "5.0.0",
|
|
78
|
-
"jsdom": "26.
|
|
78
|
+
"jsdom": "26.1.0",
|
|
79
79
|
"json-bigint": "1.0.0",
|
|
80
80
|
"jsonpath-plus": "10.3.0",
|
|
81
81
|
"jsrsasign": "10.9.0",
|
|
82
82
|
"lru-cache": "11.1.0",
|
|
83
83
|
"lz-string": "1.5.0",
|
|
84
|
-
"mailparser": "3.7.
|
|
84
|
+
"mailparser": "3.7.3",
|
|
85
85
|
"markdown-it": "14.1.0",
|
|
86
86
|
"module-alias": "2.2.3",
|
|
87
|
-
"narou": "1.
|
|
88
|
-
"notion-to-md": "3.1.
|
|
87
|
+
"narou": "1.2.0",
|
|
88
|
+
"notion-to-md": "3.1.9",
|
|
89
89
|
"oauth-1.0a": "2.2.6",
|
|
90
90
|
"ofetch": "1.4.1",
|
|
91
91
|
"otplib": "12.0.1",
|
|
92
|
+
"p-map": "7.0.3",
|
|
92
93
|
"pac-proxy-agent": "7.2.0",
|
|
93
94
|
"proxy-chain": "2.5.8",
|
|
94
95
|
"puppeteer": "22.6.2",
|
|
@@ -96,36 +97,36 @@
|
|
|
96
97
|
"puppeteer-extra-plugin-stealth": "2.11.2",
|
|
97
98
|
"puppeteer-extra-plugin-user-data-dir": "2.4.1",
|
|
98
99
|
"puppeteer-extra-plugin-user-preferences": "2.4.1",
|
|
99
|
-
"query-string": "9.1.
|
|
100
|
-
"rate-limiter-flexible": "7.
|
|
100
|
+
"query-string": "9.1.2",
|
|
101
|
+
"rate-limiter-flexible": "7.1.1",
|
|
101
102
|
"re2js": "1.1.0",
|
|
102
103
|
"rfc4648": "1.5.4",
|
|
103
104
|
"rss-parser": "3.13.0",
|
|
104
|
-
"sanitize-html": "2.
|
|
105
|
+
"sanitize-html": "2.17.0",
|
|
105
106
|
"simplecc-wasm": "1.1.0",
|
|
106
107
|
"socks-proxy-agent": "8.0.5",
|
|
107
108
|
"source-map": "0.7.4",
|
|
108
109
|
"telegram": "2.26.22",
|
|
109
|
-
"tiny-async-pool": "2.1.0",
|
|
110
110
|
"title": "4.0.1",
|
|
111
|
-
"tldts": "
|
|
111
|
+
"tldts": "7.0.7",
|
|
112
112
|
"tosource": "2.0.0-alpha.3",
|
|
113
113
|
"tough-cookie": "5.1.2",
|
|
114
|
-
"tsx": "4.19.
|
|
115
|
-
"twitter-api-v2": "1.
|
|
114
|
+
"tsx": "4.19.4",
|
|
115
|
+
"twitter-api-v2": "1.23.2",
|
|
116
116
|
"ufo": "1.6.1",
|
|
117
|
-
"undici": "6.21.
|
|
117
|
+
"undici": "6.21.3",
|
|
118
118
|
"uuid": "11.1.0",
|
|
119
119
|
"winston": "3.17.0",
|
|
120
120
|
"xxhash-wasm": "1.1.0",
|
|
121
|
-
"
|
|
121
|
+
"youtubei.js": "13.4.0",
|
|
122
|
+
"zod": "3.25.7"
|
|
122
123
|
},
|
|
123
124
|
"devDependencies": {
|
|
124
|
-
"@babel/preset-env": "7.
|
|
125
|
-
"@babel/preset-typescript": "7.27.
|
|
125
|
+
"@babel/preset-env": "7.27.2",
|
|
126
|
+
"@babel/preset-typescript": "7.27.1",
|
|
126
127
|
"@bbob/types": "4.2.0",
|
|
127
128
|
"@eslint/eslintrc": "3.3.1",
|
|
128
|
-
"@eslint/js": "9.
|
|
129
|
+
"@eslint/js": "9.27.0",
|
|
129
130
|
"@microsoft/eslint-formatter-sarif": "3.1.0",
|
|
130
131
|
"@stylistic/eslint-plugin": "4.2.0",
|
|
131
132
|
"@types/aes-js": "3.1.4",
|
|
@@ -135,45 +136,47 @@
|
|
|
135
136
|
"@types/etag": "1.8.3",
|
|
136
137
|
"@types/fs-extra": "11.0.4",
|
|
137
138
|
"@types/html-to-text": "9.0.4",
|
|
138
|
-
"@types/imapflow": "1.0.
|
|
139
|
+
"@types/imapflow": "1.0.21",
|
|
139
140
|
"@types/js-beautify": "1.14.3",
|
|
140
141
|
"@types/jsdom": "21.1.7",
|
|
141
142
|
"@types/json-bigint": "1.0.4",
|
|
142
143
|
"@types/jsrsasign": "10.5.13",
|
|
143
144
|
"@types/lint-staged": "13.3.0",
|
|
144
|
-
"@types/mailparser": "3.4.
|
|
145
|
+
"@types/mailparser": "3.4.6",
|
|
145
146
|
"@types/markdown-it": "14.1.2",
|
|
146
147
|
"@types/module-alias": "2.0.4",
|
|
147
|
-
"@types/node": "22.
|
|
148
|
-
"@types/sanitize-html": "2.
|
|
148
|
+
"@types/node": "22.15.19",
|
|
149
|
+
"@types/sanitize-html": "2.16.0",
|
|
149
150
|
"@types/supertest": "6.0.3",
|
|
150
|
-
"@types/tiny-async-pool": "2.0.3",
|
|
151
151
|
"@types/title": "3.4.3",
|
|
152
152
|
"@types/uuid": "10.0.0",
|
|
153
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
154
|
-
"@typescript-eslint/parser": "8.
|
|
155
|
-
"@vercel/nft": "0.29.
|
|
153
|
+
"@typescript-eslint/eslint-plugin": "8.32.1",
|
|
154
|
+
"@typescript-eslint/parser": "8.32.1",
|
|
155
|
+
"@vercel/nft": "0.29.3",
|
|
156
156
|
"@vitest/coverage-v8": "2.1.9",
|
|
157
|
-
"discord-api-types": "0.
|
|
158
|
-
"
|
|
159
|
-
"eslint
|
|
157
|
+
"discord-api-types": "0.38.8",
|
|
158
|
+
"domhandler": "5.0.3",
|
|
159
|
+
"eslint": "9.27.0",
|
|
160
|
+
"eslint-config-prettier": "10.1.5",
|
|
160
161
|
"eslint-nibble": "8.1.0",
|
|
161
|
-
"eslint-plugin-n": "17.
|
|
162
|
-
"eslint-plugin-prettier": "5.
|
|
163
|
-
"eslint-plugin-unicorn": "
|
|
164
|
-
"eslint-plugin-yml": "1.
|
|
162
|
+
"eslint-plugin-n": "17.18.0",
|
|
163
|
+
"eslint-plugin-prettier": "5.4.0",
|
|
164
|
+
"eslint-plugin-unicorn": "59.0.1",
|
|
165
|
+
"eslint-plugin-yml": "1.18.0",
|
|
165
166
|
"fs-extra": "11.3.0",
|
|
166
|
-
"globals": "16.
|
|
167
|
+
"globals": "16.1.0",
|
|
167
168
|
"got": "14.4.7",
|
|
168
169
|
"husky": "9.1.7",
|
|
169
170
|
"js-beautify": "1.15.4",
|
|
170
|
-
"lint-staged": "
|
|
171
|
+
"lint-staged": "16.0.0",
|
|
172
|
+
"magic-string": "0.30.17",
|
|
171
173
|
"mockdate": "3.0.5",
|
|
172
174
|
"msw": "2.4.3",
|
|
173
|
-
"node-network-devtools": "1.0.
|
|
175
|
+
"node-network-devtools": "1.0.26",
|
|
174
176
|
"prettier": "3.5.3",
|
|
175
177
|
"remark-parse": "11.0.0",
|
|
176
|
-
"supertest": "7.1.
|
|
178
|
+
"supertest": "7.1.1",
|
|
179
|
+
"tsdown": "0.10.2",
|
|
177
180
|
"typescript": "5.8.3",
|
|
178
181
|
"unified": "11.0.5",
|
|
179
182
|
"vite-tsconfig-paths": "5.1.4",
|
|
@@ -184,7 +187,7 @@
|
|
|
184
187
|
"node": ">=22"
|
|
185
188
|
},
|
|
186
189
|
"scripts": {
|
|
187
|
-
"build": "tsx scripts/workflow/build-routes.ts",
|
|
190
|
+
"build": "tsx scripts/workflow/build-routes.ts && tsdown",
|
|
188
191
|
"build:docs": "tsx scripts/workflow/build-docs.ts",
|
|
189
192
|
"dev": "cross-env NODE_ENV=dev tsx watch --inspect --clear-screen=false lib/index.ts",
|
|
190
193
|
"dev:cache": "cross-env NODE_ENV=production tsx watch --clear-screen=false lib/index.ts",
|
|
@@ -193,7 +196,7 @@
|
|
|
193
196
|
"format:staged": "lint-staged",
|
|
194
197
|
"lint": "eslint --cache .",
|
|
195
198
|
"profiling": "cross-env NODE_ENV=production tsx --prof lib/index.ts",
|
|
196
|
-
"start": "cross-env NODE_ENV=production
|
|
199
|
+
"start": "cross-env NODE_ENV=production node dist/index.js",
|
|
197
200
|
"test": "npm run format:check && npm run vitest:coverage",
|
|
198
201
|
"vitest": "cross-env NODE_ENV=test vitest",
|
|
199
202
|
"vitest:coverage": "cross-env NODE_ENV=test vitest --coverage.enabled --reporter=junit",
|
package/lib/routes/apnews/api.ts
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { Route, ViewType } from '@/types';
|
|
2
|
-
import { fetchArticle } from './utils';
|
|
3
|
-
import ofetch from '@/utils/ofetch';
|
|
4
|
-
import timezone from '@/utils/timezone';
|
|
5
|
-
import { parseDate } from '@/utils/parse-date';
|
|
6
|
-
|
|
7
|
-
export const route: Route = {
|
|
8
|
-
path: '/api/:tags?',
|
|
9
|
-
categories: ['traditional-media', 'popular'],
|
|
10
|
-
example: '/apnews/api/apf-topnews',
|
|
11
|
-
view: ViewType.Articles,
|
|
12
|
-
parameters: {
|
|
13
|
-
tags: {
|
|
14
|
-
description: 'Getting a list of articles from a public API based on tags.',
|
|
15
|
-
options: [
|
|
16
|
-
{ value: 'apf-topnews', label: 'Top News' },
|
|
17
|
-
{ value: 'apf-sports', label: 'Sports' },
|
|
18
|
-
{ value: 'apf-politics', label: 'Politics' },
|
|
19
|
-
{ value: 'apf-entertainment', label: 'Entertainment' },
|
|
20
|
-
{ value: 'apf-usnews', label: 'US News' },
|
|
21
|
-
{ value: 'apf-oddities', label: 'Oddities' },
|
|
22
|
-
{ value: 'apf-Travel', label: 'Travel' },
|
|
23
|
-
{ value: 'apf-technology', label: 'Technology' },
|
|
24
|
-
{ value: 'apf-lifestyle', label: 'Lifestyle' },
|
|
25
|
-
{ value: 'apf-business', label: 'Business' },
|
|
26
|
-
{ value: 'apf-Health', label: 'Health' },
|
|
27
|
-
{ value: 'apf-science', label: 'Science' },
|
|
28
|
-
{ value: 'apf-intlnews', label: 'International News' },
|
|
29
|
-
],
|
|
30
|
-
default: 'apf-topnews',
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
features: {
|
|
34
|
-
requireConfig: false,
|
|
35
|
-
requirePuppeteer: false,
|
|
36
|
-
antiCrawler: false,
|
|
37
|
-
supportBT: false,
|
|
38
|
-
supportPodcast: false,
|
|
39
|
-
supportScihub: false,
|
|
40
|
-
},
|
|
41
|
-
radar: [
|
|
42
|
-
{
|
|
43
|
-
source: ['apnews.com/'],
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
name: 'News',
|
|
47
|
-
maintainers: ['dzx-dzx'],
|
|
48
|
-
handler,
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
async function handler(ctx) {
|
|
52
|
-
const { tags = 'apf-topnews' } = ctx.req.param();
|
|
53
|
-
const apiRootUrl = 'https://afs-prod.appspot.com/api/v2/feed/tag';
|
|
54
|
-
const url = `${apiRootUrl}?tags=${tags}`;
|
|
55
|
-
const res = await ofetch(url);
|
|
56
|
-
|
|
57
|
-
const list = res.cards
|
|
58
|
-
.map((e) => ({
|
|
59
|
-
title: e.contents[0]?.headline,
|
|
60
|
-
link: e.contents[0]?.localLinkUrl,
|
|
61
|
-
pubDate: timezone(parseDate(e.publishedDate), 0),
|
|
62
|
-
category: e.tagObjs.map((tag) => tag.name),
|
|
63
|
-
updated: timezone(parseDate(e.contents[0]?.updated), 0),
|
|
64
|
-
description: e.contents[0]?.storyHTML,
|
|
65
|
-
author: e.contents[0]?.reporters.map((author) => ({ name: author.displayName })),
|
|
66
|
-
}))
|
|
67
|
-
.sort((a, b) => b.pubDate - a.pubDate)
|
|
68
|
-
.slice(0, ctx.req.query('limit') ? Number.parseInt(ctx.req.query('limit'), 10) : 20);
|
|
69
|
-
|
|
70
|
-
const items = ctx.req.query('fulltext') === 'true' ? await Promise.all(list.map((item) => fetchArticle(item))) : list;
|
|
71
|
-
|
|
72
|
-
return {
|
|
73
|
-
title: `${res.tagObjs[0].name} - AP News`,
|
|
74
|
-
item: items,
|
|
75
|
-
link: 'https://apnews.com',
|
|
76
|
-
};
|
|
77
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { Route } from '@/types';
|
|
2
|
-
import ofetch from '@/utils/ofetch';
|
|
3
|
-
|
|
4
|
-
import cache from '@/utils/cache';
|
|
5
|
-
import { load } from 'cheerio';
|
|
6
|
-
import { parseDate } from '@/utils/parse-date';
|
|
7
|
-
|
|
8
|
-
export const route: Route = {
|
|
9
|
-
path: '/:category?',
|
|
10
|
-
categories: ['new-media'],
|
|
11
|
-
radar: [{ source: ['www.copernicium.tw'] }],
|
|
12
|
-
name: '分类',
|
|
13
|
-
example: '/copernicium/环球视角',
|
|
14
|
-
parameters: { category: '分类名' },
|
|
15
|
-
maintainers: ['dzx-dzx'],
|
|
16
|
-
handler,
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
async function handler(ctx) {
|
|
20
|
-
const category = ctx.req.param('category');
|
|
21
|
-
let res;
|
|
22
|
-
if (category) {
|
|
23
|
-
const CATEGORY_TO_ARG_MAP = new Map([
|
|
24
|
-
['环球视角', '4_1'],
|
|
25
|
-
['人文叙述', '4_3'],
|
|
26
|
-
['观点评论', '4_5'],
|
|
27
|
-
['专题报道', '4_7'],
|
|
28
|
-
]);
|
|
29
|
-
if (!CATEGORY_TO_ARG_MAP.get(category)) {
|
|
30
|
-
throw new Error('The requested category does not exist or is not supported.');
|
|
31
|
-
}
|
|
32
|
-
const reqArgs = {
|
|
33
|
-
args: {
|
|
34
|
-
_jcp: CATEGORY_TO_ARG_MAP.get(category),
|
|
35
|
-
m31pageno: 1,
|
|
36
|
-
},
|
|
37
|
-
type: 0,
|
|
38
|
-
};
|
|
39
|
-
res = await ofetch('http://www.copernicium.tw/nr.jsp', {
|
|
40
|
-
query: { _reqArgs: reqArgs },
|
|
41
|
-
});
|
|
42
|
-
} else {
|
|
43
|
-
res = await ofetch('http://www.copernicium.tw/sys-nr/', {
|
|
44
|
-
query: { _reqArgs: { args: {}, type: 15 } },
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
const $ = load(res);
|
|
48
|
-
const list = $('.J_newsResultLine a.mixNewsStyleTitle')
|
|
49
|
-
.toArray()
|
|
50
|
-
.map((e) => {
|
|
51
|
-
e = $(e);
|
|
52
|
-
return {
|
|
53
|
-
title: e.text(),
|
|
54
|
-
link: e.attr('href'),
|
|
55
|
-
};
|
|
56
|
-
});
|
|
57
|
-
const items = await Promise.all(
|
|
58
|
-
list.map((item) =>
|
|
59
|
-
cache.tryGet(item.link, async () => {
|
|
60
|
-
const detailResponse = await ofetch(item.link);
|
|
61
|
-
const content = load(detailResponse);
|
|
62
|
-
return {
|
|
63
|
-
pubDate: parseDate(content('span.newsInfo').text().substring(5)),
|
|
64
|
-
description: content('.richContent').html(),
|
|
65
|
-
...item,
|
|
66
|
-
};
|
|
67
|
-
})
|
|
68
|
-
)
|
|
69
|
-
);
|
|
70
|
-
return {
|
|
71
|
-
title: `日新说 - ${category ?? '全部文章'}`,
|
|
72
|
-
link: 'http://www.copernicium.tw',
|
|
73
|
-
item: items,
|
|
74
|
-
};
|
|
75
|
-
}
|
|
File without changes
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Route } from '@/types';
|
|
2
|
-
export const route: Route = {
|
|
3
|
-
path: '/list/:id',
|
|
4
|
-
name: 'Unknown',
|
|
5
|
-
maintainers: [],
|
|
6
|
-
handler,
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
function handler(ctx) {
|
|
10
|
-
const id = ctx.req.param('id');
|
|
11
|
-
|
|
12
|
-
const redirectTo = `/jiemian${id ? `/lists/${id}` : ''}`;
|
|
13
|
-
ctx.set('redirect', redirectTo);
|
|
14
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { Route } from '@/types';
|
|
2
|
-
import got from '@/utils/got';
|
|
3
|
-
import { toTitleCase } from '@/utils/common-utils';
|
|
4
|
-
import { getApiUrl, parseArticle } from './common';
|
|
5
|
-
|
|
6
|
-
export const route: Route = {
|
|
7
|
-
path: '/blog/:tag?',
|
|
8
|
-
categories: ['programming'],
|
|
9
|
-
example: '/openai/blog',
|
|
10
|
-
parameters: { tag: 'Tag, see below, All by default' },
|
|
11
|
-
features: {
|
|
12
|
-
requireConfig: false,
|
|
13
|
-
requirePuppeteer: false,
|
|
14
|
-
antiCrawler: false,
|
|
15
|
-
supportBT: false,
|
|
16
|
-
supportPodcast: false,
|
|
17
|
-
supportScihub: false,
|
|
18
|
-
},
|
|
19
|
-
name: 'Blog',
|
|
20
|
-
maintainers: ['StevenRCE0', 'nczitzk'],
|
|
21
|
-
handler,
|
|
22
|
-
description: `| All | Announcements | Events | Safety & Alignment | Community | Product | Culture & Careers | Milestones | Research |
|
|
23
|
-
| --- | ------------- | ------ | ------------------ | --------- | ------- | ------------------- | ---------- | -------- |
|
|
24
|
-
| | announcements | events | safety-alignment | community | product | culture-and-careers | milestones | research |`,
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
async function handler(ctx) {
|
|
28
|
-
const tag = ctx.req.param('tag') || '';
|
|
29
|
-
|
|
30
|
-
const rootUrl = 'https://openai.com';
|
|
31
|
-
const blogRootUrl = 'https://openai.com/blog';
|
|
32
|
-
const blogOriginUrl = `${rootUrl}/blog${tag === '' ? '' : `?topics=${tag}`}`;
|
|
33
|
-
|
|
34
|
-
const apiUrl = new URL('/api/v1/blog-details', await getApiUrl());
|
|
35
|
-
|
|
36
|
-
// Construct API query
|
|
37
|
-
apiUrl.searchParams.append('sort', '-publicationDate,-createdAt');
|
|
38
|
-
apiUrl.searchParams.append('page[size]', '20');
|
|
39
|
-
apiUrl.searchParams.append('page[number]', '1');
|
|
40
|
-
apiUrl.searchParams.append('include', 'media,topics,authors');
|
|
41
|
-
if (tag) {
|
|
42
|
-
apiUrl.searchParams.append('filter[topics][slugs][0]', tag);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
const response = await got({
|
|
46
|
-
method: 'get',
|
|
47
|
-
url: apiUrl,
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
const list = response.data.data.filter((entry) => entry.type === 'blog-details');
|
|
51
|
-
|
|
52
|
-
const items = await Promise.all(
|
|
53
|
-
list.map((item) => {
|
|
54
|
-
const attributes = item.attributes;
|
|
55
|
-
return parseArticle(ctx, blogRootUrl, attributes);
|
|
56
|
-
})
|
|
57
|
-
);
|
|
58
|
-
|
|
59
|
-
const title = `OpenAI Blog${tag ? ` - ${toTitleCase(tag)}` : ''}`;
|
|
60
|
-
|
|
61
|
-
return {
|
|
62
|
-
title,
|
|
63
|
-
link: blogOriginUrl,
|
|
64
|
-
item: items,
|
|
65
|
-
};
|
|
66
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
const refererMap = new Map([
|
|
2
|
-
['fbcdn.net', 'https://www.facebook.com/'],
|
|
3
|
-
['cdninstagram.com', 'https://www.instagram.com/'],
|
|
4
|
-
['moyu.im', 'https://jandan.net/'],
|
|
5
|
-
['lightnovel.us', 'https://www.lightnovel.us/'],
|
|
6
|
-
['indienova.com', 'https://indienova.com/'],
|
|
7
|
-
['pximg.net', 'https://www.pixiv.net/'],
|
|
8
|
-
['me8gs.app', 'https://www.sehuatang.net/'],
|
|
9
|
-
['rxn30.app', 'https://www.sehuatang.net/'],
|
|
10
|
-
['sex.com', 'https://www.sex.com/'],
|
|
11
|
-
['sinaimg.cn', 'https://weibo.com/'],
|
|
12
|
-
]);
|
|
13
|
-
|
|
14
|
-
export { refererMap };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import cache from '@/utils/cache';
|
|
2
|
-
import got from '@/utils/got';
|
|
3
|
-
import { load } from 'cheerio';
|
|
4
|
-
import { baseUrl, parseList, parseItems } from './utils';
|
|
5
|
-
import { getSubPath } from '@/utils/common-utils';
|
|
6
|
-
|
|
7
|
-
export async function handler(ctx) {
|
|
8
|
-
const requestPath = getSubPath(ctx);
|
|
9
|
-
const isTopic = requestPath.startsWith('/topic/');
|
|
10
|
-
let link = baseUrl;
|
|
11
|
-
|
|
12
|
-
if (isTopic) {
|
|
13
|
-
link += `/topic/${ctx.req.param('id')}`;
|
|
14
|
-
} else if (requestPath === '/') {
|
|
15
|
-
link += `/articles/report`;
|
|
16
|
-
} else {
|
|
17
|
-
link += `/articles${requestPath}`;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
const { data: response } = await got(link);
|
|
21
|
-
const $ = load(response);
|
|
22
|
-
|
|
23
|
-
const list = $(`${isTopic ? '.view-grouping' : '.pane-clone-of-article'} .views-row-inner`)
|
|
24
|
-
.toArray()
|
|
25
|
-
.map((item) => parseList($(item)));
|
|
26
|
-
|
|
27
|
-
const items = await parseItems(list, cache.tryGet);
|
|
28
|
-
|
|
29
|
-
return {
|
|
30
|
-
title: $('head title').text(),
|
|
31
|
-
description: $('head meta[name="description"]').attr('content'),
|
|
32
|
-
image: $('head meta[property="og:image"]').attr('content'),
|
|
33
|
-
logo: $('head link[rel="shortcut icon"]').attr('href'),
|
|
34
|
-
icon: $('head link[rel="shortcut icon"]').attr('href'),
|
|
35
|
-
link,
|
|
36
|
-
item: items,
|
|
37
|
-
};
|
|
38
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Route } from '@/types';
|
|
2
|
-
import { handler } from './common';
|
|
3
|
-
|
|
4
|
-
export const route: Route = {
|
|
5
|
-
name: '專題 / 重點專區',
|
|
6
|
-
maintainers: ['TonyRL'],
|
|
7
|
-
example: '/tfc-taiwan/category/242',
|
|
8
|
-
path: '/:type/:id{.+}',
|
|
9
|
-
parameters: {
|
|
10
|
-
type: '分類,見下表,預設為 `report`',
|
|
11
|
-
},
|
|
12
|
-
handler,
|
|
13
|
-
url: 'tfc-taiwan.org.tw/articles/report',
|
|
14
|
-
description: `| 專題 | 重點專區 |
|
|
15
|
-
| -------- | -------- |
|
|
16
|
-
| category | topic |`,
|
|
17
|
-
};
|