rsshub 1.0.0-master.dea94ae → 1.0.0-master.debc0df
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 +9 -7
- package/lib/config.js +31 -13
- package/lib/maintainer.js +7 -2
- package/lib/middleware/access-control.js +5 -5
- package/lib/middleware/cache/index.js +4 -3
- package/lib/middleware/cache/redis.js +3 -3
- package/lib/middleware/onerror.js +9 -3
- package/lib/middleware/parameter.js +66 -11
- package/lib/middleware/template.js +79 -85
- package/lib/radar-rules.js +0 -340
- package/lib/radar.js +1 -1
- package/lib/router.js +36 -868
- package/lib/routes/199it/category.js +1 -1
- package/lib/routes/199it/tag.js +1 -1
- package/lib/routes/199it/utils.js +1 -1
- package/lib/routes/ddrk/index.js +1 -1
- package/lib/routes/ddrk/list.js +1 -1
- package/lib/routes/index.js +6 -13
- package/lib/routes/universities/ynnu/edu/news.js +3 -3
- package/lib/routes/zimuku/index.js +1 -1
- package/lib/utils/common-utils.js +2 -6
- package/lib/utils/got.js +5 -0
- package/lib/utils/rand-user-agent.js +3 -2
- package/lib/utils/render.js +2 -0
- package/lib/utils/request-wrapper.js +7 -2
- package/lib/v2/141ppv/index.js +4 -1
- package/lib/v2/1point3acres/maintainer.js +2 -2
- package/lib/v2/2048/index.js +18 -13
- package/lib/v2/95mm/utils.js +3 -2
- package/lib/v2/9to5/utils.js +1 -1
- package/lib/v2/abc/index.js +162 -0
- package/lib/v2/abc/radar.js +13 -0
- package/lib/v2/abc/router.js +3 -0
- package/lib/v2/abc/templates/description.art +21 -0
- package/lib/v2/aeon/utils.js +1 -1
- package/lib/v2/agirls/maintainer.js +0 -1
- package/lib/v2/agirls/radar.js +0 -6
- package/lib/v2/agirls/router.js +0 -1
- package/lib/v2/ainvest/article.js +42 -0
- package/lib/v2/ainvest/maintainer.js +4 -0
- package/lib/v2/ainvest/news.js +39 -0
- package/lib/v2/ainvest/radar.js +19 -0
- package/lib/v2/ainvest/router.js +4 -0
- package/lib/v2/ainvest/utils.js +73 -0
- package/lib/v2/aliyun/notice.js +1 -1
- package/lib/v2/aljazeera/index.js +1 -1
- package/lib/v2/alternativeto/maintainer.js +4 -0
- package/lib/v2/alternativeto/platform.js +32 -0
- package/lib/v2/alternativeto/radar.js +19 -0
- package/lib/v2/alternativeto/router.js +4 -0
- package/lib/v2/alternativeto/software.js +32 -0
- package/lib/v2/alternativeto/utils.js +22 -0
- package/lib/v2/amazon/maintainer.js +1 -1
- package/lib/v2/apkpure/versions.js +1 -1
- package/lib/v2/apnews/topics.js +2 -1
- package/lib/v2/apple/apps.js +107 -0
- package/lib/v2/apple/maintainer.js +1 -0
- package/lib/v2/apple/radar.js +8 -0
- package/lib/v2/apple/router.js +1 -0
- package/lib/v2/appstore/maintainer.js +0 -2
- package/lib/v2/appstore/radar.js +0 -17
- package/lib/v2/appstore/router.js +0 -2
- package/lib/v2/arcteryx/maintainer.js +3 -3
- package/lib/v2/artstation/maintainer.js +3 -0
- package/lib/v2/artstation/radar.js +13 -0
- package/lib/v2/artstation/router.js +3 -0
- package/lib/v2/artstation/templates/description.art +17 -0
- package/lib/v2/artstation/user.js +98 -0
- package/lib/v2/asiantolick/index.js +73 -27
- package/lib/v2/asiantolick/maintainer.js +5 -3
- package/lib/v2/asiantolick/radar.js +34 -12
- package/lib/v2/asiantolick/router.js +2 -2
- package/lib/v2/asiantolick/templates/description.art +9 -3
- package/lib/v2/baidu/maintainer.js +1 -0
- package/lib/v2/baidu/radar.js +12 -1
- package/lib/v2/baidu/router.js +1 -0
- package/lib/v2/baidu/search.js +54 -0
- package/lib/v2/baidu/templates/description.art +6 -0
- package/lib/v2/bangumi/maintainer.js +2 -0
- package/lib/v2/bangumi/radar.js +12 -0
- package/lib/v2/bangumi/router.js +2 -0
- package/lib/v2/bangumi/tv/other/followrank.js +42 -0
- package/lib/v2/bangumi/tv/user/wish.js +38 -0
- package/lib/v2/bellroy/maintainer.js +1 -1
- package/lib/v2/bilibili/cache.js +68 -27
- package/lib/v2/bilibili/danmaku.js +9 -2
- package/lib/v2/bilibili/dynamic.js +16 -4
- package/lib/v2/bilibili/fav.js +2 -0
- package/lib/v2/bilibili/maintainer.js +1 -5
- package/lib/v2/bilibili/platform.js +43 -0
- package/lib/v2/bilibili/radar.js +8 -6
- package/lib/v2/bilibili/router.js +1 -5
- package/lib/v2/bilibili/userFav.js +2 -0
- package/lib/v2/bilibili/utils.js +64 -2
- package/lib/v2/bilibili/video.js +16 -7
- package/lib/v2/bing/daily-wallpaper.js +25 -0
- package/lib/v2/bing/maintainer.js +4 -0
- package/lib/v2/bing/radar.js +22 -0
- package/lib/v2/bing/router.js +4 -0
- package/lib/v2/bing/search.js +28 -0
- package/lib/v2/bnu/dwxgb.js +17 -22
- package/lib/v2/boc/whpj.js +9 -8
- package/lib/v2/booru/maintainer.js +3 -0
- package/lib/v2/booru/mmda.js +47 -0
- package/lib/v2/booru/radar.js +12 -0
- package/lib/v2/booru/router.js +3 -0
- package/lib/v2/bossdesign/index.js +41 -0
- package/lib/v2/bossdesign/radar.js +13 -0
- package/lib/v2/brave/latest.js +4 -2
- package/lib/v2/buaa/maintainer.js +4 -0
- package/lib/v2/buaa/news/index.js +46 -0
- package/lib/v2/buaa/radar.js +21 -0
- package/lib/v2/buaa/router.js +4 -0
- package/lib/v2/buaa/sme.js +59 -0
- package/lib/v2/bytes/maintainer.js +0 -1
- package/lib/v2/caixin/blog.js +68 -45
- package/lib/v2/caixin/router.js +1 -1
- package/lib/v2/caixinglobal/latest.js +64 -0
- package/lib/v2/caixinglobal/maintainer.js +3 -0
- package/lib/v2/caixinglobal/radar.js +13 -0
- package/lib/v2/caixinglobal/router.js +3 -0
- package/lib/v2/cas/radar.js +1 -1
- package/lib/v2/cbc/maintainer.js +3 -0
- package/lib/v2/cbc/radar.js +13 -0
- package/lib/v2/cbc/router.js +3 -0
- package/lib/v2/cbc/topics.js +58 -0
- package/lib/v2/cctv/maintainer.js +0 -1
- package/lib/v2/cctv/radar.js +0 -6
- package/lib/v2/cctv/router.js +0 -1
- package/lib/v2/cfachina/analygarden.js +60 -0
- package/lib/v2/cfachina/maintainer.js +3 -0
- package/lib/v2/cfachina/radar.js +13 -0
- package/lib/v2/cfachina/router.js +3 -0
- package/lib/v2/china/finance/finance.js +61 -0
- package/lib/v2/china/maintainer.js +1 -0
- package/lib/v2/china/news/military/news.js +5 -6
- package/lib/v2/china/radar.js +9 -0
- package/lib/v2/china/router.js +1 -0
- package/lib/v2/chinafactcheck/index.js +20 -21
- package/lib/v2/chinafactcheck/utils.js +16 -16
- package/lib/v2/chinaisa/index.js +83 -0
- package/lib/v2/chinaisa/maintainer.js +3 -0
- package/lib/v2/chinaisa/radar.js +18 -0
- package/lib/v2/chinaisa/router.js +3 -0
- package/lib/v2/chinawriter/index.js +88 -0
- package/lib/v2/chinawriter/maintainer.js +3 -0
- package/lib/v2/chinawriter/radar.js +660 -0
- package/lib/v2/chinawriter/router.js +3 -0
- package/lib/v2/cma/channel.js +87 -0
- package/lib/v2/cma/maintainer.js +3 -0
- package/lib/v2/cma/radar.js +18 -0
- package/lib/v2/cma/router.js +3 -0
- package/lib/v2/cma/templates/description.art +13 -0
- package/lib/v2/cmpxchg8b/articles.js +43 -0
- package/lib/v2/cmpxchg8b/maintainer.js +3 -0
- package/lib/v2/cmpxchg8b/radar.js +13 -0
- package/lib/v2/cmpxchg8b/router.js +3 -0
- package/lib/v2/cna/index.js +1 -0
- package/lib/v2/cna/maintainer.js +1 -0
- package/lib/v2/cna/radar.js +6 -0
- package/lib/v2/cna/router.js +1 -0
- package/lib/v2/cna/web/index.js +62 -0
- package/lib/v2/cnbeta/type.js +15 -9
- package/lib/v2/cnbeta/utils.js +3 -0
- package/lib/v2/cnljxh/index.js +71 -0
- package/lib/v2/cnljxh/maintainer.js +7 -0
- package/lib/v2/cnljxh/radar.js +194 -0
- package/lib/v2/cnljxh/router.js +3 -0
- package/lib/v2/consumer/maintainer.js +1 -0
- package/lib/v2/consumer/radar.js +6 -0
- package/lib/v2/consumer/router.js +1 -0
- package/lib/v2/consumer/shopping-guide.js +66 -0
- package/lib/v2/cqwu/index.js +11 -8
- package/lib/v2/cqwu/radar.js +2 -2
- package/lib/v2/creative-comic/book.js +40 -34
- package/lib/v2/creative-comic/utils.js +1 -2
- package/lib/v2/cste/radar.js +1 -1
- package/lib/v2/curius/templates/description.art +1 -1
- package/lib/v2/cw/utils.js +3 -3
- package/lib/v2/cyzone/maintainer.js +1 -1
- package/lib/v2/dahecube/index.js +1 -1
- package/lib/v2/dahecube/radar.js +40 -4
- package/lib/v2/dcfever/utils.js +8 -1
- package/lib/v2/deadline/maintainer.js +0 -1
- package/lib/v2/deeplearning/maintainer.js +3 -0
- package/lib/v2/deeplearning/radar.js +13 -0
- package/lib/v2/deeplearning/router.js +3 -0
- package/lib/v2/deeplearning/thebatch.js +36 -0
- package/lib/v2/diandong/maintainer.js +0 -1
- package/lib/v2/diandong/radar.js +0 -6
- package/lib/v2/diandong/router.js +0 -1
- package/lib/v2/dlsite/ci-en/article.js +1 -1
- package/lib/v2/dongqiudi/special.js +13 -21
- package/lib/v2/dongqiudi/utils.js +26 -2
- package/lib/v2/douban/maintainer.js +4 -2
- package/lib/v2/douban/other/discussion.js +58 -0
- package/lib/v2/douban/other/doulist.js +9 -7
- package/lib/v2/douban/other/list.js +28 -19
- package/lib/v2/douban/other/recommended.js +68 -0
- package/lib/v2/douban/people/status.js +1 -1
- package/lib/v2/douban/radar.js +8 -0
- package/lib/v2/douban/router.js +3 -1
- package/lib/v2/douyin/live.js +1 -1
- package/lib/v2/dut/defaults.js +4 -0
- package/lib/v2/dut/index.js +21 -9
- package/lib/v2/dut/maintainer.js +8 -7
- package/lib/v2/dut/radar.js +37 -29
- package/lib/v2/dut/shortcuts.js +5 -0
- package/lib/v2/dx2025/radar.js +0 -6
- package/lib/v2/eastday/maintainer.js +0 -1
- package/lib/v2/eastday/radar.js +0 -6
- package/lib/v2/eastday/router.js +0 -1
- package/lib/v2/economist/full.js +4 -2
- package/lib/v2/economist/maintainer.js +0 -2
- package/lib/v2/economist/radar.js +0 -8
- package/lib/v2/economist/router.js +0 -2
- package/lib/v2/egsea/flash.js +30 -0
- package/lib/v2/egsea/maintainer.js +3 -0
- package/lib/v2/egsea/radar.js +13 -0
- package/lib/v2/egsea/router.js +3 -0
- package/lib/v2/ehentai/ehapi.js +3 -1
- package/lib/v2/epicgames/index.js +18 -11
- package/lib/v2/epicgames/templates/description.art +1 -0
- package/lib/v2/farmatters/index.js +85 -0
- package/lib/v2/farmatters/maintainer.js +7 -0
- package/lib/v2/farmatters/radar.js +36 -0
- package/lib/v2/farmatters/router.js +6 -0
- package/lib/v2/farmatters/templates/description.art +9 -0
- package/lib/v2/finology/radar.js +4 -4
- package/lib/v2/firefox/addons.js +35 -0
- package/lib/v2/firefox/breaches.js +38 -0
- package/lib/v2/firefox/maintainer.js +2 -0
- package/lib/v2/firefox/radar.js +17 -0
- package/lib/v2/firefox/release.js +30 -0
- package/lib/v2/firefox/router.js +3 -1
- package/lib/v2/fisher-spb/news.js +1 -2
- package/lib/v2/foresightnews/maintainer.js +0 -1
- package/lib/v2/fortnite/news.js +1 -1
- package/lib/v2/fosshub/radar.js +1 -1
- package/lib/v2/ft/maintainer.js +0 -1
- package/lib/v2/ft/radar.js +0 -13
- package/lib/v2/ft/router.js +0 -1
- package/lib/v2/fuliba/latest.js +25 -0
- package/lib/v2/fuliba/maintainer.js +3 -0
- package/lib/v2/fuliba/radar.js +15 -0
- package/lib/v2/fuliba/router.js +3 -0
- package/lib/v2/fxiaoke/crm.js +63 -0
- package/lib/v2/fxiaoke/maintainer.js +3 -0
- package/lib/v2/fxiaoke/radar.js +37 -0
- package/lib/v2/fxiaoke/router.js +3 -0
- package/lib/v2/gamegene/maintainer.js +3 -0
- package/lib/v2/gamegene/news.js +50 -0
- package/lib/v2/gamegene/radar.js +13 -0
- package/lib/v2/gamme/category.js +2 -2
- package/lib/v2/gamme/tag.js +3 -3
- package/lib/v2/gcores/category.js +1 -0
- package/lib/v2/gcores/radio.js +1 -0
- package/lib/v2/gdsrx/index.js +72 -0
- package/lib/v2/gdsrx/maintainer.js +3 -0
- package/lib/v2/gdsrx/radar.js +61 -0
- package/lib/v2/gdsrx/router.js +3 -0
- package/lib/v2/getitfree/index.js +42 -34
- package/lib/v2/getitfree/maintainer.js +3 -1
- package/lib/v2/getitfree/radar.js +19 -2
- package/lib/v2/getitfree/router.js +10 -2
- package/lib/v2/getitfree/util.js +326 -0
- package/lib/v2/github/maintainer.js +1 -0
- package/lib/v2/github/pulse.js +87 -0
- package/lib/v2/github/radar.js +18 -12
- package/lib/v2/github/router.js +1 -0
- package/lib/v2/github/templates/pulse-description.art +24 -0
- package/lib/v2/github/topic.js +26 -10
- package/lib/v2/gocn/jobs.js +14 -9
- package/lib/v2/gocn/maintainer.js +3 -1
- package/lib/v2/gocn/news.js +31 -0
- package/lib/v2/gocn/radar.js +8 -2
- package/lib/v2/gocn/router.js +3 -1
- package/lib/v2/gocn/topics.js +15 -7
- package/lib/v2/gocn/utils.js +38 -0
- package/lib/v2/gogoanimehd/maintainer.js +3 -0
- package/lib/v2/gogoanimehd/radar.js +13 -0
- package/lib/v2/gogoanimehd/recent-releases.js +37 -0
- package/lib/v2/gogoanimehd/router.js +3 -0
- package/lib/v2/google/alerts.js +33 -0
- package/lib/v2/google/maintainer.js +2 -0
- package/lib/v2/google/radar.js +12 -8
- package/lib/v2/google/router.js +2 -2
- package/lib/v2/google/search.js +62 -0
- package/lib/v2/google/templates/description.art +6 -0
- package/lib/v2/gov/caac/cjwt.js +56 -0
- package/lib/v2/gov/caac/templates/description.art +25 -0
- package/lib/v2/gov/chinamine-safety/util.js +77 -0
- package/lib/v2/gov/chinamine-safety/xw.js +37 -0
- package/lib/v2/gov/chinamine-safety/zfxxgk.js +36 -0
- package/lib/v2/gov/chongqing/gzw.js +68 -0
- package/lib/v2/gov/chongqing/sydwgkzp.js +47 -0
- package/lib/v2/gov/forestry/gjlckjdjt.js +96 -0
- package/lib/v2/gov/forestry/templates/description.art +15 -0
- package/lib/v2/gov/jgjcndrc/index.js +59 -0
- package/lib/v2/gov/maintainer.js +24 -3
- package/lib/v2/gov/mem/sgcc.js +64 -0
- package/lib/v2/gov/moa/zdscxx.js +104 -0
- package/lib/v2/gov/mof/bond.js +51 -0
- package/lib/v2/gov/mot/index.js +66 -0
- package/lib/v2/gov/ndrc/fggz.js +62 -0
- package/lib/v2/gov/ndrc/xwdt.js +54 -0
- package/lib/v2/gov/nea/ghs.js +58 -0
- package/lib/v2/gov/nifdc/index.js +40 -33
- package/lib/v2/gov/npc/index.js +47 -0
- package/lib/v2/gov/radar.js +1311 -4
- package/lib/v2/gov/router.js +24 -2
- package/lib/v2/gov/safe/business.js +8 -0
- package/lib/v2/gov/safe/complaint.js +8 -0
- package/lib/v2/gov/safe/templates/message.art +25 -0
- package/lib/v2/gov/safe/util.js +87 -0
- package/lib/v2/gov/samr/templates/description.art +26 -0
- package/lib/v2/gov/samr/xgzlyhd.js +100 -0
- package/lib/v2/gov/zhejiang/gwy.js +84 -0
- package/lib/v2/gov/zhengce/index.js +99 -0
- package/lib/v2/greasyfork/maintainer.js +1 -0
- package/lib/v2/greasyfork/router.js +1 -0
- package/lib/v2/greasyfork/scripts.js +25 -20
- package/lib/v2/grist/radar.js +4 -4
- package/lib/v2/grubstreet/maintainer.js +3 -0
- package/lib/v2/grubstreet/radar.js +13 -0
- package/lib/v2/grubstreet/utils.js +84 -0
- package/lib/v2/guangdiu/maintainer.js +1 -0
- package/lib/v2/guangdiu/radar.js +6 -0
- package/lib/v2/guangdiu/router.js +1 -0
- package/lib/v2/guangdiu/search.js +40 -0
- package/lib/v2/guanhai/maintainer.js +0 -1
- package/lib/v2/gxmzu/lib.js +70 -0
- package/lib/v2/gxmzu/maintainer.js +1 -0
- package/lib/v2/gxmzu/radar.js +8 -0
- package/lib/v2/gxmzu/router.js +1 -0
- package/lib/v2/hackyournews/index.js +50 -0
- package/lib/v2/hackyournews/maintainer.js +3 -0
- package/lib/v2/hackyournews/radar.js +13 -0
- package/lib/v2/hackyournews/router.js +3 -0
- package/lib/v2/harvard/health/blog.js +52 -0
- package/lib/v2/harvard/maintainer.js +3 -0
- package/lib/v2/harvard/radar.js +13 -0
- package/lib/v2/harvard/router.js +3 -0
- package/lib/v2/hebtv/maintainer.js +3 -0
- package/lib/v2/hebtv/nong-bo-shi-zai-xing-dong.js +109 -0
- package/lib/v2/hebtv/radar.js +13 -0
- package/lib/v2/hebtv/router.js +3 -0
- package/lib/v2/hebtv/templates/description.art +24 -0
- package/lib/v2/hellobtc/maintainer.js +0 -1
- package/lib/v2/hellobtc/radar.js +0 -6
- package/lib/v2/hellobtc/router.js +0 -1
- package/lib/v2/hostmonit/cloudflareyes.js +91 -0
- package/lib/v2/hostmonit/maintainer.js +3 -0
- package/lib/v2/hostmonit/radar.js +17 -0
- package/lib/v2/hostmonit/router.js +8 -0
- package/lib/v2/hostmonit/templates/description.art +28 -0
- package/lib/v2/hostmonit/templates/title.art +1 -0
- package/lib/v2/hpoi/all.js +3 -0
- package/lib/v2/hpoi/bannerItem.js +26 -0
- package/lib/v2/hpoi/character.js +3 -0
- package/lib/v2/hpoi/maintainer.js +8 -0
- package/lib/v2/hpoi/radar.js +37 -0
- package/lib/v2/hpoi/router.js +8 -0
- package/lib/v2/hpoi/user.js +43 -0
- package/lib/v2/hpoi/utils.js +49 -0
- package/lib/v2/hpoi/work.js +3 -0
- package/lib/v2/huxiu/briefColumn.js +13 -25
- package/lib/v2/huxiu/channel.js +28 -0
- package/lib/v2/huxiu/club.js +30 -0
- package/lib/v2/huxiu/collection.js +14 -26
- package/lib/v2/huxiu/maintainer.js +8 -5
- package/lib/v2/huxiu/member.js +27 -0
- package/lib/v2/huxiu/moment.js +11 -25
- package/lib/v2/huxiu/radar.js +24 -16
- package/lib/v2/huxiu/router.js +7 -4
- package/lib/v2/huxiu/search.js +16 -21
- package/lib/v2/huxiu/tag.js +13 -25
- package/lib/v2/huxiu/templates/description.art +46 -0
- package/lib/v2/huxiu/util.js +460 -0
- package/lib/v2/ianspriggs/index.js +90 -0
- package/lib/v2/ianspriggs/radar.js +17 -0
- package/lib/v2/ianspriggs/router.js +3 -0
- package/lib/v2/ianspriggs/templates/description.art +13 -0
- package/lib/v2/icbc/radar.js +1 -1
- package/lib/v2/ifi-audio/maintainer.js +1 -1
- package/lib/v2/imiker/jinghua.js +87 -0
- package/lib/v2/imiker/maintainer.js +3 -0
- package/lib/v2/imiker/radar.js +13 -0
- package/lib/v2/imiker/router.js +3 -0
- package/lib/v2/imiker/templates/description.art +32 -0
- package/lib/v2/inoreader/maintainer.js +1 -1
- package/lib/v2/instagram/common-utils.js +7 -4
- package/lib/v2/instagram/radar.js +2 -2
- package/lib/v2/instagram/templates/images.art +9 -2
- package/lib/v2/instagram/templates/video.art +4 -1
- package/lib/v2/instagram/web-api/index.js +30 -9
- package/lib/v2/instagram/web-api/utils.js +149 -25
- package/lib/v2/iqilu/maintainer.js +3 -0
- package/lib/v2/iqilu/program.js +98 -0
- package/lib/v2/iqilu/radar.js +107 -0
- package/lib/v2/iqilu/router.js +3 -0
- package/lib/v2/iqilu/templates/description.art +24 -0
- package/lib/v2/iqiyi/video.js +1 -1
- package/lib/v2/javbus/index.js +6 -0
- package/lib/v2/javlibrary/maintainer.js +1 -0
- package/lib/v2/javlibrary/maker.js +10 -0
- package/lib/v2/javlibrary/router.js +1 -0
- package/lib/v2/javlibrary/utils.js +1 -0
- package/lib/v2/jianshu/maintainer.js +5 -0
- package/lib/v2/jianshu/radar.js +25 -0
- package/lib/v2/jianshu/router.js +5 -0
- package/lib/v2/jianshu/utils.js +58 -0
- package/lib/v2/jiemian/lists.js +93 -0
- package/lib/v2/jiemian/maintainer.js +5 -2
- package/lib/v2/jiemian/radar.js +620 -8
- package/lib/v2/jiemian/router.js +7 -2
- package/lib/v2/jiemian/templates/description.art +39 -0
- package/lib/v2/juejin/maintainer.js +0 -2
- package/lib/v2/juejin/radar.js +0 -12
- package/lib/v2/juejin/router.js +0 -2
- package/lib/v2/kamen-rider-official/news.js +110 -0
- package/lib/v2/kamen-rider-official/radar.js +18 -0
- package/lib/v2/kamen-rider-official/templates/description.art +10 -0
- package/lib/v2/kemono/index.js +28 -4
- package/lib/v2/kemono/radar.js +1 -1
- package/lib/v2/kepu/live.js +89 -0
- package/lib/v2/kepu/maintainer.js +3 -0
- package/lib/v2/kepu/radar.js +13 -0
- package/lib/v2/kepu/router.js +3 -0
- package/lib/v2/kepu/templates/description.art +33 -0
- package/lib/v2/leetcode/articles.js +14 -10
- package/lib/v2/leetcode/dailyquestion-solution-cn.js +6 -3
- package/lib/v2/leetcode/dailyquestion-solution-en.js +7 -4
- package/lib/v2/leetcode/maintainer.js +1 -1
- package/lib/v2/leetcode/radar.js +0 -20
- package/lib/v2/lemmy/index.js +61 -0
- package/lib/v2/lemmy/maintainer.js +3 -0
- package/lib/v2/lemmy/router.js +3 -0
- package/lib/v2/lightnovel/lightNovel.js +62 -0
- package/lib/v2/lightnovel/maintainer.js +3 -0
- package/lib/v2/lightnovel/radar.js +13 -0
- package/lib/v2/lightnovel/router.js +3 -0
- package/lib/v2/line/radar.js +1 -1
- package/lib/v2/liquipedia/cs_matches.js +52 -0
- package/lib/v2/liquipedia/dota2_matches.js +47 -0
- package/lib/v2/liquipedia/maintainer.js +4 -0
- package/lib/v2/liquipedia/radar.js +19 -0
- package/lib/v2/liquipedia/router.js +4 -0
- package/lib/v2/liulinblog/radar.js +6 -6
- package/lib/v2/logclub/index.js +134 -0
- package/lib/v2/logclub/maintainer.js +9 -0
- package/lib/v2/logclub/radar.js +139 -0
- package/lib/v2/logclub/report.js +98 -0
- package/lib/v2/logclub/router.js +5 -0
- package/lib/v2/logclub/templates/description.art +33 -0
- package/lib/v2/lsnu/jiaowc/tzgg.js +52 -0
- package/lib/v2/lsnu/maintainer.js +3 -0
- package/lib/v2/lsnu/radar.js +13 -0
- package/lib/v2/lsnu/router.js +3 -0
- package/lib/v2/magazinelib/maintainer.js +1 -1
- package/lib/v2/mail/imap.js +99 -0
- package/lib/v2/mail/maintainer.js +3 -0
- package/lib/v2/mail/router.js +3 -0
- package/lib/v2/metacritic/index.js +121 -0
- package/lib/v2/metacritic/maintainer.js +5 -0
- package/lib/v2/metacritic/radar.js +43 -0
- package/lib/v2/metacritic/router.js +3 -0
- package/lib/v2/metacritic/templates/description.art +19 -0
- package/lib/v2/metacritic/util.js +42 -0
- package/lib/v2/mihoyo/radar.js +1 -1
- package/lib/v2/missav/maintainer.js +3 -0
- package/lib/v2/missav/new.js +36 -0
- package/lib/v2/missav/radar.js +13 -0
- package/lib/v2/missav/router.js +3 -0
- package/lib/v2/missav/templates/preview.art +3 -0
- package/lib/v2/mittrchina/index.js +104 -0
- package/lib/v2/mittrchina/maintainer.js +3 -0
- package/lib/v2/mittrchina/radar.js +31 -0
- package/lib/v2/mittrchina/router.js +3 -0
- package/lib/v2/mittrchina/templates/movie.art +5 -0
- package/lib/v2/mixcloud/index.js +5 -22
- package/lib/v2/mixcloud/queries.js +187 -179
- package/lib/v2/modb/maintainer.js +3 -0
- package/lib/v2/modb/radar.js +13 -0
- package/lib/v2/modb/router.js +3 -0
- package/lib/v2/modb/topic.js +59 -0
- package/lib/v2/mydrivers/cid.js +38 -0
- package/lib/v2/mydrivers/index.js +40 -89
- package/lib/v2/mydrivers/maintainer.js +5 -1
- package/lib/v2/mydrivers/radar.js +205 -4
- package/lib/v2/mydrivers/rank.js +40 -0
- package/lib/v2/mydrivers/router.js +4 -1
- package/lib/v2/mydrivers/templates/description.art +5 -0
- package/lib/v2/mydrivers/util.js +125 -0
- package/lib/v2/mymusicsheet/maintainer.js +3 -0
- package/lib/v2/mymusicsheet/radar.js +13 -0
- package/lib/v2/mymusicsheet/router.js +3 -0
- package/lib/v2/mymusicsheet/templates/description.art +41 -0
- package/lib/v2/mymusicsheet/usersheets.js +120 -0
- package/lib/v2/nature/cover.js +32 -42
- package/lib/v2/nature/highlight.js +2 -2
- package/lib/v2/nature/news-and-comment.js +2 -2
- package/lib/v2/nature/news.js +2 -2
- package/lib/v2/nature/research.js +2 -2
- package/lib/v2/nature/siteindex.js +5 -5
- package/lib/v2/nature/utils.js +124 -5
- package/lib/v2/nbd/index.js +4 -1
- package/lib/v2/nbd/maintainer.js +1 -1
- package/lib/v2/nbd/radar.js +3 -3
- package/lib/v2/nbd/router.js +1 -1
- package/lib/v2/ncu/jwc.js +33 -0
- package/lib/v2/ncu/maintainer.js +3 -0
- package/lib/v2/ncu/radar.js +13 -0
- package/lib/v2/ncu/router.js +3 -0
- package/lib/v2/netflav/index.js +39 -0
- package/lib/v2/netflav/radar.js +13 -0
- package/lib/v2/netflav/router.js +3 -0
- package/lib/v2/netflav/templates/description.art +8 -0
- package/lib/v2/nhk/news.js +1 -1
- package/lib/v2/niaogebiji/cat.js +53 -0
- package/lib/v2/niaogebiji/index.js +41 -0
- package/lib/v2/niaogebiji/maintainer.js +5 -0
- package/lib/v2/niaogebiji/radar.js +25 -0
- package/lib/v2/niaogebiji/router.js +5 -0
- package/lib/v2/niaogebiji/today.js +34 -0
- package/lib/v2/nmtv/radar.js +1 -1
- package/lib/v2/nodejs/blog.js +1 -1
- package/lib/v2/npr/radar.js +2 -2
- package/lib/v2/nytimes/radar.js +0 -6
- package/lib/v2/nytimes/router.js +0 -1
- package/lib/v2/oo-software/radar.js +1 -1
- package/lib/v2/oreno3d/radar.js +1 -1
- package/lib/v2/oschina/news.js +1 -0
- package/lib/v2/osu/beatmaps/packs.js +35 -0
- package/lib/v2/osu/maintainer.js +3 -0
- package/lib/v2/osu/radar.js +13 -0
- package/lib/v2/osu/router.js +3 -0
- package/lib/v2/ouc/it-tx.js +44 -0
- package/lib/v2/ouc/it.js +2 -2
- package/lib/v2/ouc/maintainer.js +2 -1
- package/lib/v2/ouc/radar.js +6 -0
- package/lib/v2/ouc/router.js +1 -0
- package/lib/v2/patagonia/maintainer.js +1 -1
- package/lib/v2/paulgraham/article.js +62 -0
- package/lib/v2/paulgraham/maintainer.js +3 -0
- package/lib/v2/paulgraham/radar.js +13 -0
- package/lib/v2/paulgraham/router.js +5 -0
- package/lib/v2/people/index.js +15 -24
- package/lib/v2/people/router.js +1 -2
- package/lib/v2/phoronix/index.js +177 -48
- package/lib/v2/phoronix/maintainer.js +1 -1
- package/lib/v2/phoronix/radar.js +3 -3
- package/lib/v2/phoronix/router.js +1 -1
- package/lib/v2/picnob/maintainer.js +1 -1
- package/lib/v2/picnob/templates/desc.art +3 -3
- package/lib/v2/picnob/user.js +74 -37
- package/lib/v2/picnob/utils.js +24 -0
- package/lib/v2/pixiv/ranking.js +1 -0
- package/lib/v2/pixiv/user.js +2 -1
- package/lib/v2/pixiv/utils.js +2 -2
- package/lib/v2/pkmer/maintainer.js +3 -0
- package/lib/v2/pkmer/radar.js +13 -0
- package/lib/v2/pkmer/recent.js +36 -0
- package/lib/v2/pkmer/router.js +3 -0
- package/lib/v2/pku/cls/announcement.js +42 -0
- package/lib/v2/pku/maintainer.js +1 -0
- package/lib/v2/pku/radar.js +6 -0
- package/lib/v2/pku/router.js +1 -0
- package/lib/v2/pnas/index.js +1 -1
- package/lib/v2/qbitai/category.js +27 -0
- package/lib/v2/qbitai/maintainer.js +4 -0
- package/lib/v2/qbitai/radar.js +19 -0
- package/lib/v2/qbitai/router.js +4 -0
- package/lib/v2/qbitai/tag.js +27 -0
- package/lib/v2/qq/maintainer.js +0 -1
- package/lib/v2/qq/radar.js +0 -8
- package/lib/v2/qq/router.js +0 -1
- package/lib/v2/qqorw/maintainer.js +1 -1
- package/lib/v2/questmobile/maintainer.js +3 -0
- package/lib/v2/questmobile/radar.js +18 -0
- package/lib/v2/questmobile/report.js +127 -0
- package/lib/v2/questmobile/router.js +3 -0
- package/lib/v2/questmobile/templates/description.art +17 -0
- package/lib/v2/qweather/3days.js +1 -1
- package/lib/v2/radio-canada/latest.js +8 -1
- package/lib/v2/reactnewsletter/maintainer.js +0 -1
- package/lib/v2/readhub/daily.js +43 -0
- package/lib/v2/readhub/index.js +42 -86
- package/lib/v2/readhub/maintainer.js +2 -1
- package/lib/v2/readhub/radar.js +12 -2
- package/lib/v2/readhub/router.js +2 -4
- package/lib/v2/readhub/templates/description.art +40 -0
- package/lib/v2/readhub/util.js +69 -0
- package/lib/v2/reuters/common.js +77 -54
- package/lib/v2/reuters/maintainer.js +0 -2
- package/lib/v2/reuters/router.js +0 -2
- package/lib/v2/rfi/maintainer.js +1 -1
- package/lib/v2/rfi/news.js +35 -22
- package/lib/v2/rfi/radar.js +5 -5
- package/lib/v2/rfi/router.js +1 -1
- package/lib/v2/routledge/book-series.js +78 -0
- package/lib/v2/routledge/maintainer.js +3 -0
- package/lib/v2/routledge/radar.js +13 -0
- package/lib/v2/routledge/router.js +3 -0
- package/lib/v2/routledge/templates/description.art +7 -0
- package/lib/v2/rsshub/maintainer.js +1 -1
- package/lib/v2/rsshub/radar.js +0 -6
- package/lib/v2/rsshub/router.js +1 -1
- package/lib/v2/rsshub/transform/sitemap.js +52 -0
- package/lib/v2/runtrail/maintainer.js +0 -1
- package/lib/v2/scau/maintainer.js +1 -0
- package/lib/v2/scau/radar.js +8 -0
- package/lib/v2/scau/router.js +1 -0
- package/lib/v2/scau/yjs.js +2 -2
- package/lib/v2/scau/yjsy.js +27 -0
- package/lib/v2/science/utils.js +4 -4
- package/lib/v2/scmp/index.js +61 -85
- package/lib/v2/scmp/utils.js +60 -0
- package/lib/v2/scut/maintainer.js +1 -0
- package/lib/v2/scut/radar.js +34 -0
- package/lib/v2/scut/router.js +1 -0
- package/lib/v2/scut/smae/notice.js +54 -0
- package/lib/v2/segmentfault/blogs.js +6 -23
- package/lib/v2/segmentfault/channel.js +18 -30
- package/lib/v2/segmentfault/user.js +6 -32
- package/lib/v2/segmentfault/utils.js +32 -0
- package/lib/v2/sehuatang/index.js +10 -12
- package/lib/v2/sehuatang/user.js +11 -12
- package/lib/v2/shiep/config.js +10 -10
- package/lib/v2/shiep/index.js +4 -4
- package/lib/v2/shiep/radar.js +6 -6
- package/lib/v2/showstart/artist.js +15 -0
- package/lib/v2/showstart/brand.js +15 -0
- package/lib/v2/showstart/const.js +4 -0
- package/lib/v2/showstart/event.js +18 -0
- package/lib/v2/showstart/maintainer.js +6 -0
- package/lib/v2/showstart/radar.js +40 -0
- package/lib/v2/showstart/router.js +6 -0
- package/lib/v2/showstart/search.js +51 -0
- package/lib/v2/showstart/service.js +166 -0
- package/lib/v2/showstart/utils.js +92 -0
- package/lib/v2/snowpeak/maintainer.js +1 -1
- package/lib/v2/sogou/maintainer.js +4 -0
- package/lib/v2/sogou/radar.js +16 -0
- package/lib/v2/sogou/router.js +4 -0
- package/lib/v2/sogou/search.js +54 -0
- package/lib/v2/sogou/templates/description.art +6 -0
- package/lib/v2/sohu/mp.js +48 -35
- package/lib/v2/sohu/templates/video.art +7 -0
- package/lib/v2/sony/maintainer.js +1 -1
- package/lib/v2/sourceforge/index.js +33 -0
- package/lib/v2/sourceforge/maintainer.js +3 -0
- package/lib/v2/sourceforge/radar.js +12 -0
- package/lib/v2/sourceforge/router.js +3 -0
- package/lib/v2/sqmc/maintainer.js +3 -0
- package/lib/v2/sqmc/radar.js +13 -0
- package/lib/v2/sqmc/router.js +3 -0
- package/lib/v2/sqmc/www.js +49 -0
- package/lib/v2/sse/disclosure.js +4 -3
- package/lib/v2/sspu/jwc.js +44 -0
- package/lib/v2/sspu/maintainer.js +3 -0
- package/lib/v2/sspu/radar.js +13 -0
- package/lib/v2/sspu/router.js +3 -0
- package/lib/v2/stratechery/radar.js +1 -1
- package/lib/v2/surfshark/blog.js +91 -0
- package/lib/v2/surfshark/maintainer.js +3 -0
- package/lib/v2/surfshark/radar.js +90 -0
- package/lib/v2/surfshark/router.js +3 -0
- package/lib/v2/surfshark/templates/description.art +5 -0
- package/lib/v2/sysu/ygafz.js +1 -1
- package/lib/v2/tableau/maintainer.js +3 -0
- package/lib/v2/tableau/radar.js +11 -0
- package/lib/v2/tableau/router.js +3 -0
- package/lib/v2/tableau/viz-of-the-day.js +26 -0
- package/lib/v2/techcrunch/maintainer.js +1 -1
- package/lib/v2/techpowerup/maintainer.js +0 -1
- package/lib/v2/telegram/maintainer.js +3 -3
- package/lib/v2/tencent/maintainer.js +0 -1
- package/lib/v2/tencent/radar.js +0 -40
- package/lib/v2/tencent/router.js +0 -1
- package/lib/v2/tesla/cx.js +119 -0
- package/lib/v2/tesla/maintainer.js +1 -0
- package/lib/v2/tesla/radar.js +13 -1
- package/lib/v2/tesla/router.js +1 -0
- package/lib/v2/tesla/templates/description.art +140 -0
- package/lib/v2/test/index.js +46 -0
- package/lib/v2/tfc-taiwan/maintainer.js +0 -1
- package/lib/v2/theatlantic/maintainer.js +1 -1
- package/lib/v2/theblockbeats/index.js +53 -0
- package/lib/v2/theblockbeats/radar.js +19 -0
- package/lib/v2/theblockbeats/router.js +3 -0
- package/lib/v2/thenewslens/radar.js +0 -6
- package/lib/v2/thepaper/featured.js +1 -1
- package/lib/v2/thepaper/radar.js +2 -2
- package/lib/v2/thepaper/utils.js +18 -12
- package/lib/v2/thoughtco/index.js +95 -0
- package/lib/v2/thoughtco/radar.js +155 -0
- package/lib/v2/thoughtco/router.js +3 -0
- package/lib/v2/thoughtco/templates/description.art +16 -0
- package/lib/v2/threads/index.js +20 -150
- package/lib/v2/threads/utils.js +147 -0
- package/lib/v2/thwiki/radar.js +1 -1
- package/lib/v2/tophub/list.js +40 -0
- package/lib/v2/tophub/maintainer.js +1 -0
- package/lib/v2/tophub/radar.js +6 -0
- package/lib/v2/tophub/router.js +1 -0
- package/lib/v2/tophub/templates/rank.art +22 -0
- package/lib/v2/twitch/live.js +88 -0
- package/lib/v2/twitch/maintainer.js +5 -0
- package/lib/v2/twitch/radar.js +37 -0
- package/lib/v2/twitch/router.js +5 -0
- package/lib/v2/twitch/schedule.js +75 -0
- package/lib/v2/twitch/video.js +64 -0
- package/lib/v2/twitter/keyword.js +1 -3
- package/lib/v2/twitter/media.js +1 -5
- package/lib/v2/twitter/user.js +1 -3
- package/lib/v2/twitter/utils.js +5 -3
- package/lib/v2/twitter/web-api/constants.js +80 -68
- package/lib/v2/twitter/web-api/twitter-api.js +96 -103
- package/lib/v2/twreporter/maintainer.js +0 -2
- package/lib/v2/twreporter/radar.js +0 -12
- package/lib/v2/twreporter/router.js +0 -2
- package/lib/v2/uchicago/current.js +2 -2
- package/lib/v2/udn/breaking-news.js +6 -2
- package/lib/v2/uniqlo/maintainer.js +3 -0
- package/lib/v2/uniqlo/new.js +62 -0
- package/lib/v2/uniqlo/radar.js +12 -0
- package/lib/v2/uniqlo/router.js +3 -0
- package/lib/v2/v1tx/maintainer.js +0 -1
- package/lib/v2/wechat/maintainer.js +1 -1
- package/lib/v2/weekendhk/maintainer.js +0 -1
- package/lib/v2/weibo/maintainer.js +1 -1
- package/lib/v2/weibo/oasis/user.js +4 -3
- package/lib/v2/weibo/radar.js +1 -1
- package/lib/v2/weibo/router.js +1 -1
- package/lib/v2/weibo/search/hot.js +118 -7
- package/lib/v2/weibo/search/template/digest.art +17 -0
- package/lib/v2/whu/cs.js +71 -0
- package/lib/v2/whu/gs/index.js +85 -0
- package/lib/v2/whu/hyxt.js +50 -0
- package/lib/v2/whu/maintainer.js +6 -0
- package/lib/v2/whu/news.js +70 -0
- package/lib/v2/whu/radar.js +275 -0
- package/lib/v2/whu/router.js +6 -0
- package/lib/v2/whu/templates/description.art +39 -0
- package/lib/v2/whu/util.js +148 -0
- package/lib/v2/worldjournal/index.js +1 -1
- package/lib/v2/woshipm/maintainer.js +0 -2
- package/lib/v2/woshipm/radar.js +0 -12
- package/lib/v2/woshipm/router.js +0 -2
- package/lib/v2/x-mol/maintainer.js +4 -0
- package/lib/v2/x-mol/news.js +63 -0
- package/lib/v2/x-mol/paper.js +73 -0
- package/lib/v2/x-mol/radar.js +25 -0
- package/lib/v2/x-mol/router.js +4 -0
- package/lib/v2/x-mol/templates/description.art +6 -0
- package/lib/v2/x-mol/utils.js +3 -0
- package/lib/v2/xiaohongshu/user.js +33 -9
- package/lib/v2/xiaohongshu/util.js +29 -23
- package/lib/v2/xiaote/radar.js +1 -1
- package/lib/v2/xinpianchang/index.js +19 -0
- package/lib/v2/xinpianchang/maintainer.js +4 -0
- package/lib/v2/xinpianchang/radar.js +28 -0
- package/lib/v2/xinpianchang/rank.js +33 -0
- package/lib/v2/xinpianchang/router.js +5 -0
- package/lib/v2/xinpianchang/templates/description.art +13 -0
- package/lib/v2/xinpianchang/util.js +110 -0
- package/lib/v2/xmnn/docs.js +0 -0
- package/lib/v2/xmnn/maintainer.js +1 -0
- package/lib/v2/xmnn/news.js +65 -0
- package/lib/v2/xmnn/radar.js +67 -1
- package/lib/v2/xmnn/router.js +1 -0
- package/lib/v2/xmut/jwc/bkjw.js +62 -0
- package/lib/v2/xmut/jwc/yjs.js +51 -0
- package/lib/v2/xmut/maintainer.js +3 -0
- package/lib/v2/xmut/radar.js +13 -0
- package/lib/v2/xmut/router.js +4 -0
- package/lib/v2/xsijishe/maintainer.js +1 -0
- package/lib/v2/xsijishe/radar.js +12 -0
- package/lib/v2/xsijishe/rank.js +60 -0
- package/lib/v2/xsijishe/router.js +1 -0
- package/lib/v2/yahoo/maintainer.js +2 -0
- package/lib/v2/yahoo/news/tw/index.js +24 -0
- package/lib/v2/yahoo/news/tw/provider-helper.js +22 -0
- package/lib/v2/yahoo/news/tw/provider.js +24 -0
- package/lib/v2/yahoo/news/tw/utils.js +129 -0
- package/lib/v2/yahoo/radar.js +29 -1
- package/lib/v2/yahoo/router.js +4 -1
- package/lib/v2/yahoo/templates/youtube.art +1 -0
- package/lib/v2/yomujp/level.js +101 -0
- package/lib/v2/yomujp/maintainer.js +3 -0
- package/lib/v2/yomujp/radar.js +13 -0
- package/lib/v2/yomujp/router.js +3 -0
- package/lib/v2/yuque/book.js +6 -1
- package/lib/v2/yuque/utils.js +17 -0
- package/lib/v2/yyets/radar.js +2 -2
- package/lib/v2/zagg/maintainer.js +1 -1
- package/lib/v2/zcool/discover.js +3 -0
- package/lib/v2/zcool/maintainer.js +1 -1
- package/lib/v2/zhihu/maintainer.js +2 -0
- package/lib/v2/zhihu/radar.js +18 -0
- package/lib/v2/zhihu/router.js +2 -0
- package/lib/v2/zhihu/xhu/activities.js +112 -0
- package/lib/v2/zhihu/xhu/answers.js +31 -0
- package/lib/v2/zhubai/radar.js +2 -1
- package/lib/v2/zhubai/templates/description.art +41 -13
- package/lib/v2/zhubai/top20.js +31 -22
- package/lib/v2/zimuxia/index.js +64 -0
- package/lib/v2/zimuxia/maintainer.js +4 -0
- package/lib/v2/zimuxia/portfolio.js +52 -0
- package/lib/v2/zimuxia/radar.js +19 -0
- package/lib/v2/zimuxia/router.js +4 -0
- package/lib/v2/zjuvag/blog.js +33 -0
- package/lib/v2/zjuvag/maintainer.js +3 -0
- package/lib/v2/zjuvag/radar.js +11 -0
- package/lib/v2/zjuvag/router.js +3 -0
- package/lib/views/error.art +1 -1
- package/lib/views/rss3-ums.js +62 -0
- package/lib/views/welcome.art +1 -1
- package/package.json +77 -41
- package/lib/routes/1draw/index.js +0 -44
- package/lib/routes/3ycy/home.js +0 -58
- package/lib/routes/51voa/channel.js +0 -158
- package/lib/routes/8btc/author.js +0 -49
- package/lib/routes/8btc/news/flash.js +0 -41
- package/lib/routes/91ddcc/stage.js +0 -48
- package/lib/routes/91ddcc/user.js +0 -45
- package/lib/routes/93/index.js +0 -50
- package/lib/routes/abc/documentId.js +0 -7272
- package/lib/routes/abc/id.js +0 -7272
- package/lib/routes/abc/index.js +0 -74
- package/lib/routes/aliyun-kernel/index.js +0 -60
- package/lib/routes/allnow/column.js +0 -7
- package/lib/routes/allnow/index.js +0 -5
- package/lib/routes/allnow/tag.js +0 -7
- package/lib/routes/allnow/user.js +0 -7
- package/lib/routes/allnow/utils.js +0 -67
- package/lib/routes/alter-cn/news.js +0 -44
- package/lib/routes/amazon/ku.js +0 -57
- package/lib/routes/andyt/index.js +0 -36
- package/lib/routes/animen/news.js +0 -84
- package/lib/routes/anitama/channel.js +0 -64
- package/lib/routes/anki/changes.js +0 -39
- package/lib/routes/aom/journal.js +0 -107
- package/lib/routes/aptonic/action.js +0 -38
- package/lib/routes/asahi/area.js +0 -57
- package/lib/routes/atfd/index.js +0 -46
- package/lib/routes/babehub/index.js +0 -30
- package/lib/routes/babehub/search.js +0 -15
- package/lib/routes/babehub/utils.js +0 -71
- package/lib/routes/baidu/daily.js +0 -55
- package/lib/routes/baidu/doodles.js +0 -27
- package/lib/routes/bell-labs/events-news.js +0 -70
- package/lib/routes/bihu/activaties.js +0 -76
- package/lib/routes/bing/index.js +0 -26
- package/lib/routes/biobio/index.js +0 -40
- package/lib/routes/biobio/others.js +0 -45
- package/lib/routes/bioon/latest.js +0 -51
- package/lib/routes/bishijie/kuaixun.js +0 -21
- package/lib/routes/bjnews/epaper.js +0 -80
- package/lib/routes/blogs/diygod/animal-crossing.js +0 -39
- package/lib/routes/blogs/diygod/gk.js +0 -33
- package/lib/routes/blogs/jianning.js +0 -45
- package/lib/routes/blogs/paulgraham.js +0 -46
- package/lib/routes/bof/home.js +0 -42
- package/lib/routes/bookscomtw/newbooks.js +0 -37
- package/lib/routes/booksource/index.js +0 -22
- package/lib/routes/boston/index.js +0 -73
- package/lib/routes/buaq/index.js +0 -31
- package/lib/routes/cbc/topics.js +0 -71
- package/lib/routes/cfd/gbp_div.js +0 -28
- package/lib/routes/cgtn/pick.js +0 -45
- package/lib/routes/cgtn/top.js +0 -45
- package/lib/routes/changku/index.js +0 -39
- package/lib/routes/chinadialogue/column.js +0 -58
- package/lib/routes/chinadialogue/topics.js +0 -55
- package/lib/routes/chinalaborwatch/reports.js +0 -53
- package/lib/routes/chinatimes/index.js +0 -115
- package/lib/routes/chuiniu/column.js +0 -89
- package/lib/routes/chuiniu/column_list.js +0 -36
- package/lib/routes/ciweimao/chapter.js +0 -34
- package/lib/routes/cktest/app.js +0 -34
- package/lib/routes/cktest/policy.js +0 -43
- package/lib/routes/cmes/news.js +0 -64
- package/lib/routes/codeceo/category.js +0 -51
- package/lib/routes/codeceo/home.js +0 -49
- package/lib/routes/commonapp/blog.js +0 -42
- package/lib/routes/coronavirus/caixin.js +0 -34
- package/lib/routes/coronavirus/dxy-data.js +0 -86
- package/lib/routes/coronavirus/dxy.js +0 -27
- package/lib/routes/coronavirus/mogov-2019ncov.js +0 -49
- package/lib/routes/coronavirus/nhc.js +0 -30
- package/lib/routes/coronavirus/scmp.js +0 -32
- package/lib/routes/coronavirus/sg-moh.js +0 -40
- package/lib/routes/coronavirus/yahoo-japan.js +0 -77
- package/lib/routes/cpta/notice.js +0 -41
- package/lib/routes/craigslist/search.js +0 -51
- package/lib/routes/cria/news.js +0 -57
- package/lib/routes/curseforge/files.js +0 -36
- package/lib/routes/curseforge/generalfiles.js +0 -42
- package/lib/routes/cve/search.js +0 -26
- package/lib/routes/d1bz/novel.js +0 -72
- package/lib/routes/d2/daily.js +0 -49
- package/lib/routes/dayone/blog.js +0 -56
- package/lib/routes/deeplearningai/thebatch.js +0 -29
- package/lib/routes/dengekionline/new.js +0 -133
- package/lib/routes/dhl/shipment-tracking.js +0 -56
- package/lib/routes/dianping/user.js +0 -98
- package/lib/routes/digic-pictures/index.js +0 -72
- package/lib/routes/dilbert/strip.js +0 -54
- package/lib/routes/dilidili/fanju.js +0 -78
- package/lib/routes/dockone/weekly.js +0 -60
- package/lib/routes/donews/index.js +0 -59
- package/lib/routes/donews/utils.js +0 -19
- package/lib/routes/dsb/area.js +0 -33
- package/lib/routes/dxy/vaccine.js +0 -109
- package/lib/routes/dysfz/index.js +0 -20
- package/lib/routes/egsea/flash.js +0 -40
- package/lib/routes/eleme/open-be/announce.js +0 -21
- package/lib/routes/elife/index.js +0 -67
- package/lib/routes/elitebabes/index.js +0 -30
- package/lib/routes/elitebabes/search.js +0 -15
- package/lib/routes/elitebabes/utils.js +0 -88
- package/lib/routes/elitebabes/videos.js +0 -26
- package/lib/routes/esquirehk/tag.js +0 -71
- package/lib/routes/facebook/page.js +0 -128
- package/lib/routes/feed-the-beast/modpack.js +0 -31
- package/lib/routes/feixuew/index.js +0 -63
- package/lib/routes/fir/update.js +0 -31
- package/lib/routes/firefox/addons.js +0 -33
- package/lib/routes/firefox/release.js +0 -30
- package/lib/routes/fitchratings/site.js +0 -33
- package/lib/routes/fjnews/fznews.js +0 -55
- package/lib/routes/fjnews/jjnews.js +0 -43
- package/lib/routes/fontstory/tw.js +0 -48
- package/lib/routes/fulinian/index.js +0 -50
- package/lib/routes/gab/explore.js +0 -31
- package/lib/routes/galgame/hhgal.js +0 -70
- package/lib/routes/galgame/sayhuahuo.js +0 -22
- package/lib/routes/galgame/zdfx.js +0 -30
- package/lib/routes/gamegrape/index.js +0 -73
- package/lib/routes/gaoqingla/latest.js +0 -37
- package/lib/routes/gbcc/trust.js +0 -28
- package/lib/routes/geektime/news.js +0 -54
- package/lib/routes/getitfree/category.js +0 -59
- package/lib/routes/getitfree/search.js +0 -25
- package/lib/routes/getitfree/utils.js +0 -47
- package/lib/routes/girlimg/album.js +0 -57
- package/lib/routes/gitchat/newest.js +0 -23
- package/lib/routes/gitea/blog.js +0 -70
- package/lib/routes/gov/moa/sjzxfb.js +0 -20
- package/lib/routes/gov/ndrc/xwdt.js +0 -54
- package/lib/routes/gracg/user.js +0 -65
- package/lib/routes/gradcafe/result.js +0 -37
- package/lib/routes/growincity/news.js +0 -49
- package/lib/routes/grubstreet/utils.js +0 -78
- package/lib/routes/guiltfree/onsale.js +0 -48
- package/lib/routes/gvm/index.js +0 -94
- package/lib/routes/haimaoba/comics.js +0 -57
- package/lib/routes/hentai-cosplays/hentai-cosplays.js +0 -11
- package/lib/routes/hkcd/pdf.js +0 -30
- package/lib/routes/hkcnews/news.js +0 -63
- package/lib/routes/hkgolden/index.js +0 -110
- package/lib/routes/hopper/index.js +0 -82
- package/lib/routes/hpoi/index.js +0 -47
- package/lib/routes/hpoi/user.js +0 -37
- package/lib/routes/huawei/xinsheng/index.js +0 -61
- package/lib/routes/hugo/releases.js +0 -53
- package/lib/routes/iea/index.js +0 -53
- package/lib/routes/iie/blog.js +0 -47
- package/lib/routes/imaijia/category.js +0 -63
- package/lib/routes/imuseum/index.js +0 -49
- package/lib/routes/instapaper/person.js +0 -28
- package/lib/routes/itjuzi/invest.js +0 -32
- package/lib/routes/itjuzi/merge.js +0 -32
- package/lib/routes/itslide/new.js +0 -40
- package/lib/routes/iyiou/index.js +0 -41
- package/lib/routes/iyouport/index.js +0 -35
- package/lib/routes/iyouport/utils.js +0 -22
- package/lib/routes/jdlingyu/index.js +0 -45
- package/lib/routes/jianshu/trending.js +0 -28
- package/lib/routes/jianshu/utils.js +0 -66
- package/lib/routes/jiazhen108/index.js +0 -47
- package/lib/routes/jijitang/article.js +0 -19
- package/lib/routes/jijitang/publication.js +0 -18
- package/lib/routes/jingdong/zhongchou.js +0 -78
- package/lib/routes/jinritoutiao/keyword.js +0 -27
- package/lib/routes/jskou/index.js +0 -21
- package/lib/routes/juesheng/index.js +0 -49
- package/lib/routes/justrun/index.js +0 -44
- package/lib/routes/kaggle/competitions.js +0 -51
- package/lib/routes/kaggle/discussion.js +0 -72
- package/lib/routes/kaggle/user.js +0 -19
- package/lib/routes/kirara/news.js +0 -30
- package/lib/routes/kkj/news.js +0 -52
- package/lib/routes/konami/pesmobile.js +0 -31
- package/lib/routes/krankenkassen/index.js +0 -54
- package/lib/routes/ku/index.js +0 -31
- package/lib/routes/kzfeed/topic.js +0 -122
- package/lib/routes/leboncoin/ad.js +0 -136
- package/lib/routes/leetcode/check-cn.js +0 -98
- package/lib/routes/leetcode/check-us.js +0 -32
- package/lib/routes/leetcode/utils.js +0 -54
- package/lib/routes/liequtv/room.js +0 -36
- package/lib/routes/lingyi/index.js +0 -64
- package/lib/routes/linkedkeeper/index.js +0 -37
- package/lib/routes/liquipedia/dota2_matches.js +0 -50
- package/lib/routes/liwushuo/index.js +0 -28
- package/lib/routes/loveheaven/update.js +0 -45
- package/lib/routes/lowendtalk/discussion.js +0 -43
- package/lib/routes/macau-bolsas/index.js +0 -47
- package/lib/routes/macked/app.js +0 -25
- package/lib/routes/macwk/soft.js +0 -32
- package/lib/routes/mail/imap.js +0 -79
- package/lib/routes/makeuseof/index.js +0 -59
- package/lib/routes/manhuadui/manhua.js +0 -36
- package/lib/routes/manong-weekly/issues.js +0 -33
- package/lib/routes/matataki/site/posts/author.js +0 -17
- package/lib/routes/matataki/site/posts/favorite.js +0 -42
- package/lib/routes/matataki/site/posts/scoreranking.js +0 -15
- package/lib/routes/matataki/site/posts/tag.js +0 -16
- package/lib/routes/matataki/site/posts/timeranking.js +0 -15
- package/lib/routes/matataki/site/posts/token.js +0 -18
- package/lib/routes/matataki/utils/matataki-utils.js +0 -125
- package/lib/routes/maxnews/dota2.js +0 -45
- package/lib/routes/meituan/tech/home.js +0 -45
- package/lib/routes/mercari/index.js +0 -67
- package/lib/routes/metred/fuli.js +0 -42
- package/lib/routes/mi/board.js +0 -36
- package/lib/routes/mind42/index.js +0 -7
- package/lib/routes/mind42/search.js +0 -5
- package/lib/routes/mind42/tag.js +0 -5
- package/lib/routes/mind42/utils.js +0 -47
- package/lib/routes/mingjian/index.js +0 -46
- package/lib/routes/miniapp/article.js +0 -57
- package/lib/routes/miniapp/store/newest.js +0 -36
- package/lib/routes/mitbbs/index.js +0 -54
- package/lib/routes/mitre/publications.js +0 -27
- package/lib/routes/mittrchina/index.js +0 -45
- package/lib/routes/mlhang/latest.js +0 -23
- package/lib/routes/mlog-club/projects.js +0 -33
- package/lib/routes/mlog-club/topics.js +0 -37
- package/lib/routes/mobdata/report.js +0 -30
- package/lib/routes/moxingnet/index.js +0 -61
- package/lib/routes/mp4ba/index.js +0 -133
- package/lib/routes/mqube/latest.js +0 -21
- package/lib/routes/mqube/tag.js +0 -23
- package/lib/routes/mqube/top.js +0 -21
- package/lib/routes/mqube/user.js +0 -25
- package/lib/routes/mzitu/category.js +0 -26
- package/lib/routes/mzitu/home.js +0 -32
- package/lib/routes/mzitu/post.js +0 -41
- package/lib/routes/mzitu/tag.js +0 -25
- package/lib/routes/mzitu/tags.js +0 -23
- package/lib/routes/mzitu/util.js +0 -51
- package/lib/routes/namoc/announcement.js +0 -64
- package/lib/routes/namoc/exhibition.js +0 -67
- package/lib/routes/namoc/media.js +0 -67
- package/lib/routes/namoc/news.js +0 -67
- package/lib/routes/namoc/specials.js +0 -42
- package/lib/routes/nba/app_news.js +0 -40
- package/lib/routes/network360/jobs.js +0 -24
- package/lib/routes/newsmth/account.js +0 -39
- package/lib/routes/newsmth/section.js +0 -99
- package/lib/routes/nfmovies/index.js +0 -58
- package/lib/routes/niaogebiji/cat.js +0 -86
- package/lib/routes/niaogebiji/index.js +0 -40
- package/lib/routes/niaogebiji/today.js +0 -29
- package/lib/routes/ningmeng/song.js +0 -77
- package/lib/routes/northhouse/index.js +0 -54
- package/lib/routes/novel/axdzs.js +0 -67
- package/lib/routes/novel/booksky.js +0 -44
- package/lib/routes/novel/dcrsw.js +0 -58
- package/lib/routes/novel/ptwxz.js +0 -76
- package/lib/routes/novel/wenxuemi.js +0 -63
- package/lib/routes/novel/zhaishuyuan.js +0 -84
- package/lib/routes/npc/index.js +0 -42
- package/lib/routes/obsidian/announcements.js +0 -22
- package/lib/routes/or/index.js +0 -54
- package/lib/routes/ow/patch.js +0 -23
- package/lib/routes/partnershiponai/resources.js +0 -49
- package/lib/routes/pgyer/app.js +0 -91
- package/lib/routes/piaohua/hot.js +0 -37
- package/lib/routes/pintu360/index.js +0 -54
- package/lib/routes/plainlaw/archives.js +0 -42
- package/lib/routes/pmcaff/user.js +0 -56
- package/lib/routes/pocket/trending.js +0 -31
- package/lib/routes/polar/blog.js +0 -47
- package/lib/routes/popiask/questions.js +0 -41
- package/lib/routes/popiask/tapechat_questions.js +0 -43
- package/lib/routes/popyard/index.js +0 -93
- package/lib/routes/processon/popular.js +0 -51
- package/lib/routes/putonghua/hangzhou.js +0 -45
- package/lib/routes/qlwb/city.js +0 -54
- package/lib/routes/qlwb/news.js +0 -37
- package/lib/routes/qtfyfl/category.js +0 -91
- package/lib/routes/questmobile/report.js +0 -121
- package/lib/routes/rs05/rs05.js +0 -35
- package/lib/routes/s-hentai/index.js +0 -64
- package/lib/routes/sagawa/index.js +0 -67
- package/lib/routes/sankakucomplex/post.js +0 -50
- package/lib/routes/sans/summit_archive.js +0 -24
- package/lib/routes/sbs/chinese.js +0 -70
- package/lib/routes/scala-blog/scala-blog.js +0 -29
- package/lib/routes/sckjt/news.js +0 -35
- package/lib/routes/scoresaber/user.js +0 -44
- package/lib/routes/sf/sffq-announce.js +0 -22
- package/lib/routes/shengwugu/index.js +0 -41
- package/lib/routes/shinybbs/index.js +0 -60
- package/lib/routes/shinybbs/latest.js +0 -57
- package/lib/routes/shinybbs/p.js +0 -38
- package/lib/routes/showroom/room.js +0 -31
- package/lib/routes/shuax/project.js +0 -37
- package/lib/routes/shuhui/comics.js +0 -95
- package/lib/routes/sixthtone/news.js +0 -52
- package/lib/routes/socialbeta/hunt.js +0 -29
- package/lib/routes/soomal/topics.js +0 -130
- package/lib/routes/stork/keyword.js +0 -58
- package/lib/routes/tahui/rptlist.js +0 -48
- package/lib/routes/tam/forecast.js +0 -53
- package/lib/routes/tanwu/products.js +0 -27
- package/lib/routes/tencent/bigdata/index.js +0 -53
- package/lib/routes/tencent/bugly/changelog.js +0 -49
- package/lib/routes/tencent/egame/room.js +0 -52
- package/lib/routes/tencent/gameinstitute/community.js +0 -60
- package/lib/routes/tencent/guyu/channel.js +0 -64
- package/lib/routes/tencent/video/playlist.js +0 -46
- package/lib/routes/tencent/wechat/miniprogram/plugins.js +0 -54
- package/lib/routes/thrillist/index.js +0 -67
- package/lib/routes/tianya/comments.js +0 -41
- package/lib/routes/tianya/index.js +0 -32
- package/lib/routes/tianya/user.js +0 -34
- package/lib/routes/tssstatus/index.js +0 -35
- package/lib/routes/tuicool/mags.js +0 -41
- package/lib/routes/uisdc/news.js +0 -34
- package/lib/routes/uisdc/talk.js +0 -58
- package/lib/routes/uisdc/topic.js +0 -55
- package/lib/routes/uisdc/zt.js +0 -65
- package/lib/routes/uniqlo/stylingbook.js +0 -24
- package/lib/routes/universities/buaa/news/index.js +0 -66
- package/lib/routes/universities/buaa/utils.js +0 -57
- package/lib/routes/universities/harvard/health/blog.js +0 -51
- package/lib/routes/universities/whu/cs.js +0 -38
- package/lib/routes/universities/whu/news.js +0 -128
- package/lib/routes/vgtime/keyword.js +0 -46
- package/lib/routes/vgtime/news.js +0 -52
- package/lib/routes/vgtime/release.js +0 -20
- package/lib/routes/voa/day-photos.js +0 -54
- package/lib/routes/vuevideo/user.js +0 -60
- package/lib/routes/wanwansub/index.js +0 -57
- package/lib/routes/wanwansub/info.js +0 -44
- package/lib/routes/weforum/report.js +0 -56
- package/lib/routes/weseepro/circle.js +0 -38
- package/lib/routes/weseepro/newest-direct.js +0 -69
- package/lib/routes/weseepro/newest.js +0 -69
- package/lib/routes/westore/new.js +0 -40
- package/lib/routes/whalegogo/home.js +0 -43
- package/lib/routes/whalegogo/portal.js +0 -57
- package/lib/routes/wikihow/category.js +0 -34
- package/lib/routes/wikihow/index.js +0 -32
- package/lib/routes/wineyun/index.js +0 -36
- package/lib/routes/wired/tag.js +0 -31
- package/lib/routes/wolley/host.js +0 -39
- package/lib/routes/wolley/index.js +0 -47
- package/lib/routes/wolley/user.js +0 -38
- package/lib/routes/wukong/user.js +0 -93
- package/lib/routes/x-mol/news.js +0 -48
- package/lib/routes/x-mol/paper.js +0 -78
- package/lib/routes/x-mol/utils.js +0 -16
- package/lib/routes/xici/index.js +0 -33
- package/lib/routes/xinquji/internal.js +0 -15
- package/lib/routes/xinquji/today.js +0 -15
- package/lib/routes/xposed/module.js +0 -36
- package/lib/routes/yahoo-jp-tv/index.js +0 -21
- package/lib/routes/yicas/blog.js +0 -52
- package/lib/routes/yidoutang/index.js +0 -33
- package/lib/routes/zcfy/hot.js +0 -34
- package/lib/routes/zcfy/index.js +0 -34
- package/lib/routes/zfrontier/board_postlist.js +0 -36
- package/lib/routes/zfrontier/postlist.js +0 -33
- package/lib/routes/zhanqi/room.js +0 -37
- package/lib/routes/zhilian/index.js +0 -78
- package/lib/routes/zhutix/latest.js +0 -41
- package/lib/routes/zimuxia/index.js +0 -56
- package/lib/routes/zimuxia/portfolio.js +0 -39
- package/lib/routes/zimuzu/resource.js +0 -19
- package/lib/routes/zimuzu/top.js +0 -27
- package/lib/routes/ziroom/room.js +0 -55
- package/lib/routes/zzz/index.js +0 -59
- package/lib/v2/2047/index.js +0 -55
- package/lib/v2/2047/maintainer.js +0 -3
- package/lib/v2/2047/radar.js +0 -13
- package/lib/v2/2047/router.js +0 -3
- package/lib/v2/35photo/actual.js +0 -7
- package/lib/v2/35photo/author.js +0 -9
- package/lib/v2/35photo/genre.js +0 -10
- package/lib/v2/35photo/interesting.js +0 -7
- package/lib/v2/35photo/maintainer.js +0 -8
- package/lib/v2/35photo/map.js +0 -7
- package/lib/v2/35photo/new.js +0 -7
- package/lib/v2/35photo/radar.js +0 -43
- package/lib/v2/35photo/router.js +0 -8
- package/lib/v2/35photo/utils.js +0 -57
- package/lib/v2/agirls/topic.js +0 -44
- package/lib/v2/aliyundrive/files.js +0 -59
- package/lib/v2/aliyundrive/maintainer.js +0 -3
- package/lib/v2/aliyundrive/radar.js +0 -13
- package/lib/v2/aliyundrive/router.js +0 -3
- package/lib/v2/allrecode/index.js +0 -65
- package/lib/v2/allrecode/maintainer.js +0 -5
- package/lib/v2/allrecode/news.js +0 -35
- package/lib/v2/allrecode/radar.js +0 -25
- package/lib/v2/allrecode/router.js +0 -4
- package/lib/v2/appledaily/index.js +0 -65
- package/lib/v2/appledaily/maintainer.js +0 -3
- package/lib/v2/appledaily/radar.js +0 -157
- package/lib/v2/appledaily/router.js +0 -3
- package/lib/v2/appstore/gofans.js +0 -34
- package/lib/v2/appstore/update.js +0 -37
- package/lib/v2/ash-maurya/index.js +0 -54
- package/lib/v2/ash-maurya/maintainer.js +0 -3
- package/lib/v2/ash-maurya/radar.js +0 -13
- package/lib/v2/ash-maurya/router.js +0 -3
- package/lib/v2/audiobar/latest.js +0 -53
- package/lib/v2/audiobar/maintainer.js +0 -3
- package/lib/v2/audiobar/radar.js +0 -13
- package/lib/v2/audiobar/router.js +0 -3
- package/lib/v2/baijing/index.js +0 -54
- package/lib/v2/baijing/maintainer.js +0 -3
- package/lib/v2/baijing/radar.js +0 -22
- package/lib/v2/baijing/router.js +0 -3
- package/lib/v2/bilibili/blackboard.js +0 -31
- package/lib/v2/bilibili/channel.js +0 -31
- package/lib/v2/bilibili/online.js +0 -25
- package/lib/v2/bilibili/topic.js +0 -50
- package/lib/v2/bilibili/video-all.js +0 -78
- package/lib/v2/blockbeats/index.js +0 -43
- package/lib/v2/blockbeats/radar.js +0 -19
- package/lib/v2/blockbeats/router.js +0 -3
- package/lib/v2/cctv/special.js +0 -110
- package/lib/v2/chinacef/experts.js +0 -38
- package/lib/v2/chinacef/hot.js +0 -38
- package/lib/v2/chinacef/index.js +0 -39
- package/lib/v2/chinacef/maintainer.js +0 -5
- package/lib/v2/chinacef/radar.js +0 -25
- package/lib/v2/chinacef/router.js +0 -5
- package/lib/v2/chinacef/templates/description.art +0 -1
- package/lib/v2/chinacef/utils.js +0 -55
- package/lib/v2/chinafactcheck/templates/description.art +0 -1
- package/lib/v2/clash/maintainer.js +0 -3
- package/lib/v2/clash/premium.js +0 -23
- package/lib/v2/clash/radar.js +0 -13
- package/lib/v2/clash/router.js +0 -3
- package/lib/v2/cntheory/maintainer.js +0 -3
- package/lib/v2/cntheory/paper.js +0 -89
- package/lib/v2/cntheory/radar.js +0 -13
- package/lib/v2/cntheory/router.js +0 -3
- package/lib/v2/cntheory/templates/description.art +0 -2
- package/lib/v2/csc/maintainer.js +0 -3
- package/lib/v2/csc/notice.js +0 -99
- package/lib/v2/csc/radar.js +0 -31
- package/lib/v2/csc/router.js +0 -3
- package/lib/v2/cscse/maintainer.js +0 -3
- package/lib/v2/cscse/radar.js +0 -13
- package/lib/v2/cscse/router.js +0 -3
- package/lib/v2/cscse/tzgg.js +0 -54
- package/lib/v2/dbmv/index.js +0 -64
- package/lib/v2/dbmv/maintainer.js +0 -3
- package/lib/v2/dbmv/radar.js +0 -13
- package/lib/v2/diandong/ddh.js +0 -51
- package/lib/v2/disinformationindex/blog.js +0 -48
- package/lib/v2/disinformationindex/maintainer.js +0 -4
- package/lib/v2/disinformationindex/radar.js +0 -19
- package/lib/v2/disinformationindex/research.js +0 -45
- package/lib/v2/disinformationindex/router.js +0 -4
- package/lib/v2/disinformationindex/templates/description.art +0 -7
- package/lib/v2/eastday/find.js +0 -49
- package/lib/v2/economist/download.js +0 -30
- package/lib/v2/economist/gre-vocabulary.js +0 -19
- package/lib/v2/eet-china/maintainer.js +0 -4
- package/lib/v2/eet-china/mp/index.js +0 -10
- package/lib/v2/eet-china/mp/tags.js +0 -10
- package/lib/v2/eet-china/mp/util.js +0 -67
- package/lib/v2/eet-china/radar.js +0 -24
- package/lib/v2/eet-china/router.js +0 -4
- package/lib/v2/ems/apple.js +0 -42
- package/lib/v2/ems/maintainer.js +0 -4
- package/lib/v2/ems/news.js +0 -21
- package/lib/v2/ems/radar.js +0 -19
- package/lib/v2/ems/router.js +0 -4
- package/lib/v2/ems/templates/apple.art +0 -6
- package/lib/v2/ezone/index.js +0 -70
- package/lib/v2/ezone/radar.js +0 -13
- package/lib/v2/ezone/router.js +0 -3
- package/lib/v2/filmdeepfocus/index.js +0 -58
- package/lib/v2/filmdeepfocus/radar.js +0 -13
- package/lib/v2/filmdeepfocus/router.js +0 -3
- package/lib/v2/firefox/index.js +0 -74
- package/lib/v2/ft/myft.js +0 -44
- package/lib/v2/gaze/maintainer.js +0 -3
- package/lib/v2/gaze/radar.js +0 -13
- package/lib/v2/gaze/router.js +0 -3
- package/lib/v2/gaze/templates/update.art +0 -4
- package/lib/v2/gaze/update.js +0 -27
- package/lib/v2/gocn/util.js +0 -17
- package/lib/v2/good/index.js +0 -53
- package/lib/v2/good/maintainer.js +0 -3
- package/lib/v2/good/radar.js +0 -13
- package/lib/v2/good/router.js +0 -3
- package/lib/v2/google/sites.js +0 -75
- package/lib/v2/google/sitesRecentChanges.js +0 -51
- package/lib/v2/gov/zhengce/zuixin.js +0 -39
- package/lib/v2/gq/maintainer.js +0 -3
- package/lib/v2/gq/radar.js +0 -13
- package/lib/v2/gq/router.js +0 -3
- package/lib/v2/gq/templates/embed-article.art +0 -1
- package/lib/v2/gq/templates/embed-product.art +0 -4
- package/lib/v2/gq/templates/img.art +0 -6
- package/lib/v2/gq/templates/tw.art +0 -3
- package/lib/v2/gq/templates/videoObject.art +0 -6
- package/lib/v2/gq/templates/youtube.art +0 -3
- package/lib/v2/gq/tw/index.js +0 -165
- package/lib/v2/guandian/index.js +0 -37
- package/lib/v2/guandian/maintainer.js +0 -3
- package/lib/v2/guandian/radar.js +0 -13
- package/lib/v2/guandian/router.js +0 -3
- package/lib/v2/guggenheim/exhibitions.js +0 -29
- package/lib/v2/guggenheim/maintainer.js +0 -3
- package/lib/v2/guggenheim/radar.js +0 -11
- package/lib/v2/guggenheim/router.js +0 -3
- package/lib/v2/gz-cmc/index.js +0 -137
- package/lib/v2/gz-cmc/maintainer.js +0 -3
- package/lib/v2/gz-cmc/radar.js +0 -12
- package/lib/v2/gz-cmc/router.js +0 -3
- package/lib/v2/gz-cmc/templates/description.art +0 -3
- package/lib/v2/gzh360/_README +0 -1
- package/lib/v2/gzh360/category.js +0 -8
- package/lib/v2/gzh360/gzh.js +0 -18
- package/lib/v2/gzh360/maintainer.js +0 -4
- package/lib/v2/gzh360/radar.js +0 -19
- package/lib/v2/gzh360/router.js +0 -4
- package/lib/v2/gzh360/universal.js +0 -53
- package/lib/v2/gzh360/utils.js +0 -62
- package/lib/v2/hellobtc/topic.js +0 -43
- package/lib/v2/hjedd/article.js +0 -27
- package/lib/v2/hjedd/hot.js +0 -14
- package/lib/v2/hjedd/latest.js +0 -14
- package/lib/v2/hjedd/maintainer.js +0 -10
- package/lib/v2/hjedd/news.js +0 -14
- package/lib/v2/hjedd/notice.js +0 -14
- package/lib/v2/hjedd/original.js +0 -14
- package/lib/v2/hjedd/radar.js +0 -55
- package/lib/v2/hjedd/router.js +0 -10
- package/lib/v2/hjedd/templates/attachment.art +0 -7
- package/lib/v2/hjedd/top.js +0 -14
- package/lib/v2/hjedd/utils.js +0 -111
- package/lib/v2/hket/index.js +0 -122
- package/lib/v2/hket/radar.js +0 -45
- package/lib/v2/hket/router.js +0 -3
- package/lib/v2/hket/templates/description.art +0 -1
- package/lib/v2/hket/templates/image.art +0 -1
- package/lib/v2/hotchina/index.js +0 -55
- package/lib/v2/hotchina/maintainer.js +0 -5
- package/lib/v2/hotchina/radar.js +0 -25
- package/lib/v2/hotchina/router.js +0 -3
- package/lib/v2/huangz/index.js +0 -29
- package/lib/v2/huangz/maintainer.js +0 -3
- package/lib/v2/huangz/radar.js +0 -13
- package/lib/v2/huangz/router.js +0 -3
- package/lib/v2/huxiu/article.js +0 -33
- package/lib/v2/huxiu/author.js +0 -36
- package/lib/v2/huxiu/templates/brief.art +0 -22
- package/lib/v2/huxiu/templates/img.art +0 -3
- package/lib/v2/huxiu/templates/moment.art +0 -16
- package/lib/v2/huxiu/templates/video.art +0 -7
- package/lib/v2/huxiu/utils.js +0 -154
- package/lib/v2/hyqss/index.js +0 -89
- package/lib/v2/hyqss/maintainer.js +0 -4
- package/lib/v2/hyqss/radar.js +0 -22
- package/lib/v2/hyqss/router.js +0 -3
- package/lib/v2/i-cable/category.js +0 -74
- package/lib/v2/i-cable/maintainer.js +0 -3
- package/lib/v2/i-cable/radar.js +0 -13
- package/lib/v2/i-cable/router.js +0 -3
- package/lib/v2/i-cable/templates/desc.art +0 -8
- package/lib/v2/ibc/maintainer.js +0 -4
- package/lib/v2/ibc/maitta.js +0 -32
- package/lib/v2/ibc/radar.js +0 -19
- package/lib/v2/ibc/radio.js +0 -73
- package/lib/v2/ibc/router.js +0 -4
- package/lib/v2/ibc/templates/description.art +0 -6
- package/lib/v2/independent/maintainer.js +0 -3
- package/lib/v2/independent/ps5-stock-uk.js +0 -27
- package/lib/v2/independent/radar.js +0 -13
- package/lib/v2/independent/router.js +0 -3
- package/lib/v2/islander/maintainer.js +0 -4
- package/lib/v2/islander/radar.js +0 -19
- package/lib/v2/islander/router.js +0 -4
- package/lib/v2/islander/search.js +0 -33
- package/lib/v2/islander/top30event.js +0 -28
- package/lib/v2/jiaoliudao/index.js +0 -35
- package/lib/v2/jiaoliudao/radar.js +0 -13
- package/lib/v2/jiemian/list.js +0 -60
- package/lib/v2/juejin/news.js +0 -25
- package/lib/v2/juejin/shares.js +0 -26
- package/lib/v2/kakuyomu/episode.js +0 -54
- package/lib/v2/kakuyomu/maintainer.js +0 -3
- package/lib/v2/kakuyomu/radar.js +0 -13
- package/lib/v2/kakuyomu/router.js +0 -1
- package/lib/v2/knowmedia/index.js +0 -38
- package/lib/v2/knowmedia/maintainer.js +0 -3
- package/lib/v2/knowmedia/radar.js +0 -31
- package/lib/v2/knowmedia/router.js +0 -3
- package/lib/v2/knowmedia/templates/desc.art +0 -3
- package/lib/v2/kuwaitlocal/index.js +0 -47
- package/lib/v2/kuwaitlocal/maintainer.js +0 -4
- package/lib/v2/kuwaitlocal/radar.js +0 -19
- package/lib/v2/kuwaitlocal/router.js +0 -3
- package/lib/v2/lativ/index.js +0 -42
- package/lib/v2/lativ/maintainer.js +0 -3
- package/lib/v2/lativ/radar.js +0 -13
- package/lib/v2/lativ/router.js +0 -3
- package/lib/v2/lativ/templates/detail.art +0 -9
- package/lib/v2/layer3/maintainer.js +0 -3
- package/lib/v2/layer3/quests.js +0 -37
- package/lib/v2/layer3/radar.js +0 -13
- package/lib/v2/layer3/router.js +0 -3
- package/lib/v2/layer3/templates/description.art +0 -24
- package/lib/v2/lever/index.js +0 -28
- package/lib/v2/lever/maintainer.js +0 -3
- package/lib/v2/lever/radar.js +0 -13
- package/lib/v2/lever/router.js +0 -3
- package/lib/v2/lianxh/index.js +0 -61
- package/lib/v2/lianxh/radar.js +0 -13
- package/lib/v2/lianxh/router.js +0 -3
- package/lib/v2/mcachicago/exhibitions.js +0 -17
- package/lib/v2/mcachicago/maintainer.js +0 -3
- package/lib/v2/mcachicago/radar.js +0 -11
- package/lib/v2/mcachicago/router.js +0 -3
- package/lib/v2/mclaren/index.js +0 -96
- package/lib/v2/mclaren/maintainer.js +0 -3
- package/lib/v2/mclaren/radar.js +0 -29
- package/lib/v2/mclaren/router.js +0 -3
- package/lib/v2/mclaren/templates/desc.art +0 -6
- package/lib/v2/meituclub/latest.js +0 -41
- package/lib/v2/meituclub/maintainer.js +0 -3
- package/lib/v2/meituclub/radar.js +0 -13
- package/lib/v2/meituclub/router.js +0 -3
- package/lib/v2/meituclub/templates/description.art +0 -1
- package/lib/v2/miris/blog.js +0 -19
- package/lib/v2/miris/maintainer.js +0 -3
- package/lib/v2/miris/radar.js +0 -11
- package/lib/v2/miris/router.js +0 -3
- package/lib/v2/mobilism/forums.js +0 -75
- package/lib/v2/mobilism/maintainer.js +0 -4
- package/lib/v2/mobilism/portal.js +0 -54
- package/lib/v2/mobilism/radar.js +0 -23
- package/lib/v2/mobilism/router.js +0 -4
- package/lib/v2/mtime/maintainer.js +0 -3
- package/lib/v2/mtime/news.js +0 -52
- package/lib/v2/mtime/radar.js +0 -13
- package/lib/v2/nbd/article.js +0 -50
- package/lib/v2/nmbxd1/forum.js +0 -58
- package/lib/v2/nmbxd1/maintainer.js +0 -3
- package/lib/v2/nmbxd1/radar.js +0 -13
- package/lib/v2/nmbxd1/router.js +0 -3
- package/lib/v2/nmbxd1/templates/description.art +0 -65
- package/lib/v2/nytimes/author.js +0 -43
- package/lib/v2/pmthinking/index.js +0 -61
- package/lib/v2/pmthinking/maintainer.js +0 -3
- package/lib/v2/pmthinking/radar.js +0 -13
- package/lib/v2/pmthinking/router.js +0 -3
- package/lib/v2/pmthinking/templates/description.art +0 -4
- package/lib/v2/polkadot/home.js +0 -34
- package/lib/v2/polkadot/maintainer.js +0 -3
- package/lib/v2/polkadot/radar.js +0 -13
- package/lib/v2/polkadot/router.js +0 -3
- package/lib/v2/polkaworld/home.js +0 -24
- package/lib/v2/polkaworld/maintainer.js +0 -3
- package/lib/v2/polkaworld/radar.js +0 -13
- package/lib/v2/polkaworld/router.js +0 -3
- package/lib/v2/prestige-av/maintainer.js +0 -3
- package/lib/v2/prestige-av/radar.js +0 -18
- package/lib/v2/prestige-av/router.js +0 -3
- package/lib/v2/prestige-av/series.js +0 -42
- package/lib/v2/qdaily/index.js +0 -87
- package/lib/v2/qdaily/maintainer.js +0 -3
- package/lib/v2/qdaily/radar.js +0 -25
- package/lib/v2/qdaily/router.js +0 -3
- package/lib/v2/qdaily/templates/article.art +0 -5
- package/lib/v2/qianp/maintainer.js +0 -3
- package/lib/v2/qianp/news.js +0 -48
- package/lib/v2/qianp/radar.js +0 -13
- package/lib/v2/qianp/router.js +0 -3
- package/lib/v2/qidiantu/index.js +0 -87
- package/lib/v2/qidiantu/maintainer.js +0 -4
- package/lib/v2/qidiantu/radar.js +0 -19
- package/lib/v2/qidiantu/router.js +0 -3
- package/lib/v2/qq/live.js +0 -36
- package/lib/v2/radiofrance/geopolitique.js +0 -33
- package/lib/v2/radiofrance/maintainer.js +0 -3
- package/lib/v2/radiofrance/radar.js +0 -13
- package/lib/v2/radiofrance/router.js +0 -3
- package/lib/v2/radiofrance/templates/article.art +0 -6
- package/lib/v2/reuters/migration_prompt.js +0 -3
- package/lib/v2/rsshub/sponsors.js +0 -47
- package/lib/v2/secnews/index.js +0 -27
- package/lib/v2/secnews/maintainer.js +0 -3
- package/lib/v2/secnews/radar.js +0 -13
- package/lib/v2/secnews/router.js +0 -3
- package/lib/v2/shuiguopai/index.js +0 -80
- package/lib/v2/shuiguopai/maintainer.js +0 -3
- package/lib/v2/shuiguopai/radar.js +0 -13
- package/lib/v2/shuiguopai/router.js +0 -3
- package/lib/v2/shuiguopai/templates/description.art +0 -8
- package/lib/v2/taiwannews/hot.js +0 -52
- package/lib/v2/taiwannews/maintainer.js +0 -3
- package/lib/v2/taiwannews/radar.js +0 -13
- package/lib/v2/taiwannews/router.js +0 -3
- package/lib/v2/tencent/cloud/column.js +0 -51
- package/lib/v2/twitter/web-api/twitter-got.js +0 -113
- package/lib/v2/twreporter/category.js +0 -40
- package/lib/v2/twreporter/photography.js +0 -46
- package/lib/v2/verse/articles.js +0 -42
- package/lib/v2/verse/maintainer.js +0 -3
- package/lib/v2/verse/radar.js +0 -13
- package/lib/v2/verse/router.js +0 -3
- package/lib/v2/vlive/index.js +0 -71
- package/lib/v2/vlive/maintainer.js +0 -3
- package/lib/v2/vlive/radar.js +0 -13
- package/lib/v2/vlive/router.js +0 -3
- package/lib/v2/vlive/templates/post.art +0 -8
- package/lib/v2/vlive/templates/video.art +0 -3
- package/lib/v2/vmware/flings.js +0 -59
- package/lib/v2/vmware/maintainer.js +0 -3
- package/lib/v2/vmware/radar.js +0 -13
- package/lib/v2/vmware/router.js +0 -3
- package/lib/v2/wangqiutiyu/anchor.js +0 -42
- package/lib/v2/wangqiutiyu/maintainer.js +0 -3
- package/lib/v2/wangqiutiyu/radar.js +0 -13
- package/lib/v2/wangqiutiyu/router.js +0 -3
- package/lib/v2/watchout/index.js +0 -51
- package/lib/v2/watchout/maintainer.js +0 -3
- package/lib/v2/watchout/radar.js +0 -13
- package/lib/v2/watchout/router.js +0 -3
- package/lib/v2/whoscall/index.js +0 -55
- package/lib/v2/whoscall/maintainer.js +0 -5
- package/lib/v2/whoscall/radar.js +0 -25
- package/lib/v2/whoscall/router.js +0 -3
- package/lib/v2/woshipm/bookmarks.js +0 -34
- package/lib/v2/woshipm/latest.js +0 -27
- package/lib/v2/wp-china/news.js +0 -56
- package/lib/v2/wp-china/radar.js +0 -13
- package/lib/v2/wxkol/maintainer.js +0 -3
- package/lib/v2/wxkol/radar.js +0 -13
- package/lib/v2/wxkol/router.js +0 -3
- package/lib/v2/wxkol/show.js +0 -81
- package/lib/v2/xwlb/index.js +0 -40
- package/lib/v2/xwlb/maintainer.js +0 -4
- package/lib/v2/xwlb/radar.js +0 -13
- package/lib/v2/xwlb/router.js +0 -4
- package/lib/v2/yaohuo/index.js +0 -30
- package/lib/v2/yaohuo/maintainer.js +0 -3
- package/lib/v2/yaohuo/radar.js +0 -13
- package/lib/v2/yaohuo/router.js +0 -3
- package/lib/v2/yunspe/maintainer.js +0 -3
- package/lib/v2/yunspe/newsflash.js +0 -42
- package/lib/v2/yunspe/radar.js +0 -13
- package/lib/v2/yunspe/router.js +0 -3
- package/lib/v2/zooTeam/blog.js +0 -32
- package/lib/v2/zooTeam/maintainer.js +0 -4
- package/lib/v2/zooTeam/radar.js +0 -21
- package/lib/v2/zooTeam/router.js +0 -4
- package/lib/v2/zooTeam/weekly.js +0 -34
- package/lib/v2/zuzhirenshi/index.js +0 -87
- package/lib/v2/zuzhirenshi/maintainer.js +0 -3
- package/lib/v2/zuzhirenshi/radar.js +0 -13
- package/lib/v2/zuzhirenshi/router.js +0 -3
- /package/lib/v2/{ezone → abc}/maintainer.js +0 -0
- /package/lib/v2/{hket → bossdesign}/maintainer.js +0 -0
- /package/lib/v2/{dbmv → bossdesign}/router.js +0 -0
- /package/lib/v2/{mtime → gamegene}/router.js +0 -0
- /package/lib/{routes → v2}/gov/moa/moa.js +0 -0
- /package/lib/{routes → v2}/grubstreet/index.js +0 -0
- /package/lib/v2/{jiaoliudao → grubstreet}/router.js +0 -0
- /package/lib/{routes → v2}/hpoi/info.js +0 -0
- /package/lib/v2/{filmdeepfocus → ianspriggs}/maintainer.js +0 -0
- /package/lib/{routes → v2}/jianshu/collection.js +0 -0
- /package/lib/{routes → v2}/jianshu/home.js +0 -0
- /package/lib/{routes → v2}/jianshu/user.js +0 -0
- /package/lib/v2/{wp-china → kamen-rider-official}/maintainer.js +0 -0
- /package/lib/v2/{wp-china → kamen-rider-official}/router.js +0 -0
- /package/lib/{routes → v2}/metacritic/release.js +0 -0
- /package/lib/v2/{jiaoliudao → netflav}/maintainer.js +0 -0
- /package/lib/{routes → v2}/sogou/doodles.js +0 -0
- /package/lib/v2/{blockbeats → theblockbeats}/maintainer.js +0 -0
- /package/lib/v2/{lianxh → thoughtco}/maintainer.js +0 -0
- /package/lib/v2/yahoo/news/{index.js → us/index.js} +0 -0
|
@@ -73,8 +73,7 @@ module.exports = async (ctx) => {
|
|
|
73
73
|
const disableEmbed = fallback(undefined, queryToBoolean(routeParams.disableEmbed), false);
|
|
74
74
|
const displayArticle = ctx.query.mode === 'fulltext';
|
|
75
75
|
const useAvid = fallback(undefined, queryToBoolean(routeParams.useAvid), false);
|
|
76
|
-
|
|
77
|
-
const [author, face] = await cache.getUsernameAndFaceFromUID(ctx, uid);
|
|
76
|
+
const directLink = fallback(undefined, queryToBoolean(routeParams.directLink), false);
|
|
78
77
|
|
|
79
78
|
const response = await got({
|
|
80
79
|
method: 'get',
|
|
@@ -85,6 +84,13 @@ module.exports = async (ctx) => {
|
|
|
85
84
|
transformResponse: [(data) => data],
|
|
86
85
|
});
|
|
87
86
|
const cards = JSONbig.parse(response.body).data.cards;
|
|
87
|
+
|
|
88
|
+
const usernameAndFace = await cache.getUsernameAndFaceFromUID(ctx, uid);
|
|
89
|
+
const author = usernameAndFace[0] ?? cards[0]?.desc?.user_profile?.info.uname;
|
|
90
|
+
const face = usernameAndFace[1] ?? cards[0]?.desc?.user_profile?.info?.face;
|
|
91
|
+
ctx.cache.set(`bili-username-from-uid-${uid}`, author);
|
|
92
|
+
ctx.cache.set(`bili-userface-from-uid-${uid}`, face);
|
|
93
|
+
|
|
88
94
|
const items = await Promise.all(
|
|
89
95
|
cards.map(async (item) => {
|
|
90
96
|
const getTitle = (data) => (data ? data.title || data.description || data.content || (data.vest && data.vest.content) || '' : '');
|
|
@@ -160,12 +166,12 @@ module.exports = async (ctx) => {
|
|
|
160
166
|
// emoji
|
|
161
167
|
let data_content = getDes(data);
|
|
162
168
|
// 换行处理
|
|
163
|
-
data_content = data_content.replace(
|
|
169
|
+
data_content = data_content.replace(/\r\n/g, '<br>').replace(/\n/g, '<br>');
|
|
164
170
|
if (item.display.emoji_info && showEmoji) {
|
|
165
171
|
const emoji = item.display.emoji_info.emoji_details;
|
|
166
172
|
emoji.forEach((item) => {
|
|
167
173
|
data_content = data_content.replace(
|
|
168
|
-
new RegExp(`\\${item.text}`.replace(
|
|
174
|
+
new RegExp(`\\${item.text}`.replace(/\\?/g, '\\?'), 'g'),
|
|
169
175
|
`<img alt="${item.text}" src="${item.url}"style="margin: -1px 1px 0px; display: inline-block; width: 20px; height: 20px; vertical-align: text-bottom;" title="" referrerpolicy="no-referrer">`
|
|
170
176
|
);
|
|
171
177
|
});
|
|
@@ -178,26 +184,32 @@ module.exports = async (ctx) => {
|
|
|
178
184
|
if (data.aid) {
|
|
179
185
|
const id = useAvid ? `av${data.aid}` : item?.desc?.bvid || item?.desc?.origin?.bvid;
|
|
180
186
|
url = `https://www.bilibili.com/video/${id}`;
|
|
187
|
+
directLink && (link = url);
|
|
181
188
|
return `<br>视频地址:<a href=${url}>${url}</a>`;
|
|
182
189
|
}
|
|
183
190
|
if (data.image_urls) {
|
|
184
191
|
url = `https://www.bilibili.com/read/cv${data.id}`;
|
|
192
|
+
directLink && (link = url);
|
|
185
193
|
return `<br>专栏地址:<a href=${url}>${url}</a>`;
|
|
186
194
|
}
|
|
187
195
|
if (data.upper) {
|
|
188
196
|
url = `https://www.bilibili.com/audio/au${data.id}`;
|
|
197
|
+
directLink && (link = url);
|
|
189
198
|
return `<br>音频地址:<a href=${url}>${url}</a>`;
|
|
190
199
|
}
|
|
191
200
|
if (data.roomid) {
|
|
192
201
|
url = `https://live.bilibili.com/${data.roomid}`;
|
|
202
|
+
directLink && (link = url);
|
|
193
203
|
return `<br>直播间地址:<a href=${url}>${url}</a>`;
|
|
194
204
|
}
|
|
195
205
|
if (data.sketch) {
|
|
196
206
|
url = data.sketch.target_url;
|
|
207
|
+
directLink && (link = url);
|
|
197
208
|
return `<br>活动地址:<a href=${url}>${url}</a>`;
|
|
198
209
|
}
|
|
199
210
|
if (data.url) {
|
|
200
211
|
url = data.url;
|
|
212
|
+
directLink && (link = url);
|
|
201
213
|
return `<br>地址:<a href=${url}>${url}</a>`;
|
|
202
214
|
}
|
|
203
215
|
return '';
|
package/lib/v2/bilibili/fav.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const got = require('@/utils/got');
|
|
2
2
|
const utils = require('./utils');
|
|
3
3
|
const { parseDate } = require('@/utils/parse-date');
|
|
4
|
+
const config = require('@/config').value;
|
|
4
5
|
|
|
5
6
|
module.exports = async (ctx) => {
|
|
6
7
|
const fid = ctx.params.fid;
|
|
@@ -11,6 +12,7 @@ module.exports = async (ctx) => {
|
|
|
11
12
|
url: `https://api.bilibili.com/x/v3/fav/resource/list?media_id=${fid}&ps=20`,
|
|
12
13
|
headers: {
|
|
13
14
|
Referer: `https://space.bilibili.com/${uid}/`,
|
|
15
|
+
Cookie: config.bilibili.cookies[uid],
|
|
14
16
|
},
|
|
15
17
|
});
|
|
16
18
|
const { data, code, message } = response.data;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
'/app/:id?': ['nczitzk'],
|
|
3
3
|
'/audio/:id': ['LogicJake'],
|
|
4
|
-
'/blackboard': ['Qixingchen'],
|
|
5
4
|
'/bangumi/:seasonid': ['DIYgod'],
|
|
6
5
|
'/bangumi/media/:mediaid': ['DIYgod'],
|
|
7
|
-
'/channel/:channelid/hot/:disableEmbed?': ['3401797899'],
|
|
8
6
|
'/fav/:uid/:fid/:disableEmbed?': ['Qixingchen'],
|
|
9
7
|
'/followings/article/:uid': ['woshiluo'],
|
|
10
8
|
'/followings/dynamic/:uid/:routeParams?': ['TigerCubDen', 'JimenezLi'],
|
|
@@ -18,13 +16,12 @@ module.exports = {
|
|
|
18
16
|
'/mall/ip/:id': ['DIYgod'],
|
|
19
17
|
'/manga/update/:comicid': ['hoilc'],
|
|
20
18
|
'/manga/followings/:uid/:limits?': ['yindaheng98'],
|
|
21
|
-
'/online/:disableEmbed?': ['TigerCubDen'],
|
|
22
19
|
'/partion/:tid/:disableEmbed?': ['DIYgod'],
|
|
23
20
|
'/partion/ranking/:tid/:days?/:disableEmbed?': ['lengthmin'],
|
|
21
|
+
'/platform/:area?/:p_type?/:uid?': ['nightmare-mio'],
|
|
24
22
|
'/popular/all': ['ziminliu'],
|
|
25
23
|
'/ranking/:rid?/:day?/:arc_type?/:disableEmbed?': ['DIYgod'],
|
|
26
24
|
'/readlist/:listid': ['hoilc'],
|
|
27
|
-
'/topic/:topic': ['Qixingchen'],
|
|
28
25
|
'/user/article/:uid': ['lengthmin'],
|
|
29
26
|
'/user/bangumi/:uid/:type?': ['wdssmq'],
|
|
30
27
|
'/user/channel/:uid/:sid/:disableEmbed?': ['weirongxu'],
|
|
@@ -35,7 +32,6 @@ module.exports = {
|
|
|
35
32
|
'/user/followers/:uid/:loginUid': ['Qixingchen'],
|
|
36
33
|
'/user/followings/:uid/:loginUid': ['Qixingchen'],
|
|
37
34
|
'/user/video/:uid/:disableEmbed?': ['DIYgod'],
|
|
38
|
-
'/user/video-all/:uid/:disableEmbed?': ['CcccFz'],
|
|
39
35
|
'/video/danmaku/:bvid/:pid?': ['Qixingchen'],
|
|
40
36
|
'/video/page/:bvid/:disableEmbed?': ['sxzz'],
|
|
41
37
|
'/video/reply/:bvid': ['Qixingchen'],
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
const got = require('@/utils/got');
|
|
2
|
+
const { parseDate } = require('@/utils/parse-date');
|
|
3
|
+
const config = require('@/config').value;
|
|
4
|
+
|
|
5
|
+
module.exports = async (ctx) => {
|
|
6
|
+
const { area = -1, type = '全部类型', uid } = ctx.params;
|
|
7
|
+
const cookie = config.bilibili.cookies[uid];
|
|
8
|
+
const link = 'https://show.bilibili.com/api/ticket/project/listV2';
|
|
9
|
+
|
|
10
|
+
const headers = {
|
|
11
|
+
Referer: 'https://space.bilibili.com',
|
|
12
|
+
Cookie: cookie ? `SESSDATA=${cookie}` : undefined,
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
const { data: response } = await got({
|
|
16
|
+
method: 'get',
|
|
17
|
+
url: `${link}?version=134&page=1&pagesize=16&area=${area}&filter=&platform=web&p_type=${type}`,
|
|
18
|
+
headers,
|
|
19
|
+
});
|
|
20
|
+
// 列表
|
|
21
|
+
const list = response.data.result;
|
|
22
|
+
|
|
23
|
+
const items = list.map((item) => {
|
|
24
|
+
const bodyHtml = `<img src="${item.cover}"></img>`;
|
|
25
|
+
const coordinate = `<div>活动地点: ${item.city} ${item.venue_name}</div>`;
|
|
26
|
+
const liveTime = `<div>活动时间: ${item.tlabel}</div>`;
|
|
27
|
+
const staff = `<div>参展览嘉宾: ${item.staff}</div>`;
|
|
28
|
+
const countdown = `<div>结束日期: ${item.countdown}</div>`;
|
|
29
|
+
const price = `<div>最低价: ${item.price_low / 100} ; 最高价: ${item.price_high / 100}</div>`;
|
|
30
|
+
return {
|
|
31
|
+
title: item.project_name,
|
|
32
|
+
link: item.url,
|
|
33
|
+
description: bodyHtml + coordinate + liveTime + staff + countdown + price,
|
|
34
|
+
pubDate: parseDate(item.sale_start_time * 1000),
|
|
35
|
+
};
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
ctx.state.data = {
|
|
39
|
+
title: `bilibili会员购票务-${area}`,
|
|
40
|
+
link,
|
|
41
|
+
item: items,
|
|
42
|
+
};
|
|
43
|
+
};
|
package/lib/v2/bilibili/radar.js
CHANGED
|
@@ -60,12 +60,6 @@ module.exports = {
|
|
|
60
60
|
source: '/:uid',
|
|
61
61
|
target: '/bilibili/user/video/:uid',
|
|
62
62
|
},
|
|
63
|
-
{
|
|
64
|
-
title: 'UP 主所有视频',
|
|
65
|
-
docs: 'https://docs.rsshub.app/routes/social-media#bilibili',
|
|
66
|
-
source: '/:uid',
|
|
67
|
-
target: '/bilibili/user/video-all/:uid',
|
|
68
|
-
},
|
|
69
63
|
{
|
|
70
64
|
title: 'UP 主频道的合集',
|
|
71
65
|
docs: 'https://docs.rsshub.app/routes/social-media#bilibili',
|
|
@@ -143,5 +137,13 @@ module.exports = {
|
|
|
143
137
|
target: '/bilibili/live/room/:roomID',
|
|
144
138
|
},
|
|
145
139
|
],
|
|
140
|
+
show: [
|
|
141
|
+
{
|
|
142
|
+
title: '会员购票务',
|
|
143
|
+
docs: 'https://docs.rsshub.app/routes/social-media#bilibili-hui-yuan-gou-zuo-pin',
|
|
144
|
+
source: '/platform',
|
|
145
|
+
target: '/bilibili/platform/:area?/:p_type?/:uid?',
|
|
146
|
+
},
|
|
147
|
+
],
|
|
146
148
|
},
|
|
147
149
|
};
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
module.exports = (router) => {
|
|
2
2
|
router.get('/app/:id?', require('./app'));
|
|
3
3
|
router.get('/audio/:id', require('./audio'));
|
|
4
|
-
router.get('/blackboard', require('./blackboard'));
|
|
5
4
|
router.get('/bangumi/:seasonid', require('./bangumi')); // 弃用
|
|
6
5
|
router.get('/bangumi/media/:mediaid', require('./bangumi'));
|
|
7
|
-
router.get('/channel/:channelid/hot/:disableEmbed?', require('./channel'));
|
|
8
6
|
router.get('/fav/:uid/:fid/:disableEmbed?', require('./fav'));
|
|
9
7
|
router.get('/followings/article/:uid', require('./followings_article'));
|
|
10
8
|
router.get('/followings/dynamic/:uid/:routeParams?', require('./followings_dynamic'));
|
|
@@ -18,13 +16,12 @@ module.exports = (router) => {
|
|
|
18
16
|
router.get('/mall/ip/:id', require('./mallIP'));
|
|
19
17
|
router.get('/manga/update/:comicid', require('./manga_update'));
|
|
20
18
|
router.get('/manga/followings/:uid/:limits?', require('./manga_followings'));
|
|
21
|
-
router.get('/online/:disableEmbed?', require('./online'));
|
|
22
19
|
router.get('/partion/:tid/:disableEmbed?', require('./partion'));
|
|
23
20
|
router.get('/partion/ranking/:tid/:days?/:disableEmbed?', require('./partion-ranking'));
|
|
21
|
+
router.get('/platform/:area?/:p_type?/:uid?', require('./platform'));
|
|
24
22
|
router.get('/popular/all', require('./popular'));
|
|
25
23
|
router.get('/ranking/:rid?/:day?/:arc_type?/:disableEmbed?', require('./ranking'));
|
|
26
24
|
router.get('/readlist/:listid', require('./readlist'));
|
|
27
|
-
router.get('/topic/:topic', require('./topic'));
|
|
28
25
|
router.get('/user/article/:uid', require('./article'));
|
|
29
26
|
router.get('/user/bangumi/:uid/:type?', require('./user_bangumi'));
|
|
30
27
|
router.get('/user/channel/:uid/:sid/:disableEmbed?', require('./userChannel'));
|
|
@@ -35,7 +32,6 @@ module.exports = (router) => {
|
|
|
35
32
|
router.get('/user/followers/:uid/:loginUid', require('./followers'));
|
|
36
33
|
router.get('/user/followings/:uid/:loginUid', require('./followings'));
|
|
37
34
|
router.get('/user/video/:uid/:disableEmbed?', require('./video'));
|
|
38
|
-
router.get('/user/video-all/:uid/:disableEmbed?', require('./video-all'));
|
|
39
35
|
router.get('/video/danmaku/:bvid/:pid?', require('./danmaku'));
|
|
40
36
|
router.get('/video/page/:bvid/:disableEmbed?', require('./page'));
|
|
41
37
|
router.get('/video/reply/:bvid', require('./reply'));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const got = require('@/utils/got');
|
|
2
2
|
const cache = require('./cache');
|
|
3
3
|
const utils = require('./utils');
|
|
4
|
+
const config = require('@/config').value;
|
|
4
5
|
|
|
5
6
|
module.exports = async (ctx) => {
|
|
6
7
|
const uid = ctx.params.uid;
|
|
@@ -12,6 +13,7 @@ module.exports = async (ctx) => {
|
|
|
12
13
|
url: `https://api.bilibili.com/x/v2/fav/video?vmid=${uid}&ps=30&tid=0&keyword=&pn=1&order=fav_time`,
|
|
13
14
|
headers: {
|
|
14
15
|
Referer: `https://space.bilibili.com/${uid}/#/favlist`,
|
|
16
|
+
Cookie: config.bilibili.cookies[uid],
|
|
15
17
|
},
|
|
16
18
|
});
|
|
17
19
|
const data = response.data;
|
package/lib/v2/bilibili/utils.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const md5 = require('@/utils/md5');
|
|
2
|
+
const CryptoJS = require('crypto-js');
|
|
2
3
|
|
|
3
4
|
function iframe(aid, page, bvid) {
|
|
4
5
|
return `<iframe src="https://player.bilibili.com/player.html?${bvid ? `bvid=${bvid}` : `aid=${aid}`}${
|
|
@@ -6,17 +7,78 @@ function iframe(aid, page, bvid) {
|
|
|
6
7
|
}&high_quality=1&autoplay=0" width="650" height="477" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>`;
|
|
7
8
|
}
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
// a
|
|
11
|
+
function randomHexStr(length) {
|
|
12
|
+
let string = '';
|
|
13
|
+
for (let r = 0; r < length; r++) {
|
|
14
|
+
string += dec2HexUpper(16 * Math.random());
|
|
15
|
+
}
|
|
16
|
+
return padStringWithZeros(string, length);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// o
|
|
20
|
+
function dec2HexUpper(e) {
|
|
21
|
+
return Math.ceil(e).toString(16).toUpperCase();
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// s
|
|
25
|
+
function padStringWithZeros(string, length) {
|
|
26
|
+
let padding = '';
|
|
27
|
+
if (string.length < length) {
|
|
28
|
+
for (let n = 0; n < length - string.length; n++) {
|
|
29
|
+
padding += '0';
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return padding + string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function lsid() {
|
|
36
|
+
const e = Date.now().toString(16).toUpperCase();
|
|
37
|
+
const lsid = randomHexStr(8) + '_' + e;
|
|
38
|
+
return lsid;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function _uuid() {
|
|
42
|
+
const e = randomHexStr(8);
|
|
43
|
+
const t = randomHexStr(4);
|
|
44
|
+
const r = randomHexStr(4);
|
|
45
|
+
const n = randomHexStr(4);
|
|
46
|
+
const o = randomHexStr(12);
|
|
47
|
+
const i = Date.now();
|
|
48
|
+
return e + '-' + t + '-' + r + '-' + n + '-' + o + padStringWithZeros((i % 100000).toString(), 5) + 'infoc';
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// P
|
|
52
|
+
function shiftCharByOne(string) {
|
|
53
|
+
let shiftedStr = '';
|
|
54
|
+
for (let n = 0; n < string.length; n++) {
|
|
55
|
+
shiftedStr += String.fromCharCode(string.charCodeAt(n) - 1);
|
|
56
|
+
}
|
|
57
|
+
return shiftedStr;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// o
|
|
61
|
+
function hexsign(e) {
|
|
62
|
+
const n = 'YhxToH[2q';
|
|
63
|
+
const r = CryptoJS.HmacSHA256('ts'.concat(e), shiftCharByOne(n));
|
|
64
|
+
const o = CryptoJS.enc.Hex.stringify(r);
|
|
65
|
+
return o;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
function addVerifyInfo(params, verifyString) {
|
|
10
69
|
const searchParams = new URLSearchParams(params);
|
|
11
70
|
searchParams.sort();
|
|
12
71
|
const verifyParam = searchParams.toString();
|
|
13
72
|
const wts = Math.round(Date.now() / 1000);
|
|
14
73
|
const w_rid = md5(`${verifyParam}&wts=${wts}${verifyString}`);
|
|
15
74
|
return `${params}&w_rid=${w_rid}&wts=${wts}`;
|
|
16
|
-
}
|
|
75
|
+
}
|
|
17
76
|
|
|
18
77
|
module.exports = {
|
|
19
78
|
iframe,
|
|
79
|
+
lsid,
|
|
80
|
+
_uuid,
|
|
81
|
+
hexsign,
|
|
20
82
|
addVerifyInfo,
|
|
21
83
|
bvidTime: 1589990400,
|
|
22
84
|
};
|
package/lib/v2/bilibili/video.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const got = require('@/utils/got');
|
|
2
2
|
const cache = require('./cache');
|
|
3
3
|
const utils = require('./utils');
|
|
4
|
+
const logger = require('@/utils/logger');
|
|
4
5
|
|
|
5
6
|
module.exports = async (ctx) => {
|
|
6
7
|
const uid = ctx.params.uid;
|
|
@@ -9,13 +10,20 @@ module.exports = async (ctx) => {
|
|
|
9
10
|
const verifyString = await cache.getVerifyString(ctx);
|
|
10
11
|
const [name, face] = await cache.getUsernameAndFaceFromUID(ctx, uid);
|
|
11
12
|
|
|
12
|
-
await got(`https://space.bilibili.com/${uid}/video?tid=0&page=1&keyword=&order=pubdate`, {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
});
|
|
18
|
-
const params = utils.addVerifyInfo(
|
|
13
|
+
// await got(`https://space.bilibili.com/${uid}/video?tid=0&page=1&keyword=&order=pubdate`, {
|
|
14
|
+
// headers: {
|
|
15
|
+
// Referer: `https://space.bilibili.com/${uid}/`,
|
|
16
|
+
// Cookie: cookie,
|
|
17
|
+
// },
|
|
18
|
+
// });
|
|
19
|
+
const params = utils.addVerifyInfo(
|
|
20
|
+
`mid=${uid}&ps=30&tid=0&pn=1&keyword=&order=pubdate&platform=web&web_location=1550101&order_avoided=true&dm_img_list=[]&dm_img_str=${Buffer.from('no webgl').toString('base64').slice(0, -2)}&dm_cover_img_str=${Buffer.from(
|
|
21
|
+
'no webgl'
|
|
22
|
+
)
|
|
23
|
+
.toString('base64')
|
|
24
|
+
.slice(0, -2)}`,
|
|
25
|
+
verifyString
|
|
26
|
+
);
|
|
19
27
|
const response = await got(`https://api.bilibili.com/x/space/wbi/arc/search?${params}`, {
|
|
20
28
|
headers: {
|
|
21
29
|
Referer: `https://space.bilibili.com/${uid}/video?tid=0&page=1&keyword=&order=pubdate`,
|
|
@@ -24,6 +32,7 @@ module.exports = async (ctx) => {
|
|
|
24
32
|
});
|
|
25
33
|
const data = response.data;
|
|
26
34
|
if (data.code) {
|
|
35
|
+
logger.error(JSON.stringify(data.data));
|
|
27
36
|
throw new Error(`Got error code ${data.code} while fetching: ${data.message}`);
|
|
28
37
|
}
|
|
29
38
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const got = require('@/utils/got');
|
|
2
|
+
|
|
3
|
+
module.exports = async (ctx) => {
|
|
4
|
+
const response = await got({
|
|
5
|
+
method: 'get',
|
|
6
|
+
prefixUrl: 'https://cn.bing.com',
|
|
7
|
+
url: 'HPImageArchive.aspx',
|
|
8
|
+
searchParams: {
|
|
9
|
+
format: 'js',
|
|
10
|
+
idx: 0,
|
|
11
|
+
n: ctx.query.limit ? parseInt(ctx.query.limit, 10) : 7,
|
|
12
|
+
mkt: 'zh-CN',
|
|
13
|
+
},
|
|
14
|
+
});
|
|
15
|
+
const data = response.data;
|
|
16
|
+
ctx.state.data = {
|
|
17
|
+
title: 'Bing每日壁纸',
|
|
18
|
+
link: 'https://cn.bing.com/',
|
|
19
|
+
item: data.images.map((item) => ({
|
|
20
|
+
title: item.copyright,
|
|
21
|
+
description: `<img src="https://cn.bing.com${item.url}">`,
|
|
22
|
+
link: item.copyrightlink,
|
|
23
|
+
})),
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
'bing.com': {
|
|
3
|
+
_name: 'Bing',
|
|
4
|
+
cn: [
|
|
5
|
+
{
|
|
6
|
+
title: '每日壁纸',
|
|
7
|
+
docs: 'https://docs.rsshub.app/routes/picture#bing',
|
|
8
|
+
source: '/',
|
|
9
|
+
target: '/bing',
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
title: '搜索',
|
|
13
|
+
docs: 'https://docs.rsshub.app/routes/other#bing',
|
|
14
|
+
source: '/',
|
|
15
|
+
target: (params, url) => {
|
|
16
|
+
const q = new URL(url).searchParams.get('q');
|
|
17
|
+
return `/bing/search/${q}`;
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const parser = require('@/utils/rss-parser');
|
|
2
|
+
const { parseDate } = require('@/utils/parse-date');
|
|
3
|
+
const dayjs = require('dayjs');
|
|
4
|
+
const localizedFormat = require('dayjs/plugin/localizedFormat');
|
|
5
|
+
require('dayjs/locale/zh-cn');
|
|
6
|
+
dayjs.extend(localizedFormat);
|
|
7
|
+
|
|
8
|
+
module.exports = async (ctx) => {
|
|
9
|
+
const q = ctx.params.keyword;
|
|
10
|
+
const searchParams = new URLSearchParams({
|
|
11
|
+
format: 'rss',
|
|
12
|
+
q,
|
|
13
|
+
});
|
|
14
|
+
const url = new URL('https://cn.bing.com/search');
|
|
15
|
+
url.search = searchParams.toString();
|
|
16
|
+
const data = await parser.parseURL(url.toString());
|
|
17
|
+
ctx.state.data = {
|
|
18
|
+
title: data.title,
|
|
19
|
+
link: data.link,
|
|
20
|
+
description: data.description + ' - ' + data.copyright,
|
|
21
|
+
image: data.image.url,
|
|
22
|
+
item: data.items.map((e) => ({
|
|
23
|
+
...e,
|
|
24
|
+
description: e.content,
|
|
25
|
+
pubDate: parseDate(e.pubDate, 'dddd, DD MMM YYYY HH:mm:ss [GMT]', 'zh-cn'),
|
|
26
|
+
})),
|
|
27
|
+
};
|
|
28
|
+
};
|
package/lib/v2/bnu/dwxgb.js
CHANGED
|
@@ -6,44 +6,39 @@ module.exports = async (ctx) => {
|
|
|
6
6
|
const { category, type } = ctx.params;
|
|
7
7
|
|
|
8
8
|
const rootUrl = 'https://dwxgb.bnu.edu.cn';
|
|
9
|
-
|
|
9
|
+
const currentUrl = `${rootUrl}/${category}/${type}/index.html`;
|
|
10
10
|
|
|
11
11
|
let response;
|
|
12
12
|
try {
|
|
13
|
-
response = await got(
|
|
14
|
-
method: 'get',
|
|
15
|
-
url: currentUrl,
|
|
16
|
-
});
|
|
13
|
+
response = await got(currentUrl);
|
|
17
14
|
} catch (e) {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
15
|
+
try {
|
|
16
|
+
response = await got(`${rootUrl}/${category}/${type}/index.htm`);
|
|
17
|
+
} catch (error) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
23
20
|
}
|
|
24
21
|
|
|
25
22
|
const $ = cheerio.load(response.data);
|
|
26
23
|
|
|
27
24
|
const list = $('ul.container.list > li')
|
|
28
|
-
.map((_, item) =>
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
25
|
+
.map((_, item) => {
|
|
26
|
+
const link = $(item).find('a').attr('href');
|
|
27
|
+
const absoluteLink = new URL(link, currentUrl).href;
|
|
28
|
+
return {
|
|
29
|
+
title: $(item).find('a').text().trim(),
|
|
30
|
+
pubDate: parseDate($(item).find('span').text()),
|
|
31
|
+
link: absoluteLink,
|
|
32
|
+
};
|
|
33
|
+
})
|
|
33
34
|
.get();
|
|
34
35
|
|
|
35
36
|
const items = await Promise.all(
|
|
36
37
|
list.map((item) =>
|
|
37
38
|
ctx.cache.tryGet(item.link, async () => {
|
|
38
|
-
const detailResponse = await got(
|
|
39
|
-
method: 'get',
|
|
40
|
-
url: item.link,
|
|
41
|
-
});
|
|
42
|
-
|
|
39
|
+
const detailResponse = await got(item.link);
|
|
43
40
|
const content = cheerio.load(detailResponse.data);
|
|
44
|
-
|
|
45
41
|
item.description = content('div.article.typo').html();
|
|
46
|
-
|
|
47
42
|
return item;
|
|
48
43
|
})
|
|
49
44
|
)
|
package/lib/v2/boc/whpj.js
CHANGED
|
@@ -41,21 +41,22 @@ module.exports = async (ctx) => {
|
|
|
41
41
|
const out = $('div.publish table tbody tr')
|
|
42
42
|
.slice(2)
|
|
43
43
|
.toArray()
|
|
44
|
-
.map(
|
|
45
|
-
|
|
44
|
+
.map((e) => {
|
|
45
|
+
e = $(e);
|
|
46
|
+
const zh_name = e.find('td:nth-child(1)').text();
|
|
46
47
|
const en_name = en_names[zh_name] || '';
|
|
47
48
|
const name = `${zh_name} ${en_name}`;
|
|
48
|
-
const date =
|
|
49
|
+
const date = e.find('td:nth-child(7)').text();
|
|
49
50
|
|
|
50
|
-
const xhmr = `现汇买入价:${
|
|
51
|
+
const xhmr = `现汇买入价:${e.find('td:nth-child(2)').text()}`;
|
|
51
52
|
|
|
52
|
-
const xcmr = `现钞买入价:${
|
|
53
|
+
const xcmr = `现钞买入价:${e.find('td:nth-child(3)').text()}`;
|
|
53
54
|
|
|
54
|
-
const xhmc = `现汇卖出价:${
|
|
55
|
+
const xhmc = `现汇卖出价:${e.find('td:nth-child(4)').text()}`;
|
|
55
56
|
|
|
56
|
-
const xcmc = `现钞卖出价:${
|
|
57
|
+
const xcmc = `现钞卖出价:${e.find('td:nth-child(5)').text()}`;
|
|
57
58
|
|
|
58
|
-
const zs = `中行折算价:${
|
|
59
|
+
const zs = `中行折算价:${e.find('td:nth-child(6)').text()}`;
|
|
59
60
|
|
|
60
61
|
const content = `${xhmr} ${xcmr} ${xhmc} ${xcmc} ${zs}`;
|
|
61
62
|
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
const got = require('@/utils/got');
|
|
2
|
+
const queryString = require('query-string');
|
|
3
|
+
const cheerio = require('cheerio');
|
|
4
|
+
|
|
5
|
+
module.exports = async (ctx) => {
|
|
6
|
+
const baseUrl = 'https://mmda.booru.org';
|
|
7
|
+
const tags = ctx.params.tags;
|
|
8
|
+
|
|
9
|
+
const query = queryString.stringify(
|
|
10
|
+
{
|
|
11
|
+
tags,
|
|
12
|
+
page: 'post',
|
|
13
|
+
s: 'list',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
skipNull: true,
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
const { data: response } = await got(`${baseUrl}/index.php`, {
|
|
21
|
+
searchParams: query,
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
const $ = cheerio.load(response);
|
|
25
|
+
const list = $('#post-list > div.content > div > div:nth-child(3) span')
|
|
26
|
+
.toArray()
|
|
27
|
+
.map((item) => {
|
|
28
|
+
item = $(item);
|
|
29
|
+
const a = item.find('a').first();
|
|
30
|
+
|
|
31
|
+
const scriptStr = item.find('script[type="text/javascript"]').first().text();
|
|
32
|
+
const user = scriptStr.match(/user':'(.*?)'/)?.[1] ?? '';
|
|
33
|
+
|
|
34
|
+
return {
|
|
35
|
+
title: a.find('img').first().attr('title'),
|
|
36
|
+
link: `${baseUrl}/${a.attr('href')}`,
|
|
37
|
+
author: user,
|
|
38
|
+
description: a.html(),
|
|
39
|
+
};
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
ctx.state.data = {
|
|
43
|
+
title: tags,
|
|
44
|
+
link: `${baseUrl}/index.php?${query}`,
|
|
45
|
+
item: list,
|
|
46
|
+
};
|
|
47
|
+
};
|