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,58 +0,0 @@
|
|
|
1
|
-
const got = require('@/utils/got');
|
|
2
|
-
const cheerio = require('cheerio');
|
|
3
|
-
|
|
4
|
-
const host = 'https://www.nfmovies.com/';
|
|
5
|
-
const mv_slot = 'https://www.nfmovies.com/video/?UID-0-0.html';
|
|
6
|
-
const url_slot = 'https://www.nfmovies.com/list/?ID.html';
|
|
7
|
-
|
|
8
|
-
const idProps = {
|
|
9
|
-
0: '首页',
|
|
10
|
-
1: '电影',
|
|
11
|
-
2: '电视剧',
|
|
12
|
-
3: '综艺',
|
|
13
|
-
4: '动漫',
|
|
14
|
-
5: '奈菲独家',
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
module.exports = async (ctx) => {
|
|
18
|
-
const id = ctx.params.id || '0';
|
|
19
|
-
let t_url = '';
|
|
20
|
-
if (id === '0') {
|
|
21
|
-
t_url = host;
|
|
22
|
-
} else if (id === '5') {
|
|
23
|
-
t_url = 'https://www.nfmovies.com/search.php?searchtype=5&order=time&player=%E5%A5%88%E8%8F%B2%E7%8B%AC%E5%AE%B6%E9%AB%98%E6%B8%85%E7%89%87%E6%BA%90';
|
|
24
|
-
} else {
|
|
25
|
-
t_url = url_slot.replace('ID', id);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
const response = await got({
|
|
29
|
-
method: 'get',
|
|
30
|
-
url: t_url,
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
const $ = cheerio.load(response.data);
|
|
34
|
-
const items = [];
|
|
35
|
-
$('.col-md-2').each(function () {
|
|
36
|
-
const item = $(this);
|
|
37
|
-
const link = mv_slot.replace(
|
|
38
|
-
'UID',
|
|
39
|
-
item
|
|
40
|
-
.find('a')
|
|
41
|
-
.attr('href')
|
|
42
|
-
.match(/\d{4,}/g)
|
|
43
|
-
);
|
|
44
|
-
const src = host + item.children('a').attr('data-original');
|
|
45
|
-
items.push({
|
|
46
|
-
title: item.find('h5').text(),
|
|
47
|
-
description: `<img src="` + src + `"/><br>` + item.html(),
|
|
48
|
-
link,
|
|
49
|
-
});
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
ctx.state.data = {
|
|
53
|
-
title: `${idProps[id]} - 奈菲影视`,
|
|
54
|
-
link: t_url,
|
|
55
|
-
description: `${idProps[id]} - 奈菲影视-永久免费无广告的福利超清影视站,没有套路,完全免费!`,
|
|
56
|
-
item: items,
|
|
57
|
-
};
|
|
58
|
-
};
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
const got = require('@/utils/got');
|
|
2
|
-
const cheerio = require('cheerio');
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* 在一个CheerioElement数组中查找有你想要的属性的元素
|
|
6
|
-
* @author KotoriK
|
|
7
|
-
* @param {Array<CheerioElement>} eles CheerioElement数组
|
|
8
|
-
* @param {string} attrName 要查找的属性名称
|
|
9
|
-
* @param {boolean} recursive 是否递归子节点
|
|
10
|
-
* @returns 有你想要元素的数组
|
|
11
|
-
*/
|
|
12
|
-
function findAttributeFromNodes(eles, attrName, recursive = false) {
|
|
13
|
-
let array = [];
|
|
14
|
-
for (const ele of eles) {
|
|
15
|
-
if (ele.attribs && ele.attribs[attrName]) {
|
|
16
|
-
array.push(ele);
|
|
17
|
-
}
|
|
18
|
-
if (recursive && ele.children) {
|
|
19
|
-
array = array.concat(findAttributeFromNodes(ele.children, attrName, true));
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
return array;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* 在一个CheerioElement数组中查找有你给的属性及对应的值的元素
|
|
27
|
-
* @author KotoriK
|
|
28
|
-
* @param {Array<CheerioElement>} eles CheerioElement数组
|
|
29
|
-
* @param {string} attrName 要查找的属性名称
|
|
30
|
-
* @param {boolean} recursive 是否递归子节点
|
|
31
|
-
* @returns 有你想要元素的数组
|
|
32
|
-
*/
|
|
33
|
-
function findMatch(eles, attrName, value, recursive = false) {
|
|
34
|
-
let array = [];
|
|
35
|
-
for (const ele of eles) {
|
|
36
|
-
if (ele.attribs && ele.attribs[attrName] === value) {
|
|
37
|
-
array.push(ele);
|
|
38
|
-
}
|
|
39
|
-
if (recursive && ele.children) {
|
|
40
|
-
array = array.concat(findMatch(ele.children, attrName, value, true));
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
return array;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
module.exports = async (ctx) => {
|
|
47
|
-
const cat_id = ctx.params.cat;
|
|
48
|
-
const response = await got({
|
|
49
|
-
method: 'get',
|
|
50
|
-
url: `http://www.niaogebiji.com/cat/${cat_id}`,
|
|
51
|
-
});
|
|
52
|
-
const $ = cheerio.load(response.data);
|
|
53
|
-
const cat_name = $('h1').text();
|
|
54
|
-
const articles = $('div.articleBox.clearfix');
|
|
55
|
-
ctx.state.data = {
|
|
56
|
-
title: `鸟哥笔记-分类-${cat_name}`,
|
|
57
|
-
link: `http://www.niaogebiji.com/cat/${cat_id}`,
|
|
58
|
-
item: response.data
|
|
59
|
-
? await Promise.all(
|
|
60
|
-
articles.toArray().map((element) => {
|
|
61
|
-
const article_div = findAttributeFromNodes(element.children, 'href')[0];
|
|
62
|
-
const article_link = `http://www.niaogebiji.com${article_div.attribs.href}`;
|
|
63
|
-
return (async () => ({
|
|
64
|
-
title: findMatch(article_div.children, 'class', 'articleTitle elp', true)[0].children[0].data,
|
|
65
|
-
category: cat_name,
|
|
66
|
-
description: await ctx.cache.tryGet(`ngbj-${article_div.attribs.href}`, async () => {
|
|
67
|
-
// get article
|
|
68
|
-
const article_response = await got({
|
|
69
|
-
method: 'get',
|
|
70
|
-
url: article_link,
|
|
71
|
-
});
|
|
72
|
-
const article_dom = cheerio.load(article_response.data);
|
|
73
|
-
return article_dom('div.mobileHide.pc_content').html();
|
|
74
|
-
}),
|
|
75
|
-
link: article_link,
|
|
76
|
-
pubDate: parseInt(element.attribs['data-timepoint'] + '000'),
|
|
77
|
-
}))();
|
|
78
|
-
})
|
|
79
|
-
)
|
|
80
|
-
: [
|
|
81
|
-
{
|
|
82
|
-
title: '获取失败!',
|
|
83
|
-
},
|
|
84
|
-
],
|
|
85
|
-
};
|
|
86
|
-
};
|
|
@@ -1,40 +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.niaogebiji.com/`,
|
|
8
|
-
});
|
|
9
|
-
const $ = cheerio.load(response.data);
|
|
10
|
-
const postList = $('.articleListBox').find('.articleBox').get();
|
|
11
|
-
const result = await Promise.all(
|
|
12
|
-
postList.map(async (item) => {
|
|
13
|
-
const title = $(item).find('.article').find('a').find('.articleTitle').text();
|
|
14
|
-
const link = 'https://www.niaogebiji.com' + $(item).find('.article').find('a').attr('href');
|
|
15
|
-
const guid = link;
|
|
16
|
-
const pubDate = new Date(parseInt($(item).attr('data-timepoint')) * 1000).toUTCString();
|
|
17
|
-
|
|
18
|
-
const single = {
|
|
19
|
-
title,
|
|
20
|
-
link,
|
|
21
|
-
guid,
|
|
22
|
-
pubDate,
|
|
23
|
-
description: '',
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
const description_key = 'niaogebiji' + guid;
|
|
27
|
-
const description_value = await ctx.cache.get(description_key);
|
|
28
|
-
|
|
29
|
-
if (description_value) {
|
|
30
|
-
single.description = description_value;
|
|
31
|
-
} else {
|
|
32
|
-
const temp = await got(link);
|
|
33
|
-
single.description = $(temp.data).find('.article').find('.pc_content').html();
|
|
34
|
-
ctx.cache.set(description_key, single.description);
|
|
35
|
-
}
|
|
36
|
-
return Promise.resolve(single);
|
|
37
|
-
})
|
|
38
|
-
);
|
|
39
|
-
ctx.state.data = { title: '鸟哥笔记', link: 'https://www.niaogebiji.com/', item: result };
|
|
40
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
const got = require('@/utils/got');
|
|
2
|
-
module.exports = async (ctx) => {
|
|
3
|
-
const response = await got({
|
|
4
|
-
method: 'post',
|
|
5
|
-
url: 'https://www.niaogebiji.com/pc/bulletin/index',
|
|
6
|
-
form: {
|
|
7
|
-
page: 1,
|
|
8
|
-
pub_time: '',
|
|
9
|
-
isfromajax: 1,
|
|
10
|
-
},
|
|
11
|
-
});
|
|
12
|
-
const data = response.data.return_data;
|
|
13
|
-
ctx.state.data = {
|
|
14
|
-
title: '鸟哥笔记-今日事',
|
|
15
|
-
link: 'https://www.niaogebiji.com/pc/bulletin/index',
|
|
16
|
-
item: data
|
|
17
|
-
? data.map((item) => ({
|
|
18
|
-
title: item.title,
|
|
19
|
-
description: item.content + `</br><a href="${item.link}">原文链接</a>`,
|
|
20
|
-
link: `https://www.niaogebiji.com/pc/bulletin/detail?id=${item.id}`,
|
|
21
|
-
pubDate: new Date(parseInt(data[0].pub_time + '000')),
|
|
22
|
-
}))
|
|
23
|
-
: [
|
|
24
|
-
{
|
|
25
|
-
title: '获取失败!',
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
};
|
|
29
|
-
};
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
const got = require('@/utils/got');
|
|
2
|
-
const cheerio = require('cheerio');
|
|
3
|
-
|
|
4
|
-
const sourceTimezoneOffset = -8;
|
|
5
|
-
module.exports = async (ctx) => {
|
|
6
|
-
const url = 'http://www.ningmeng.name/archives/category/%E7%A7%81%E6%88%BF%E6%AD%8C';
|
|
7
|
-
const res = await got.get(url);
|
|
8
|
-
const $$ = cheerio.load(res.data);
|
|
9
|
-
const postUrls = $$('.site-main .posts-wrapper .grid-item a.u-permalink')
|
|
10
|
-
.slice(0, 3)
|
|
11
|
-
.map((i, el) => $$(el).attr('href'))
|
|
12
|
-
.get();
|
|
13
|
-
|
|
14
|
-
const postItemGroups = await Promise.all(
|
|
15
|
-
postUrls.map(async (postUrl) => {
|
|
16
|
-
const cache = await ctx.cache.get(postUrl);
|
|
17
|
-
if (cache) {
|
|
18
|
-
return JSON.parse(cache);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
const postRes = await got.get(postUrl);
|
|
22
|
-
const $ = cheerio.load(postRes.data);
|
|
23
|
-
|
|
24
|
-
let time = $('.iconfont.icon-shijian + span.count').text();
|
|
25
|
-
time = time ? new Date(time) : new Date();
|
|
26
|
-
time.setTime(time.getTime() + (sourceTimezoneOffset - time.getTimezoneOffset() / 60) * 60 * 60 * 1000);
|
|
27
|
-
const pubDate = time.toUTCString();
|
|
28
|
-
|
|
29
|
-
const content = $('.entry-content');
|
|
30
|
-
|
|
31
|
-
const mp3s = content.find('.karma-by-kadar__simple-player');
|
|
32
|
-
const mp3Urls = mp3s.map((i, el) => $(el).attr('data-src')).get();
|
|
33
|
-
|
|
34
|
-
const images = content.find('img');
|
|
35
|
-
const imageUrls = images.map((i, el) => $(el).attr('src')).get();
|
|
36
|
-
|
|
37
|
-
const playerTextRe = /\n*play_circle_filledpause_circle_filledvolume_downvolume_upvolume_off\n*/g;
|
|
38
|
-
const songSplitterRe = /—+.+—+/g;
|
|
39
|
-
const texts = content
|
|
40
|
-
.text()
|
|
41
|
-
.replace(songSplitterRe, '')
|
|
42
|
-
.split(playerTextRe)
|
|
43
|
-
.map((p) => p.trim().split(/\n+/));
|
|
44
|
-
|
|
45
|
-
const out = mp3Urls.map((mp3Url, i) => {
|
|
46
|
-
const ss = mp3Url.split('/');
|
|
47
|
-
const filename = ss[ss.length - 1].split('.')[0];
|
|
48
|
-
const [title, artist] = filename.split('-');
|
|
49
|
-
const description = [`<img src="${imageUrls[i]}" />`, `<h4>${texts[i][0]}</h4>`, `<p>${texts[i][1]}</p>`].join();
|
|
50
|
-
|
|
51
|
-
return {
|
|
52
|
-
title: unescape(title).trim(),
|
|
53
|
-
author: unescape(artist).trim(),
|
|
54
|
-
link: mp3Url,
|
|
55
|
-
guid: mp3Url,
|
|
56
|
-
description,
|
|
57
|
-
pubDate,
|
|
58
|
-
};
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
ctx.cache.set(postUrl, JSON.stringify(out));
|
|
62
|
-
|
|
63
|
-
return out;
|
|
64
|
-
})
|
|
65
|
-
);
|
|
66
|
-
|
|
67
|
-
let items = [];
|
|
68
|
-
postItemGroups.forEach((group) => {
|
|
69
|
-
items = items.concat(group);
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
ctx.state.data = {
|
|
73
|
-
title: '柠檬私房歌',
|
|
74
|
-
link: 'http://www.ningmeng.name',
|
|
75
|
-
item: items,
|
|
76
|
-
};
|
|
77
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
const got = require('@/utils/got');
|
|
2
|
-
const cheerio = require('cheerio');
|
|
3
|
-
|
|
4
|
-
module.exports = async (ctx) => {
|
|
5
|
-
const category = ctx.params.category || '';
|
|
6
|
-
|
|
7
|
-
const rootUrl = 'http://www.northhouse.cc';
|
|
8
|
-
const currentUrl = `${rootUrl}${category === '' ? '' : `/category/${category}`}`;
|
|
9
|
-
const response = await got({
|
|
10
|
-
method: 'get',
|
|
11
|
-
url: currentUrl,
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
const $ = cheerio.load(response.data.replace(/<div class="clear"><\/div>/g, '<div class="clear"></div><time>').replace(/<div class="contents">/g, '</time><div class="contents">'));
|
|
15
|
-
|
|
16
|
-
const list = $('.entry h2 a')
|
|
17
|
-
.slice(0, 10)
|
|
18
|
-
.map((_, item) => {
|
|
19
|
-
item = $(item);
|
|
20
|
-
|
|
21
|
-
const date = item.parent().parent().find('time').text().trim().replace(/月/, '').split(' ');
|
|
22
|
-
|
|
23
|
-
return {
|
|
24
|
-
title: item.text(),
|
|
25
|
-
link: item.attr('href'),
|
|
26
|
-
pubDate: new Date(`${date[0]} ${date[2]} GMT+8`).toUTCString(),
|
|
27
|
-
};
|
|
28
|
-
})
|
|
29
|
-
.get();
|
|
30
|
-
|
|
31
|
-
const items = await Promise.all(
|
|
32
|
-
list.map((item) =>
|
|
33
|
-
ctx.cache.tryGet(item.link, async () => {
|
|
34
|
-
const detailResponse = await got({
|
|
35
|
-
method: 'get',
|
|
36
|
-
url: item.link,
|
|
37
|
-
});
|
|
38
|
-
const content = cheerio.load(detailResponse.data);
|
|
39
|
-
|
|
40
|
-
content('.crp_related').remove();
|
|
41
|
-
|
|
42
|
-
item.description = content('.contents').html();
|
|
43
|
-
|
|
44
|
-
return item;
|
|
45
|
-
})
|
|
46
|
-
)
|
|
47
|
-
);
|
|
48
|
-
|
|
49
|
-
ctx.state.data = {
|
|
50
|
-
title: $('title').text(),
|
|
51
|
-
link: currentUrl,
|
|
52
|
-
item: items,
|
|
53
|
-
};
|
|
54
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
const got = require('@/utils/got');
|
|
2
|
-
const cheerio = require('cheerio');
|
|
3
|
-
|
|
4
|
-
const baseUrl = 'https://www.aixdzs.com';
|
|
5
|
-
|
|
6
|
-
module.exports = async (ctx) => {
|
|
7
|
-
if (ctx.params.id2) {
|
|
8
|
-
const redirect = await got.head(`https://read.aixdzs.com/${ctx.params.id1}/${ctx.params.id2}/`, { followRedirect: false });
|
|
9
|
-
const redirectUrl = redirect.headers.location;
|
|
10
|
-
const novel = redirectUrl.substring(1 + redirectUrl.lastIndexOf('/'));
|
|
11
|
-
|
|
12
|
-
ctx.status = 301;
|
|
13
|
-
ctx.redirect(`/axdzs/${novel}`);
|
|
14
|
-
return;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
const novel = ctx.params.novel;
|
|
18
|
-
const novelUrl = `${baseUrl}/novel/${novel}/`;
|
|
19
|
-
const response = await got.get(novelUrl);
|
|
20
|
-
|
|
21
|
-
const data = response.data;
|
|
22
|
-
const $ = cheerio.load(data);
|
|
23
|
-
|
|
24
|
-
const title = $('h1').text();
|
|
25
|
-
const description = $('meta[name="description"]').attr('content');
|
|
26
|
-
const lastChapter = $('.chapter').last().children();
|
|
27
|
-
const secondChapter = $('.chapter').last().prev().children();
|
|
28
|
-
let lastChapterUrl = lastChapter.attr('href');
|
|
29
|
-
let secondChapterUrl = secondChapter.attr('href');
|
|
30
|
-
if (lastChapterUrl.startsWith('/')) {
|
|
31
|
-
lastChapterUrl = baseUrl + lastChapterUrl;
|
|
32
|
-
secondChapterUrl = baseUrl + secondChapterUrl;
|
|
33
|
-
}
|
|
34
|
-
const lastChapterContent = await ctx.cache.tryGet(lastChapterUrl, async () => {
|
|
35
|
-
const res = await got.get(lastChapterUrl);
|
|
36
|
-
const $ = cheerio.load(res.data, { decodeEntities: false });
|
|
37
|
-
return $('.content').html();
|
|
38
|
-
});
|
|
39
|
-
// 以下需要判断最新章节是否已填充内容
|
|
40
|
-
let chapterTitle, chapterUrl, chapterContent;
|
|
41
|
-
// 判断新章节内是否存在无内容的提示信息,如存在则请求上一章节数据
|
|
42
|
-
if (lastChapterContent.indexOf('鍦ㄦ洿鏂颁腑锛岃绋嶅悗鍒锋') === -1) {
|
|
43
|
-
chapterTitle = lastChapter.text();
|
|
44
|
-
chapterUrl = lastChapterUrl;
|
|
45
|
-
chapterContent = lastChapterContent;
|
|
46
|
-
} else {
|
|
47
|
-
chapterTitle = secondChapter.text();
|
|
48
|
-
chapterUrl = secondChapterUrl;
|
|
49
|
-
chapterContent = await ctx.cache.tryGet(secondChapterUrl, async () => {
|
|
50
|
-
const secondChapter = await got.get(secondChapterUrl);
|
|
51
|
-
const $ = cheerio.load(secondChapter.data, { decodeEntities: false });
|
|
52
|
-
return $('.content').html();
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
ctx.state.data = {
|
|
56
|
-
title: `爱下电子书-${title}`,
|
|
57
|
-
description,
|
|
58
|
-
link: novelUrl,
|
|
59
|
-
item: [
|
|
60
|
-
{
|
|
61
|
-
title: chapterTitle,
|
|
62
|
-
link: chapterUrl,
|
|
63
|
-
description: chapterContent,
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
};
|
|
67
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
const got = require('@/utils/got');
|
|
2
|
-
const cheerio = require('cheerio');
|
|
3
|
-
const iconv = require('iconv-lite');
|
|
4
|
-
|
|
5
|
-
const baseUrl = 'http://booksky.so/BookDetail.aspx?Level=1&bid=';
|
|
6
|
-
|
|
7
|
-
module.exports = async (ctx) => {
|
|
8
|
-
const id = ctx.params.id;
|
|
9
|
-
|
|
10
|
-
const response = await got({
|
|
11
|
-
method: 'get',
|
|
12
|
-
url: `${baseUrl}${id}`,
|
|
13
|
-
headers: {
|
|
14
|
-
Host: 'booksky.so',
|
|
15
|
-
Referer: 'http://booksky.so/',
|
|
16
|
-
},
|
|
17
|
-
responseType: 'buffer',
|
|
18
|
-
});
|
|
19
|
-
const responseHtml = iconv.decode(response.data, 'GBK');
|
|
20
|
-
const $ = cheerio.load(responseHtml);
|
|
21
|
-
|
|
22
|
-
const list = $('tr[class=b]').attr('height', '25');
|
|
23
|
-
|
|
24
|
-
const title = $('font').attr('color', 'red').text();
|
|
25
|
-
|
|
26
|
-
ctx.state.data = {
|
|
27
|
-
title,
|
|
28
|
-
link: `${baseUrl}${id}`,
|
|
29
|
-
description: '',
|
|
30
|
-
item:
|
|
31
|
-
list &&
|
|
32
|
-
list
|
|
33
|
-
.map((index, item) => {
|
|
34
|
-
item = $(item);
|
|
35
|
-
return {
|
|
36
|
-
title: item.find('.s').text(),
|
|
37
|
-
description: item.find('.t').eq(1).text(),
|
|
38
|
-
pubDate: new Date(item.find('.t').eq(2).text()).toUTCString(),
|
|
39
|
-
link: `http://booksky.so/${item.find('.s').children('a').attr('href')}`,
|
|
40
|
-
};
|
|
41
|
-
})
|
|
42
|
-
.get(),
|
|
43
|
-
};
|
|
44
|
-
};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
const got = require('@/utils/got');
|
|
2
|
-
const cheerio = require('cheerio');
|
|
3
|
-
|
|
4
|
-
const baseUrl = 'https://www.daocaorenshuwu.com';
|
|
5
|
-
|
|
6
|
-
module.exports = async (ctx) => {
|
|
7
|
-
const name = ctx.params.name;
|
|
8
|
-
const count = ctx.params.count || 3;
|
|
9
|
-
const novelUrl = `${baseUrl}/book/${name}`;
|
|
10
|
-
const response = await got({
|
|
11
|
-
method: 'get',
|
|
12
|
-
url: novelUrl,
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
const data = response.data;
|
|
16
|
-
const $ = cheerio.load(data);
|
|
17
|
-
|
|
18
|
-
const title = $('h1.book-name').children().text();
|
|
19
|
-
const description = $('div.book-detail').text();
|
|
20
|
-
const chapters = $('.col-md-6').slice(0, count).get();
|
|
21
|
-
const results = await Promise.all(
|
|
22
|
-
chapters.map(async (item) => {
|
|
23
|
-
const $ = cheerio.load(item);
|
|
24
|
-
|
|
25
|
-
const chapterTitle = $('a').text();
|
|
26
|
-
const chapterUrl = 'https:' + $('a').attr('href');
|
|
27
|
-
const chapterContent = await ctx.cache.tryGet(chapterUrl, async () => {
|
|
28
|
-
let result = '';
|
|
29
|
-
let temp = chapterUrl;
|
|
30
|
-
while (temp !== '') {
|
|
31
|
-
// eslint-disable-next-line no-await-in-loop
|
|
32
|
-
const chapter = await got.get(temp);
|
|
33
|
-
const $ = cheerio.load(chapter.data);
|
|
34
|
-
$('div.cont-text > script').remove();
|
|
35
|
-
result += $('div.cont-text').html();
|
|
36
|
-
// 如果有下一页则访问下一页
|
|
37
|
-
if ($('a:contains("下一页")').length > 0) {
|
|
38
|
-
temp = baseUrl + $('a:contains("下一页")').last().attr('href');
|
|
39
|
-
} else {
|
|
40
|
-
temp = '';
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
return result;
|
|
44
|
-
});
|
|
45
|
-
return Promise.resolve({
|
|
46
|
-
title: chapterTitle,
|
|
47
|
-
link: chapterUrl,
|
|
48
|
-
description: chapterContent,
|
|
49
|
-
});
|
|
50
|
-
})
|
|
51
|
-
);
|
|
52
|
-
ctx.state.data = {
|
|
53
|
-
title: `稻草人书屋-${title}`,
|
|
54
|
-
description,
|
|
55
|
-
link: novelUrl,
|
|
56
|
-
item: results,
|
|
57
|
-
};
|
|
58
|
-
};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
const got = require('@/utils/got');
|
|
2
|
-
const cheerio = require('cheerio');
|
|
3
|
-
const iconv = require('iconv-lite');
|
|
4
|
-
|
|
5
|
-
const baseUrl = 'https://www.ptwxz.com/bookinfo/';
|
|
6
|
-
const timezone = require('@/utils/timezone');
|
|
7
|
-
const { parseDate } = require('@/utils/parse-date');
|
|
8
|
-
|
|
9
|
-
// 获取小说的最新章节列表
|
|
10
|
-
module.exports = async (ctx) => {
|
|
11
|
-
// 小说id
|
|
12
|
-
const id1 = ctx.params.id1;
|
|
13
|
-
const id2 = ctx.params.id2;
|
|
14
|
-
const id = id1 + '/' + id2;
|
|
15
|
-
|
|
16
|
-
const response = await got({
|
|
17
|
-
method: 'get',
|
|
18
|
-
url: `${baseUrl}${id}.html`,
|
|
19
|
-
headers: {
|
|
20
|
-
Referer: `${baseUrl}${id}.html`,
|
|
21
|
-
},
|
|
22
|
-
responseType: 'buffer',
|
|
23
|
-
});
|
|
24
|
-
const responseHtml = iconv.decode(response.data, 'gbk');
|
|
25
|
-
const $ = cheerio.load(responseHtml);
|
|
26
|
-
|
|
27
|
-
const title = $('span>h1').text();
|
|
28
|
-
|
|
29
|
-
const chapter_item = $('#content li a')
|
|
30
|
-
.map((_, item) => {
|
|
31
|
-
item = $(item);
|
|
32
|
-
const date = item.attr('title').match(/更新时间:(.*)/)[1]; // "10-04 00:17"
|
|
33
|
-
return {
|
|
34
|
-
title: item.text(),
|
|
35
|
-
link: item.attr('href'),
|
|
36
|
-
pubDate: timezone(parseDate(date, 'MM-DD HH:mm'), +8),
|
|
37
|
-
};
|
|
38
|
-
})
|
|
39
|
-
.get();
|
|
40
|
-
const items = await Promise.all(
|
|
41
|
-
chapter_item.map((item) =>
|
|
42
|
-
ctx.cache.tryGet(item.link, async () => {
|
|
43
|
-
const response = await got({
|
|
44
|
-
method: 'get',
|
|
45
|
-
url: `https://www.ptwxz.com/${item.link}`,
|
|
46
|
-
responseType: 'buffer',
|
|
47
|
-
});
|
|
48
|
-
const responseHtml = iconv.decode(response.data, 'GBK');
|
|
49
|
-
const $ = cheerio.load(responseHtml);
|
|
50
|
-
// remove all unwanted elements
|
|
51
|
-
// TODO: cleaner solution to rip text from body
|
|
52
|
-
$('div').remove();
|
|
53
|
-
$('h1').remove();
|
|
54
|
-
$('table').remove();
|
|
55
|
-
$('center').remove();
|
|
56
|
-
$('table').remove();
|
|
57
|
-
$('script').remove();
|
|
58
|
-
const description = $('body').html();
|
|
59
|
-
const single = {
|
|
60
|
-
title: item.title,
|
|
61
|
-
description,
|
|
62
|
-
link: item.link,
|
|
63
|
-
pubDate: item.pubDate,
|
|
64
|
-
};
|
|
65
|
-
return single;
|
|
66
|
-
})
|
|
67
|
-
)
|
|
68
|
-
);
|
|
69
|
-
|
|
70
|
-
ctx.state.data = {
|
|
71
|
-
title,
|
|
72
|
-
link: `${baseUrl}${id}.html`,
|
|
73
|
-
description: '',
|
|
74
|
-
item: items,
|
|
75
|
-
};
|
|
76
|
-
};
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
const got = require('@/utils/got');
|
|
2
|
-
const cheerio = require('cheerio');
|
|
3
|
-
const iconv = require('iconv-lite');
|
|
4
|
-
const mbaseUrl = 'https://m.wenxuemi.com/files/article/html';
|
|
5
|
-
const baseUrl = 'https://www.wenxuemi.com';
|
|
6
|
-
|
|
7
|
-
// 获取小说的最新章节列表
|
|
8
|
-
module.exports = async (ctx) => {
|
|
9
|
-
const id1 = ctx.params.id1; // 小说id
|
|
10
|
-
const id2 = ctx.params.id2;
|
|
11
|
-
const id = '/' + id1 + '/' + id2;
|
|
12
|
-
const got_ins = got.extend({
|
|
13
|
-
headers: {
|
|
14
|
-
Referer: `${mbaseUrl}${id}/`,
|
|
15
|
-
},
|
|
16
|
-
responseType: 'buffer',
|
|
17
|
-
});
|
|
18
|
-
const response = await got_ins.get(`${mbaseUrl}${id}/`);
|
|
19
|
-
const responseHtml = iconv.decode(response.data, 'GBK');
|
|
20
|
-
const $ = cheerio.load(responseHtml);
|
|
21
|
-
|
|
22
|
-
const title = $('h2', '.block_txt2').find('a').text();
|
|
23
|
-
const description = $('.intro_info').text();
|
|
24
|
-
const cover_url = $('img', '.block_img2').attr('src');
|
|
25
|
-
const list = $('li', '.chapter').slice(0, 5);
|
|
26
|
-
|
|
27
|
-
const resultItems = await Promise.all(
|
|
28
|
-
list.toArray().map(async (item) => {
|
|
29
|
-
const $item = $(item);
|
|
30
|
-
|
|
31
|
-
const link = baseUrl + $item.find('a').attr('href');
|
|
32
|
-
let resultItem = {};
|
|
33
|
-
const value = await ctx.cache.get(link);
|
|
34
|
-
if (value) {
|
|
35
|
-
resultItem = JSON.parse(value);
|
|
36
|
-
} else {
|
|
37
|
-
const articleHtml = await got_ins.get(link);
|
|
38
|
-
const article = iconv.decode(articleHtml.data, 'GBK');
|
|
39
|
-
const $1 = cheerio.load(article);
|
|
40
|
-
const res = $1('div#content');
|
|
41
|
-
|
|
42
|
-
resultItem = {
|
|
43
|
-
title: $item.text(),
|
|
44
|
-
description: res.html(),
|
|
45
|
-
link,
|
|
46
|
-
};
|
|
47
|
-
if (res.text().includes('正在手打中') === false) {
|
|
48
|
-
ctx.cache.set(link, JSON.stringify(resultItem));
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
return Promise.resolve(resultItem);
|
|
53
|
-
})
|
|
54
|
-
);
|
|
55
|
-
|
|
56
|
-
ctx.state.data = {
|
|
57
|
-
title,
|
|
58
|
-
link: `${baseUrl}/files/article/html${id}/`,
|
|
59
|
-
image: cover_url,
|
|
60
|
-
description,
|
|
61
|
-
item: resultItems,
|
|
62
|
-
};
|
|
63
|
-
};
|