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
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
const got = require('@/utils/got');
|
|
2
|
-
const url = require('url');
|
|
3
|
-
|
|
4
|
-
const rootUrl = 'https://www.kaggle.com/';
|
|
5
|
-
|
|
6
|
-
const sortCodes = {
|
|
7
|
-
hot: 'Hotness',
|
|
8
|
-
recent: 'Recent Comments',
|
|
9
|
-
new: 'Recently Posted',
|
|
10
|
-
top: 'Most Votes',
|
|
11
|
-
active: 'Most Comments',
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
module.exports = async (ctx) => {
|
|
15
|
-
const sort = ctx.params.sort || 'hot';
|
|
16
|
-
const forumId = ctx.params.forumId;
|
|
17
|
-
const sortText = sortCodes[sort];
|
|
18
|
-
|
|
19
|
-
const response = await got({
|
|
20
|
-
method: 'get',
|
|
21
|
-
url:
|
|
22
|
-
forumId !== 'all'
|
|
23
|
-
? `https://www.kaggle.com/forums/${forumId}/topics.json?sortBy=${sort}&group=all&page=1&pageSize=20&category=all`
|
|
24
|
-
: `https://www.kaggle.com/topics.json?sortBy=${sort}&group=all&page=1&pageSize=20&category=all`,
|
|
25
|
-
headers: {
|
|
26
|
-
Referer: rootUrl,
|
|
27
|
-
},
|
|
28
|
-
});
|
|
29
|
-
|
|
30
|
-
const topics = response.data.topics;
|
|
31
|
-
let name;
|
|
32
|
-
const out = await Promise.all(
|
|
33
|
-
topics.map(async (item) => {
|
|
34
|
-
const title = item.title;
|
|
35
|
-
const id = item.id;
|
|
36
|
-
const author = item.userAvatar.displayName;
|
|
37
|
-
const topicUrl = url.resolve(rootUrl, item.topicUrl.split('#')[0]);
|
|
38
|
-
name = item.topicUrl.split('/')[2];
|
|
39
|
-
|
|
40
|
-
const apiUrl = `https://www.kaggle.com/topics/${id}.json`;
|
|
41
|
-
const cache = await ctx.cache.get(apiUrl);
|
|
42
|
-
if (cache) {
|
|
43
|
-
return Promise.resolve(JSON.parse(cache));
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
const response = await got({
|
|
47
|
-
method: 'get',
|
|
48
|
-
url: apiUrl,
|
|
49
|
-
headers: {
|
|
50
|
-
Referer: topicUrl,
|
|
51
|
-
},
|
|
52
|
-
});
|
|
53
|
-
const content = response.data.comment.content;
|
|
54
|
-
|
|
55
|
-
const single = {
|
|
56
|
-
link: topicUrl,
|
|
57
|
-
title,
|
|
58
|
-
author,
|
|
59
|
-
description: content,
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
ctx.cache.set(apiUrl, JSON.stringify(single));
|
|
63
|
-
return Promise.resolve(single);
|
|
64
|
-
})
|
|
65
|
-
);
|
|
66
|
-
|
|
67
|
-
ctx.state.data = {
|
|
68
|
-
title: `${name} Topic-${sortText}`,
|
|
69
|
-
link: url.resolve(rootUrl, `c/${name}/discussion`),
|
|
70
|
-
item: out,
|
|
71
|
-
};
|
|
72
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
const got = require('@/utils/got');
|
|
2
|
-
|
|
3
|
-
module.exports = async (ctx) => {
|
|
4
|
-
const response = await got({
|
|
5
|
-
method: 'get',
|
|
6
|
-
url: `https://www.kaggle.com/${ctx.params.user}/discussion_messages.json?sortBy=latestPost&group=commentsAndTopics&page=1&pageSize=20&sortby=latestPost&pagesize=20`,
|
|
7
|
-
});
|
|
8
|
-
|
|
9
|
-
ctx.state.data = {
|
|
10
|
-
title: `${ctx.params.user}'s discussion - Kaggle`,
|
|
11
|
-
link: `https://www.kaggle.com/${ctx.params.user}/discussion?sortBy=mostVotes&group=commentsAndTopics&page=1&pageSize=20`,
|
|
12
|
-
item: response.data.discussions.map((item) => ({
|
|
13
|
-
title: item.forum.name,
|
|
14
|
-
link: `https://www.kaggle.com${item.forum.url}`,
|
|
15
|
-
description: item.message,
|
|
16
|
-
pubDate: new Date(item.postDate).toUTCString(),
|
|
17
|
-
})),
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
const got = require('@/utils/got');
|
|
2
|
-
|
|
3
|
-
module.exports = async (ctx) => {
|
|
4
|
-
const response = await got.get('https://kirarafantasia.com/wp-json/wp/v2/posts');
|
|
5
|
-
|
|
6
|
-
const posts = response.data || [];
|
|
7
|
-
|
|
8
|
-
ctx.state.data = {
|
|
9
|
-
title: 'NEWS|きららファンタジア 公式サイト',
|
|
10
|
-
link: 'https://kirarafantasia.com/news/',
|
|
11
|
-
description: '「まんがタイムきらら」の人気キャラクターたちが、RPGの世界に大集合!あなたの毎日が「きらら」でいっぱいに! #きらファン',
|
|
12
|
-
item: posts.map((post) => {
|
|
13
|
-
const image = `<img src=${post.thumbnail} />`;
|
|
14
|
-
|
|
15
|
-
const html = image;
|
|
16
|
-
|
|
17
|
-
const [y, m, d] = post.date.match(/\d+/g);
|
|
18
|
-
const date = new Date(y, m - 1, d);
|
|
19
|
-
|
|
20
|
-
return {
|
|
21
|
-
title: post.title,
|
|
22
|
-
link: post.url,
|
|
23
|
-
pubDate: date.toUTCString(),
|
|
24
|
-
published: date.toISOString(),
|
|
25
|
-
description: html,
|
|
26
|
-
content: { html },
|
|
27
|
-
};
|
|
28
|
-
}),
|
|
29
|
-
};
|
|
30
|
-
};
|
package/lib/routes/kkj/news.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
const got = require('@/utils/got');
|
|
2
|
-
const cheerio = require('cheerio');
|
|
3
|
-
const parser = require('@/utils/rss-parser');
|
|
4
|
-
|
|
5
|
-
module.exports = async (ctx) => {
|
|
6
|
-
const feed = await parser.parseURL('http://rss.mydrivers.com/rss.aspx?Tid=1');
|
|
7
|
-
|
|
8
|
-
const ProcessFeed = (data) => {
|
|
9
|
-
const $ = cheerio.load(data);
|
|
10
|
-
|
|
11
|
-
// 移除广告等内容
|
|
12
|
-
$('.news_info .weixin ~ div').remove();
|
|
13
|
-
$('.news_info .weixin').remove();
|
|
14
|
-
$('.news_info script').remove();
|
|
15
|
-
|
|
16
|
-
// 提取内容
|
|
17
|
-
return $('.news_info').html();
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
const items = await Promise.all(
|
|
21
|
-
feed.items.map(async (item) => {
|
|
22
|
-
const cache = await ctx.cache.get(item.link);
|
|
23
|
-
if (cache) {
|
|
24
|
-
return Promise.resolve(JSON.parse(cache));
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
const response = await got({
|
|
28
|
-
method: 'get',
|
|
29
|
-
url: item.link,
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
const description = ProcessFeed(response.data);
|
|
33
|
-
|
|
34
|
-
const single = {
|
|
35
|
-
title: item.title,
|
|
36
|
-
description,
|
|
37
|
-
pubDate: item.pubDate,
|
|
38
|
-
link: item.link,
|
|
39
|
-
author: item.author,
|
|
40
|
-
};
|
|
41
|
-
ctx.cache.set(item.link, JSON.stringify(single));
|
|
42
|
-
return Promise.resolve(single);
|
|
43
|
-
})
|
|
44
|
-
);
|
|
45
|
-
|
|
46
|
-
ctx.state.data = {
|
|
47
|
-
title: feed.title,
|
|
48
|
-
link: feed.link,
|
|
49
|
-
description: feed.description,
|
|
50
|
-
item: items,
|
|
51
|
-
};
|
|
52
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
const got = require('@/utils/got');
|
|
2
|
-
const cheerio = require('cheerio');
|
|
3
|
-
|
|
4
|
-
module.exports = async (ctx) => {
|
|
5
|
-
const os = ctx.params.os || 'ios';
|
|
6
|
-
const lang = ctx.params.lang || 'zh-cn';
|
|
7
|
-
|
|
8
|
-
const link = `https://www.konami.com/wepes/mobile/${lang}/information?os=${os}&page=1&num=20`;
|
|
9
|
-
const response = await got.get(link);
|
|
10
|
-
const $ = cheerio.load(response.data);
|
|
11
|
-
|
|
12
|
-
const items = $('ul.topics_list li')
|
|
13
|
-
.get()
|
|
14
|
-
.slice(1, 11)
|
|
15
|
-
.map((m) => {
|
|
16
|
-
const title = `[${$(m).find('span:nth-of-type(2)').text()}] ${$(m).find('span.topics_title').text()}`;
|
|
17
|
-
return {
|
|
18
|
-
title,
|
|
19
|
-
link,
|
|
20
|
-
description: $(m).find('div.topics_text').html(),
|
|
21
|
-
pubDate: new Date($(m).find('span.topics_date').text()),
|
|
22
|
-
guid: `PES Mobile ${title} ${$(m).find('span.topics_date').text()}`,
|
|
23
|
-
};
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
ctx.state.data = {
|
|
27
|
-
title: `PES Mobile ${$('h1').text()}`,
|
|
28
|
-
link,
|
|
29
|
-
item: items,
|
|
30
|
-
};
|
|
31
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
const got = require('@/utils/got');
|
|
2
|
-
const cheerio = require('cheerio');
|
|
3
|
-
|
|
4
|
-
module.exports = async (ctx) => {
|
|
5
|
-
const response = await got({
|
|
6
|
-
method: 'get',
|
|
7
|
-
url: 'https://www.krankenkassen.de/dpa/',
|
|
8
|
-
});
|
|
9
|
-
|
|
10
|
-
const data = response.data;
|
|
11
|
-
|
|
12
|
-
const $ = cheerio.load(data);
|
|
13
|
-
const list = $('.news td a');
|
|
14
|
-
|
|
15
|
-
const getContent = async (subLink) => {
|
|
16
|
-
const cacheKey = `krankenkassen_${subLink}`;
|
|
17
|
-
const cache = await ctx.cache.get(cacheKey);
|
|
18
|
-
if (cache) {
|
|
19
|
-
return JSON.parse(cache);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
const articlePageRes = await got(subLink);
|
|
23
|
-
const articleHtml = articlePageRes.data;
|
|
24
|
-
const $ = cheerio.load(articleHtml);
|
|
25
|
-
const pubDate = $('.untertitel').text();
|
|
26
|
-
const description = $('#content p').text();
|
|
27
|
-
const result = {
|
|
28
|
-
pubDate,
|
|
29
|
-
description,
|
|
30
|
-
title: $('.titel').text(),
|
|
31
|
-
link: subLink,
|
|
32
|
-
};
|
|
33
|
-
ctx.cache.set(cacheKey, JSON.stringify(result));
|
|
34
|
-
return result;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
const item = await Promise.all(
|
|
38
|
-
list
|
|
39
|
-
.slice(0, 30)
|
|
40
|
-
.map((index, dom) => {
|
|
41
|
-
dom = $(dom);
|
|
42
|
-
const link = `https://www.krankenkassen.de/dpa/${dom.attr('href')}`;
|
|
43
|
-
return getContent(link);
|
|
44
|
-
})
|
|
45
|
-
.get()
|
|
46
|
-
);
|
|
47
|
-
|
|
48
|
-
ctx.state.data = {
|
|
49
|
-
title: $('title').text(),
|
|
50
|
-
link: 'https://www.krankenkassen.de/dpa/',
|
|
51
|
-
description: '德国新闻社卫健新闻',
|
|
52
|
-
item,
|
|
53
|
-
};
|
|
54
|
-
};
|
package/lib/routes/ku/index.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
const got = require('@/utils/got');
|
|
2
|
-
|
|
3
|
-
const nameProps = {
|
|
4
|
-
yuedu: '阅读',
|
|
5
|
-
yiciyuan: '异次元',
|
|
6
|
-
haikuo: '海阔',
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
module.exports = async (ctx) => {
|
|
10
|
-
const name = ctx.params.name || 'yuedu';
|
|
11
|
-
const api = `http://ku.mumuceo.com/${name}/index/getlist`;
|
|
12
|
-
const response = await got.post(api, {
|
|
13
|
-
json: {
|
|
14
|
-
page: 1,
|
|
15
|
-
limit: 10,
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
const data = response.data.data;
|
|
19
|
-
ctx.state.data = {
|
|
20
|
-
title: `${nameProps[name]} - 源仓库`,
|
|
21
|
-
link: 'http://ku.mumuceo.com/',
|
|
22
|
-
description: `源仓库 - ${nameProps[name]} RSS`,
|
|
23
|
-
item: data.map((item) => ({
|
|
24
|
-
title: item.yuansite,
|
|
25
|
-
link: `http://ku.mumuceo.com/${name}/detail/index/id/${item.id}.html`,
|
|
26
|
-
author: item.username,
|
|
27
|
-
pubDate: item.time,
|
|
28
|
-
description: item.yuan,
|
|
29
|
-
})),
|
|
30
|
-
};
|
|
31
|
-
};
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 这里列出部分已知用途且在 Feed 中有用的属性
|
|
3
|
-
*
|
|
4
|
-
* @typedef {Object} Card
|
|
5
|
-
* @property {String} id 卡片 id
|
|
6
|
-
* @property {String} title 卡片标题
|
|
7
|
-
* @property {String} text 正文内容,会有换行符,里面的链接会是 <a-link href="..."></a-link> 的形式
|
|
8
|
-
* @property {String} video 可能是内嵌视频地址
|
|
9
|
-
* @property {String} video_thumb_img 可能是内嵌视频预览图片
|
|
10
|
-
* @property {Number} bilibili_video_id 可能是关联的 Bilibili av 号
|
|
11
|
-
* @property {String[]} images 内嵌图片地址
|
|
12
|
-
* @property {Card~ImageInfo[]} images_info 内嵌图片信息
|
|
13
|
-
* @property {String} url 原文网址
|
|
14
|
-
* @property {String} url_cover 原文头图
|
|
15
|
-
* @property {String} url_title 原文标题
|
|
16
|
-
* @property {String} url_desc 原文简介
|
|
17
|
-
* @property {String} url_host 原文网址的域名
|
|
18
|
-
* @property {Number} created_time 创建的 Unix 时间戳
|
|
19
|
-
*
|
|
20
|
-
* @typedef {Object} Card~ImageInfo
|
|
21
|
-
* @property {String} url
|
|
22
|
-
* @property {String} format
|
|
23
|
-
* @property {String} size
|
|
24
|
-
* @property {Number} width
|
|
25
|
-
* @property {Number} height
|
|
26
|
-
*/
|
|
27
|
-
|
|
28
|
-
const got = require('@/utils/got');
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @param {String} ctx.params.id
|
|
32
|
-
*/
|
|
33
|
-
module.exports = async (ctx) => {
|
|
34
|
-
const id = ctx.params.id;
|
|
35
|
-
|
|
36
|
-
const info_res = await got({
|
|
37
|
-
method: 'post',
|
|
38
|
-
url: 'https://kz.sync163.com/api/topic/info',
|
|
39
|
-
headers: {
|
|
40
|
-
from: 'h5',
|
|
41
|
-
token: 'asdfasdfasdf',
|
|
42
|
-
'Content-Type': 'application/json',
|
|
43
|
-
},
|
|
44
|
-
data: JSON.stringify({
|
|
45
|
-
topic_id: id,
|
|
46
|
-
}),
|
|
47
|
-
});
|
|
48
|
-
const info = info_res.data;
|
|
49
|
-
|
|
50
|
-
const cards_res = await got({
|
|
51
|
-
method: 'post',
|
|
52
|
-
url: 'https://kz.sync163.com/api/topic/cards',
|
|
53
|
-
headers: {
|
|
54
|
-
from: 'h5',
|
|
55
|
-
token: 'asdfasdfasdf',
|
|
56
|
-
'Content-Type': 'application/json',
|
|
57
|
-
},
|
|
58
|
-
data: JSON.stringify({
|
|
59
|
-
topic_id: id,
|
|
60
|
-
}),
|
|
61
|
-
});
|
|
62
|
-
const cardList = cards_res.data.list;
|
|
63
|
-
|
|
64
|
-
ctx.state.data = {
|
|
65
|
-
title: `快知 - ${info.info.name}`,
|
|
66
|
-
description: info.info.description,
|
|
67
|
-
link: `https://kz.sync163.com/web/topic/${id}`,
|
|
68
|
-
image: info.info.icon,
|
|
69
|
-
item: cardList.map(buildFeedItem),
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* @param {Card} cardData
|
|
75
|
-
*/
|
|
76
|
-
const buildFeedItem = (cardData) => {
|
|
77
|
-
const description = `
|
|
78
|
-
<p><img src="${cardData.url_cover}" /></p>
|
|
79
|
-
<p>${cardData.url_title ? cardData.url_title : ''}${cardData.url_desc ? ` - ${cardData.url_desc}` : ''}</p>
|
|
80
|
-
<p style="white-space: pre-line">${serializeCardText(cardData.text)}</p>
|
|
81
|
-
${renderImageList(cardData.images)}
|
|
82
|
-
<p><a href="https://kz.sync163.com/web/card/${cardData.id}" style="margin-left: 10px">快知中间页</a></p>
|
|
83
|
-
`;
|
|
84
|
-
|
|
85
|
-
return {
|
|
86
|
-
title: cardData.title ? cardData.title : cardData.url_title,
|
|
87
|
-
description,
|
|
88
|
-
pubDate: new Date(cardData.created_time * 1000),
|
|
89
|
-
link: cardData.url,
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
const renderImageList = (images) => {
|
|
94
|
-
const renderItem = (src) => `
|
|
95
|
-
<li style="width: 30%; margin: 0.5rem">
|
|
96
|
-
<img style="width: 100%" src="${src}" />
|
|
97
|
-
</li>
|
|
98
|
-
`;
|
|
99
|
-
|
|
100
|
-
return `
|
|
101
|
-
<ul style="
|
|
102
|
-
display: flex;
|
|
103
|
-
justify-content: space-between;
|
|
104
|
-
flex-wrap: wrap;
|
|
105
|
-
list-style: none;
|
|
106
|
-
margin: 0;
|
|
107
|
-
padding: 0;
|
|
108
|
-
">
|
|
109
|
-
${images.map(renderItem).join('')}
|
|
110
|
-
</ul>
|
|
111
|
-
`;
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
const serializeCardText = (text) =>
|
|
115
|
-
text
|
|
116
|
-
|
|
117
|
-
/* 快知的 API 里的 a 标签名字叫做 a-link ,我们要把它改过来 */
|
|
118
|
-
.replace(/<a-link/g, '<a')
|
|
119
|
-
.replace(/<\/a-link>/g, '</a>')
|
|
120
|
-
|
|
121
|
-
/* 替换换行符 */
|
|
122
|
-
.replace(/\n/g, '<br>');
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
const querystring = require('querystring');
|
|
2
|
-
const got = require('@/utils/got');
|
|
3
|
-
|
|
4
|
-
const API_KEY = 'ba0c2dad52b3ec';
|
|
5
|
-
const SEARCH_ENDPOINT = 'https://api.leboncoin.fr/finder/search';
|
|
6
|
-
|
|
7
|
-
// convert the querystring read from the url to the object expected by the rest API
|
|
8
|
-
const convertQueryToFilters = (query) => {
|
|
9
|
-
const queryObject = querystring.parse(query);
|
|
10
|
-
|
|
11
|
-
const filters = { keywords: {}, location: {}, ranges: {}, enums: {} };
|
|
12
|
-
|
|
13
|
-
queryObject.ad_type = queryObject.ad_type || 'offer';
|
|
14
|
-
|
|
15
|
-
for (const [key, value] of Object.entries(queryObject)) {
|
|
16
|
-
// category
|
|
17
|
-
if (key === 'category') {
|
|
18
|
-
filters.category = { id: queryObject.category };
|
|
19
|
-
continue;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// location.locations
|
|
23
|
-
if (key === 'locations') {
|
|
24
|
-
filters.location.locations = value
|
|
25
|
-
.split(',')
|
|
26
|
-
.map((l) => {
|
|
27
|
-
if (l.startsWith('r_')) {
|
|
28
|
-
return { locationType: 'region', region_id: l.slice(2) };
|
|
29
|
-
}
|
|
30
|
-
if (l.startsWith('dn_')) {
|
|
31
|
-
return { locationType: 'department_near', department_id: l.slice(3) };
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
if (l.startsWith('d_')) {
|
|
35
|
-
return { locationType: 'department', department_id: l.slice(2) };
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
{
|
|
39
|
-
if (l.match(/.+_.+/)) {
|
|
40
|
-
const [city, zipcode] = l.split('_');
|
|
41
|
-
return { locationType: 'city', city, zipcode };
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
return undefined;
|
|
45
|
-
})
|
|
46
|
-
.filter(Boolean);
|
|
47
|
-
|
|
48
|
-
continue;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
// keywords.text
|
|
52
|
-
if (key === 'text') {
|
|
53
|
-
filters.keywords.text = value;
|
|
54
|
-
|
|
55
|
-
continue;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
// location.area
|
|
59
|
-
if (key === 'lat' || key === 'lng' || key === 'radius') {
|
|
60
|
-
filters.location.area = {
|
|
61
|
-
lat: parseFloat(queryObject.lat),
|
|
62
|
-
lng: parseFloat(queryObject.lng),
|
|
63
|
-
radius: parseFloat(queryObject.radius),
|
|
64
|
-
};
|
|
65
|
-
continue;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
// range type
|
|
69
|
-
{
|
|
70
|
-
const m = value.match(/^(\d+|min)-(\d+|max)$/);
|
|
71
|
-
|
|
72
|
-
if (m) {
|
|
73
|
-
const [, min, max] = m;
|
|
74
|
-
|
|
75
|
-
filters.ranges = filters.ranges || {};
|
|
76
|
-
filters.ranges[key] = {};
|
|
77
|
-
if (min !== 'min') {
|
|
78
|
-
filters.ranges[key].min = parseInt(min);
|
|
79
|
-
}
|
|
80
|
-
if (max !== 'max') {
|
|
81
|
-
filters.ranges[key].max = parseInt(max);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
continue;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
// enum type
|
|
89
|
-
filters.enums[key] = value.split(',');
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
return filters;
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
const buildDescription = (ad) =>
|
|
96
|
-
// the description is made of
|
|
97
|
-
// - first the thumbnail
|
|
98
|
-
// - the ad description
|
|
99
|
-
// - all the images in thumbnail version, and link to large version
|
|
100
|
-
[
|
|
101
|
-
(ad.images && ad.images.thumb_url && `<img src="${ad.images.thumb_url}">`) || '',
|
|
102
|
-
'',
|
|
103
|
-
...ad.body.split(/\n/),
|
|
104
|
-
'',
|
|
105
|
-
((ad.images && ad.images.urls_thumb && ad.images.urls_thumb.map((url, i) => `<a href=${ad.images.urls_large[i]}><img src="${url}"></a>`)) || []).join(''),
|
|
106
|
-
].join('<br>');
|
|
107
|
-
|
|
108
|
-
module.exports = async (ctx) => {
|
|
109
|
-
const query = ctx.params.query;
|
|
110
|
-
|
|
111
|
-
const response = await got({
|
|
112
|
-
headers: {
|
|
113
|
-
api_key: API_KEY,
|
|
114
|
-
origin: 'https://www.leboncoin.fr',
|
|
115
|
-
Accept: '*/*',
|
|
116
|
-
},
|
|
117
|
-
method: 'post',
|
|
118
|
-
url: SEARCH_ENDPOINT,
|
|
119
|
-
body: JSON.stringify({ filters: convertQueryToFilters(query), limit: 50, limit_alu: 3, sort_by: 'time', sort_order: 'desc' }),
|
|
120
|
-
});
|
|
121
|
-
|
|
122
|
-
ctx.state.data = {
|
|
123
|
-
title: `ads for ${query.replace(/&/g, ' ')}`,
|
|
124
|
-
description: `ads for ${query.replace(/&/g, ' ')}`,
|
|
125
|
-
link: `https://www.leboncoin.fr/recherche/?${query}`,
|
|
126
|
-
language: 'fr',
|
|
127
|
-
item: (response.data.ads || [])
|
|
128
|
-
.filter((ad) => ad.status === 'active')
|
|
129
|
-
.map((ad) => ({
|
|
130
|
-
title: (ad.price && ad.price[0] ? `${ad.price[0]}€ - ` : '') + ad.subject,
|
|
131
|
-
description: buildDescription(ad),
|
|
132
|
-
pubDate: new Date(ad.first_publication_date).toUTCString(),
|
|
133
|
-
link: ad.url,
|
|
134
|
-
})),
|
|
135
|
-
};
|
|
136
|
-
};
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
const got = require('@/utils/got');
|
|
2
|
-
module.exports = async (ctx) => {
|
|
3
|
-
const user = ctx.params.user;
|
|
4
|
-
const url = 'https://leetcode-cn.com/graphql';
|
|
5
|
-
let payload = `{"operationName":"userPublicProfile","variables":{"userSlug":"${user}"},"query":"query userPublicProfile($userSlug: String!) {\\n userProfilePublicProfile(userSlug: $userSlug) {\\n username\\n haveFollowed\\n siteRanking\\n profile {\\n userSlug\\n realName\\n aboutMe\\n country\\n userAvatar\\n location\\n gender\\n websites\\n skillTags\\n contestCount\\n asciiCode\\n ranking {\\n rating\\n ranking\\n currentLocalRanking\\n currentGlobalRanking\\n currentRating\\n ratingProgress\\n totalLocalUsers\\n totalGlobalUsers\\n __typename\\n }\\n skillSet {\\n langLevels {\\n langName\\n langVerboseName\\n level\\n __typename\\n }\\n topics {\\n slug\\n name\\n translatedName\\n __typename\\n }\\n topicAreaScores {\\n score\\n topicArea {\\n name\\n slug\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n socialAccounts {\\n provider\\n profileUrl\\n __typename\\n }\\n __typename\\n }\\n educationRecordList {\\n unverifiedOrganizationName\\n __typename\\n }\\n occupationRecordList {\\n unverifiedOrganizationName\\n jobTitle\\n __typename\\n }\\n submissionProgress {\\n totalSubmissions\\n waSubmissions\\n acSubmissions\\n reSubmissions\\n otherSubmissions\\n acTotal\\n questionTotal\\n __typename\\n }\\n __typename\\n }\\n}\\n"}`;
|
|
6
|
-
const responseBasic = await got({
|
|
7
|
-
method: 'post',
|
|
8
|
-
data: payload,
|
|
9
|
-
url,
|
|
10
|
-
headers: {
|
|
11
|
-
'accept-encoding': 'gzip, deflate, br',
|
|
12
|
-
'accept-language': 'zh-CN,zh;q=0.9',
|
|
13
|
-
'content-type': 'application/json',
|
|
14
|
-
'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36',
|
|
15
|
-
Accept: '*/*',
|
|
16
|
-
Host: 'leetcode-cn.com',
|
|
17
|
-
Connection: 'keep-alive',
|
|
18
|
-
},
|
|
19
|
-
});
|
|
20
|
-
const dataBasic = responseBasic.data.data;
|
|
21
|
-
const userProfilePublicProfile = dataBasic.userProfilePublicProfile;
|
|
22
|
-
const siteRanking = userProfilePublicProfile.siteRanking; // 全站排名
|
|
23
|
-
const profile = userProfilePublicProfile.profile;
|
|
24
|
-
const userSlug = profile.userSlug; // 用户名
|
|
25
|
-
const userAvatar = profile.userAvatar; // 用户头像
|
|
26
|
-
const submissionProgress = userProfilePublicProfile.submissionProgress;
|
|
27
|
-
// 解决的题目
|
|
28
|
-
const acTotal = submissionProgress.acTotal;
|
|
29
|
-
const questionTotal = submissionProgress.questionTotal;
|
|
30
|
-
// 通过的提交
|
|
31
|
-
const acSubmissions = submissionProgress.acSubmissions;
|
|
32
|
-
const totalSubmissions = submissionProgress.totalSubmissions;
|
|
33
|
-
// 提交通过率
|
|
34
|
-
const ProgressNumber = (acSubmissions / totalSubmissions).toFixed(4);
|
|
35
|
-
const description = `全站排名 ${siteRanking} <br>解决的题目 ${acTotal} / ${questionTotal} <br>通过的提交 ${acSubmissions} / ${totalSubmissions} <br>提交通过率 ${ProgressNumber * 100} % <br><img src="${userAvatar}">`;
|
|
36
|
-
payload = `{"operationName":"recentSubmissions","variables":{"userSlug":"${user}"},"query":"query recentSubmissions($userSlug: String!) {\\n recentSubmissions(userSlug: $userSlug) {\\n status\\n lang\\n question {\\n questionFrontendId\\n title\\n translatedTitle\\n titleSlug\\n __typename\\n }\\n submitTime\\n __typename\\n }\\n}\\n"}`;
|
|
37
|
-
const responseothers = await got({
|
|
38
|
-
method: 'post',
|
|
39
|
-
data: payload,
|
|
40
|
-
url,
|
|
41
|
-
headers: {
|
|
42
|
-
'accept-encoding': 'gzip, deflate, br',
|
|
43
|
-
'accept-language': 'zh-CN,zh;q=0.9',
|
|
44
|
-
'content-type': 'application/json',
|
|
45
|
-
'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36',
|
|
46
|
-
Accept: '*/*',
|
|
47
|
-
Host: 'leetcode-cn.com',
|
|
48
|
-
Connection: 'keep-alive',
|
|
49
|
-
},
|
|
50
|
-
});
|
|
51
|
-
const dataOthers = responseothers.data.data;
|
|
52
|
-
const recentSubmissions = dataOthers.recentSubmissions;
|
|
53
|
-
const dic_lang = {
|
|
54
|
-
A_0: 'C++',
|
|
55
|
-
A_1: 'Java',
|
|
56
|
-
A_2: 'Python',
|
|
57
|
-
A_3: 'MySQL',
|
|
58
|
-
A_4: 'C',
|
|
59
|
-
A_5: 'C#',
|
|
60
|
-
A_6: 'JavaScript',
|
|
61
|
-
A_7: 'Ruby',
|
|
62
|
-
A_8: 'Bash',
|
|
63
|
-
A_9: 'Swift',
|
|
64
|
-
A_10: 'Go',
|
|
65
|
-
A_11: 'Python3',
|
|
66
|
-
A_12: 'Scala',
|
|
67
|
-
A_13: 'Kotlin',
|
|
68
|
-
A_14: 'MS SQL Server',
|
|
69
|
-
A_15: 'Oracle',
|
|
70
|
-
A_16: 'HTML',
|
|
71
|
-
A_17: 'Python ML',
|
|
72
|
-
A_18: 'Rust',
|
|
73
|
-
A_19: 'PHP',
|
|
74
|
-
};
|
|
75
|
-
const dic_status = {
|
|
76
|
-
A_10: 'accepted',
|
|
77
|
-
A_11: 'wrong-answer',
|
|
78
|
-
A_12: 'memory-limit-exceeded',
|
|
79
|
-
A_13: 'output-limit-exceeded',
|
|
80
|
-
A_14: 'time-limit-exceeded',
|
|
81
|
-
A_15: 'runtime-error',
|
|
82
|
-
A_16: 'internal-error',
|
|
83
|
-
A_20: 'compile-error',
|
|
84
|
-
A_30: 'timeout',
|
|
85
|
-
};
|
|
86
|
-
const state = ' 提交记录';
|
|
87
|
-
ctx.state.data = {
|
|
88
|
-
title: userSlug + state,
|
|
89
|
-
link: `https://leetcode-cn.com/u/${user}`,
|
|
90
|
-
description,
|
|
91
|
-
item: recentSubmissions.map((item) => ({
|
|
92
|
-
title: item.question.questionFrontendId + ' ' + item.question.title + ' ' + item.question.translatedTitle,
|
|
93
|
-
description: dic_status[item.status.toString()] + ' ' + dic_lang[item.lang.toString()],
|
|
94
|
-
pubDate: new Date(parseInt(item.submitTime) * 1000).toLocaleString().replace(/:\d{1,2}$/, ' '),
|
|
95
|
-
link: `https://leetcode-cn.com/problems/${item.question.titleSlug}/`,
|
|
96
|
-
})),
|
|
97
|
-
};
|
|
98
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
const got = require('@/utils/got');
|
|
2
|
-
const cheerio = require('cheerio');
|
|
3
|
-
const util = require('./utils');
|
|
4
|
-
module.exports = async (ctx) => {
|
|
5
|
-
const user = ctx.params.user;
|
|
6
|
-
const url = 'https://leetcode.com/';
|
|
7
|
-
const response = await got({
|
|
8
|
-
method: 'get',
|
|
9
|
-
url: `${url}${user}`,
|
|
10
|
-
headers: {
|
|
11
|
-
Referer: url,
|
|
12
|
-
},
|
|
13
|
-
});
|
|
14
|
-
const data = response.data;
|
|
15
|
-
const $ = cheerio.load(data);
|
|
16
|
-
const username = $('div.panel-body').find('p').text(); // 用户名
|
|
17
|
-
const img = $('div.panel-body').find('img').attr('src'); // 用户的头像
|
|
18
|
-
const src = `<img src="${img}">`;
|
|
19
|
-
const solvedQuestion = $('ul.list-group').eq(2).children().eq(0).find('span').text(); // 解决的题目
|
|
20
|
-
const acceptedSubmission = $('ul.list-group').eq(2).children().eq(1).find('span').text(); // 通过的提交
|
|
21
|
-
const acceptanceRate = $('ul.list-group').eq(2).children().eq(2).find('span').text(); // 通过率
|
|
22
|
-
const state = ' Most recent submissions';
|
|
23
|
-
const description = 'Solved Question: ' + solvedQuestion + '<br>Accepted Submission: ' + acceptedSubmission + '<br>Acceptance Rate: ' + acceptanceRate + '<br>' + src;
|
|
24
|
-
const list = $('ul.list-group').eq(-1).children().get();
|
|
25
|
-
const result = await util.ProcessFeed(list);
|
|
26
|
-
ctx.state.data = {
|
|
27
|
-
title: username + state,
|
|
28
|
-
link: `https://leetcode.com/${user}`,
|
|
29
|
-
description,
|
|
30
|
-
item: result,
|
|
31
|
-
};
|
|
32
|
-
};
|