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
package/lib/v2/scau/radar.js
CHANGED
package/lib/v2/scau/router.js
CHANGED
package/lib/v2/scau/yjs.js
CHANGED
|
@@ -9,9 +9,9 @@ module.exports = async (ctx) => {
|
|
|
9
9
|
const list = $('#wp_news_w25 tr');
|
|
10
10
|
|
|
11
11
|
ctx.state.data = {
|
|
12
|
-
title: '
|
|
12
|
+
title: '华南农业大学研招办',
|
|
13
13
|
link,
|
|
14
|
-
description: '
|
|
14
|
+
description: '华农研讯',
|
|
15
15
|
item:
|
|
16
16
|
list &&
|
|
17
17
|
list.toArray().map((item) => {
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const got = require('@/utils/got');
|
|
2
|
+
const cheerio = require('cheerio');
|
|
3
|
+
const { parseDate } = require('@/utils/parse-date');
|
|
4
|
+
|
|
5
|
+
module.exports = async (ctx) => {
|
|
6
|
+
const link = 'https://yjsy.scau.edu.cn/208/list1.htm';
|
|
7
|
+
const response = await got(link);
|
|
8
|
+
const $ = cheerio.load(response.data);
|
|
9
|
+
const list = $('#wp_news_w25 tr td tr');
|
|
10
|
+
|
|
11
|
+
ctx.state.data = {
|
|
12
|
+
title: '华南农业大学研究生院',
|
|
13
|
+
link,
|
|
14
|
+
description: '通知公告',
|
|
15
|
+
item:
|
|
16
|
+
list &&
|
|
17
|
+
list.toArray().map((item) => {
|
|
18
|
+
item = $(item);
|
|
19
|
+
const a = item.find('a').last();
|
|
20
|
+
return {
|
|
21
|
+
title: a.text(),
|
|
22
|
+
link: a.attr('href'),
|
|
23
|
+
pubDate: parseDate(item.find('td').eq(2).text(), 'YYYY/MM/DD'),
|
|
24
|
+
};
|
|
25
|
+
}),
|
|
26
|
+
};
|
|
27
|
+
};
|
package/lib/v2/science/utils.js
CHANGED
|
@@ -27,10 +27,10 @@ const fetchDesc = (list, browser, tryGet) =>
|
|
|
27
27
|
const content = $('.news-article-content--featured').length
|
|
28
28
|
? $('.news-article-content--featured').html()
|
|
29
29
|
: $('.news-article-content').length
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
? $('.news-article-content').html()
|
|
31
|
+
: $('.info-panel__formats a.btn__request-access').length || $('.info-panel__formats a.btn--access').length
|
|
32
|
+
? ''
|
|
33
|
+
: $('section#bodymatter').html();
|
|
34
34
|
|
|
35
35
|
item.description = art(path.join(__dirname, 'templates/article.art'), {
|
|
36
36
|
abs: abstract,
|
package/lib/v2/scmp/index.js
CHANGED
|
@@ -1,114 +1,90 @@
|
|
|
1
|
-
const parser = require('@/utils/rss-parser');
|
|
2
1
|
const cheerio = require('cheerio');
|
|
3
2
|
const got = require('@/utils/got');
|
|
4
3
|
const { parseDate } = require('@/utils/parse-date');
|
|
5
|
-
const
|
|
4
|
+
const { renderHTML } = require('./utils');
|
|
6
5
|
|
|
7
6
|
module.exports = async (ctx) => {
|
|
8
7
|
const categoryId = ctx.params.category_id;
|
|
9
8
|
const rssUrl = `https://www.scmp.com/rss/${categoryId}/feed`;
|
|
10
|
-
const
|
|
9
|
+
const { data: response } = await got(rssUrl);
|
|
10
|
+
const $ = cheerio.load(response, {
|
|
11
|
+
xmlMode: true,
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
const list = $('item')
|
|
15
|
+
.toArray()
|
|
16
|
+
.map((item) => {
|
|
17
|
+
item = $(item);
|
|
18
|
+
const enclosure = item.find('enclosure').first();
|
|
19
|
+
const mediaContent = item.find('media\\:content').toArray()[0];
|
|
20
|
+
const thumbnail = item.find('media\\:thumbnail').toArray()[0];
|
|
21
|
+
return {
|
|
22
|
+
title: item.find('title').text(),
|
|
23
|
+
description: item.find('description').text(),
|
|
24
|
+
link: item.find('link').text().split('?utm_source')[0],
|
|
25
|
+
author: item.find('author').text(),
|
|
26
|
+
pubDate: parseDate(item.find('pubDate').text()),
|
|
27
|
+
enclosure_url: enclosure?.attr('url'),
|
|
28
|
+
enclosure_length: enclosure?.attr('length'),
|
|
29
|
+
enclosure_type: enclosure?.attr('type'),
|
|
30
|
+
media: {
|
|
31
|
+
content: Object.keys(mediaContent.attribs).reduce((data, key) => {
|
|
32
|
+
data[key] = mediaContent.attribs[key];
|
|
33
|
+
return data;
|
|
34
|
+
}, {}),
|
|
35
|
+
thumbnail: thumbnail?.attribs
|
|
36
|
+
? Object.keys(thumbnail.attribs).reduce((data, attr) => {
|
|
37
|
+
data[attr] = thumbnail.attribs[attr];
|
|
38
|
+
return data;
|
|
39
|
+
}, {})
|
|
40
|
+
: undefined,
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
});
|
|
11
44
|
|
|
12
45
|
const items = await Promise.all(
|
|
13
|
-
|
|
46
|
+
list.map((item) =>
|
|
14
47
|
ctx.cache.tryGet(item.link, async () => {
|
|
15
|
-
|
|
16
|
-
const url = item.link.replace(/^https:\/\/www\.scmp\.com/, 'https://amp.scmp.com');
|
|
17
|
-
const response = await got(url, {
|
|
18
|
-
headers: {
|
|
19
|
-
'User-Agent': chromeMobileUserAgent,
|
|
20
|
-
},
|
|
21
|
-
});
|
|
22
|
-
const html = response.data;
|
|
23
|
-
const $ = cheerio.load(html);
|
|
24
|
-
const content = $('div.article-body.clearfix');
|
|
25
|
-
|
|
26
|
-
// Cover
|
|
27
|
-
const cover = $('.article-images > amp-carousel > .i-amphtml-slides-container >.i-amphtml-slide-item > amp-img > img');
|
|
48
|
+
const { data: response, url } = await got(item.link);
|
|
28
49
|
|
|
29
|
-
if (
|
|
30
|
-
|
|
31
|
-
|
|
50
|
+
if (new URL(url).hostname !== 'www.scmp.com') {
|
|
51
|
+
// e.g., https://multimedia.scmp.com/
|
|
52
|
+
return item;
|
|
32
53
|
}
|
|
33
54
|
|
|
34
|
-
|
|
35
|
-
const summary = $('div.article-header__subhead > ul');
|
|
36
|
-
|
|
37
|
-
// Metadata (categories & updatedAt)
|
|
38
|
-
const updatedAt = $('meta[itemprop="dateModified"]').attr('content');
|
|
39
|
-
const publishedAt = item.pubDate || $('meta[itemprop="datePublished"]').attr('content');
|
|
40
|
-
|
|
41
|
-
const categories = $('meta[name="keywords"]')
|
|
42
|
-
.attr('content')
|
|
43
|
-
.split(',')
|
|
44
|
-
.map((c) => c.trim());
|
|
55
|
+
const $ = cheerio.load(response);
|
|
45
56
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
const img = $(`<img width="${e.attribs.width}" height="${e.attribs.height}" src="${e.attribs.src}" alt="${e.attribs.alt}">`);
|
|
57
|
+
const nextData = JSON.parse($('script#__NEXT_DATA__').text());
|
|
58
|
+
const { article } = nextData.props.pageProps.payload.data;
|
|
49
59
|
|
|
50
|
-
|
|
51
|
-
$(img).insertBefore(e);
|
|
52
|
-
$(e).remove();
|
|
53
|
-
});
|
|
60
|
+
// item.nextData = article;
|
|
54
61
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
$(iframe).insertBefore(e);
|
|
60
|
-
$(e).remove();
|
|
61
|
-
}
|
|
62
|
-
});
|
|
62
|
+
item.summary = renderHTML(article.summary.json);
|
|
63
|
+
item.description = renderHTML(article.subHeadline.json) + renderHTML(article.images.find((i) => i.type === 'leading')) + renderHTML(article.body.json);
|
|
64
|
+
item.updated = parseDate(article.updatedDate, 'x');
|
|
65
|
+
item.category = [...new Set([...article.topics.map((t) => t.name), ...article.sections.flatMap((t) => t.value.map((v) => v.name)), ...article.keywords.map((k) => k?.split(', '))])];
|
|
63
66
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
$(e).remove();
|
|
68
|
-
});
|
|
67
|
+
// N.B. gallery in article is not rendered
|
|
68
|
+
// e.g., { type: 'div', attribs: { class: 'scmp-photo-gallery', 'data-gallery-nid': '3239409' }}
|
|
69
|
+
// from https://www.scmp.com/news/china/politics/article/3239355/li-keqiang-former-premier-china-dead
|
|
69
70
|
|
|
70
|
-
|
|
71
|
-
const unwanted_element_selectors = [
|
|
72
|
-
'[class*="-advert"]',
|
|
73
|
-
'.social-share',
|
|
74
|
-
'.article-body-after',
|
|
75
|
-
'scmp-chinaR2-early-text',
|
|
76
|
-
'.newsletter-widget-wrapper',
|
|
77
|
-
'[id*="-tracker"]',
|
|
78
|
-
'[class^="advert-"]',
|
|
79
|
-
'amp-list',
|
|
80
|
-
'.more-on-this',
|
|
81
|
-
];
|
|
82
|
-
unwanted_element_selectors.forEach((selector) => {
|
|
83
|
-
content.find(selector).each((i, e) => {
|
|
84
|
-
$(e).remove();
|
|
85
|
-
});
|
|
86
|
-
});
|
|
87
|
-
|
|
88
|
-
return {
|
|
89
|
-
title: item.title,
|
|
90
|
-
id: item.guid,
|
|
91
|
-
pubDate: parseDate(publishedAt),
|
|
92
|
-
updated: parseDate(updatedAt),
|
|
93
|
-
author: item.creator,
|
|
94
|
-
link: item.link,
|
|
95
|
-
summary: summary.html(),
|
|
96
|
-
description: content.html(),
|
|
97
|
-
category: categories,
|
|
98
|
-
icon: 'https://assets.i-scmp.com/static/img/icons/scmp-icon-256x256.png',
|
|
99
|
-
logo: 'https://customerservice.scmp.com/img/logo_scmp@2x.png',
|
|
100
|
-
};
|
|
71
|
+
return item;
|
|
101
72
|
})
|
|
102
73
|
)
|
|
103
74
|
);
|
|
104
75
|
|
|
76
|
+
ctx.state.json = {
|
|
77
|
+
items,
|
|
78
|
+
};
|
|
79
|
+
|
|
105
80
|
ctx.state.data = {
|
|
106
|
-
title:
|
|
107
|
-
link:
|
|
108
|
-
description:
|
|
81
|
+
title: $('channel > title').text(),
|
|
82
|
+
link: $('channel > link').text(),
|
|
83
|
+
description: $('channel > description').text(),
|
|
109
84
|
item: items,
|
|
110
85
|
language: 'en-hk',
|
|
111
86
|
icon: 'https://assets.i-scmp.com/static/img/icons/scmp-icon-256x256.png',
|
|
112
87
|
logo: 'https://customerservice.scmp.com/img/logo_scmp@2x.png',
|
|
88
|
+
image: $('channel > image > url').text(),
|
|
113
89
|
};
|
|
114
90
|
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
const renderHTML = (node) => {
|
|
2
|
+
if (!node) {
|
|
3
|
+
return '';
|
|
4
|
+
}
|
|
5
|
+
if (Array.isArray(node)) {
|
|
6
|
+
return node.map((n) => renderHTML(n)).join('');
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
switch (node.type) {
|
|
10
|
+
case 'a':
|
|
11
|
+
return `<a ${Object.keys(node.attribs)
|
|
12
|
+
.map((key) => `${key}="${node.attribs[key]}"`)
|
|
13
|
+
.join(' ')}>${renderHTML(node.children)}</a>`;
|
|
14
|
+
case 'div':
|
|
15
|
+
return `<div ${
|
|
16
|
+
node.attribs
|
|
17
|
+
? Object.keys(node.attribs)
|
|
18
|
+
.map((key) => `${key}="${node.attribs[key]}"`)
|
|
19
|
+
.join(' ')
|
|
20
|
+
: ''
|
|
21
|
+
}>${renderHTML(node.children)}</div>`;
|
|
22
|
+
case 'blockquote-quote':
|
|
23
|
+
return `<blockquote>${renderHTML(node.children)}</blockquote>`;
|
|
24
|
+
case 'iframe':
|
|
25
|
+
return `<iframe ${Object.keys(node.attribs)
|
|
26
|
+
.map((key) => `${key}="${node.attribs[key]}"`)
|
|
27
|
+
.join(' ')}></iframe>`;
|
|
28
|
+
case 'leading':
|
|
29
|
+
case 'img':
|
|
30
|
+
return `<figure><img ${
|
|
31
|
+
node.attribs
|
|
32
|
+
? Object.keys(node.attribs)
|
|
33
|
+
.map((key) => `${key}="${node.attribs[key]}"`)
|
|
34
|
+
.join(' ')
|
|
35
|
+
: `url="${node.url}"` // for leading
|
|
36
|
+
}><figcaption>${node.attribs?.title ?? node.title}</figcaption></figure>`;
|
|
37
|
+
case 'em':
|
|
38
|
+
case 'h3':
|
|
39
|
+
case 'li':
|
|
40
|
+
case 'ol':
|
|
41
|
+
case 'ul':
|
|
42
|
+
case 'p':
|
|
43
|
+
case 'strong':
|
|
44
|
+
case 'u':
|
|
45
|
+
return `<${node.type}>${renderHTML(node.children)}</${node.type}>`;
|
|
46
|
+
case 'text':
|
|
47
|
+
return node.data;
|
|
48
|
+
case 'script':
|
|
49
|
+
case 'inline-ad-slot':
|
|
50
|
+
case 'inline-widget':
|
|
51
|
+
case 'track-viewed-percentage':
|
|
52
|
+
return '';
|
|
53
|
+
default:
|
|
54
|
+
return `Unhandled type: ${node.type} ${JSON.stringify(node)}`;
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
module.exports = {
|
|
59
|
+
renderHTML,
|
|
60
|
+
};
|
package/lib/v2/scut/radar.js
CHANGED
|
@@ -22,6 +22,40 @@ module.exports = {
|
|
|
22
22
|
source: ['/ee/16285/list.htm'],
|
|
23
23
|
target: '/scut/seie/news_center',
|
|
24
24
|
},
|
|
25
|
+
{
|
|
26
|
+
title: '机械与汽车工程学院 - 通知公告',
|
|
27
|
+
docs: 'https://docs.rsshub.app/routes/university#hua-nan-li-gong-da-xue',
|
|
28
|
+
source: ['/smae/:category/list.htm'],
|
|
29
|
+
target: (params) => {
|
|
30
|
+
let tid;
|
|
31
|
+
switch (params.category) {
|
|
32
|
+
case '20616':
|
|
33
|
+
tid = 'gwxx';
|
|
34
|
+
break;
|
|
35
|
+
case '20617':
|
|
36
|
+
tid = 'djgz';
|
|
37
|
+
break;
|
|
38
|
+
case '20622':
|
|
39
|
+
tid = 'rsgz';
|
|
40
|
+
break;
|
|
41
|
+
case 'xsgz':
|
|
42
|
+
tid = 'xsgz';
|
|
43
|
+
break;
|
|
44
|
+
case '20618':
|
|
45
|
+
tid = 'kysys';
|
|
46
|
+
break;
|
|
47
|
+
case '20619':
|
|
48
|
+
tid = 'bksjw';
|
|
49
|
+
break;
|
|
50
|
+
case '20620':
|
|
51
|
+
tid = 'yjsjw';
|
|
52
|
+
break;
|
|
53
|
+
default:
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return `/scut/smae/${tid}`;
|
|
57
|
+
},
|
|
58
|
+
},
|
|
25
59
|
{
|
|
26
60
|
title: '研究生院通知公告',
|
|
27
61
|
docs: 'https://docs.rsshub.app/routes/university#hua-nan-li-gong-da-xue',
|
package/lib/v2/scut/router.js
CHANGED
|
@@ -4,5 +4,6 @@ module.exports = (router) => {
|
|
|
4
4
|
router.get('/jwc/school/:category?', require('./jwc/school'));
|
|
5
5
|
router.get('/scet/notice', require('./scet/notice'));
|
|
6
6
|
router.get('/seie/news_center', require('./seie/news_center'));
|
|
7
|
+
router.get('/smae/:category?', require('./smae/notice'));
|
|
7
8
|
router.get('/yjs', require('./yjs'));
|
|
8
9
|
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// 导入必要的模组
|
|
2
|
+
const got = require('@/utils/got');
|
|
3
|
+
const cheerio = require('cheerio');
|
|
4
|
+
const { parseDate } = require('@/utils/parse-date');
|
|
5
|
+
|
|
6
|
+
const categoryMap = {
|
|
7
|
+
gwxx: { title: '公务信息', tag: '20616' },
|
|
8
|
+
djgz: { title: '党建工作', tag: '20617' },
|
|
9
|
+
rsgz: { title: '人事工作', tag: '20622' },
|
|
10
|
+
xsgz: { title: '学生工作', tag: 'xsgz' },
|
|
11
|
+
kysys: { title: '科研实验室', tag: '20618' },
|
|
12
|
+
bksjw: { title: '本科生教务', tag: '20619' },
|
|
13
|
+
yjsjw: { title: '研究生教务', tag: '20620' },
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
module.exports = async (ctx) => {
|
|
17
|
+
const baseUrl = 'http://www2.scut.edu.cn';
|
|
18
|
+
|
|
19
|
+
const categoryName = ctx.params.category || 'yjsjw';
|
|
20
|
+
const categoryMeta = categoryMap[categoryName];
|
|
21
|
+
const url = `${baseUrl}/smae/${categoryMeta.tag}/list.htm`;
|
|
22
|
+
|
|
23
|
+
const { data: response } = await got(url);
|
|
24
|
+
const $ = cheerio.load(response);
|
|
25
|
+
const list = $('#wp_news_w6 ul li.news')
|
|
26
|
+
.toArray()
|
|
27
|
+
.map((item) => {
|
|
28
|
+
item = $(item);
|
|
29
|
+
const a = item.find('a');
|
|
30
|
+
const pubDate = item.find('span.news_meta');
|
|
31
|
+
return {
|
|
32
|
+
title: a.attr('title'),
|
|
33
|
+
link: `${baseUrl}${a.attr('href')}`,
|
|
34
|
+
pubDate: parseDate(pubDate.text()),
|
|
35
|
+
};
|
|
36
|
+
});
|
|
37
|
+
const items = await Promise.all(
|
|
38
|
+
list.map((item) =>
|
|
39
|
+
ctx.cache.tryGet(item.link, async () => {
|
|
40
|
+
const { data: response } = await got(item.link);
|
|
41
|
+
const $ = cheerio.load(response);
|
|
42
|
+
|
|
43
|
+
item.description = $('div.wp_articlecontent').html();
|
|
44
|
+
|
|
45
|
+
return item;
|
|
46
|
+
})
|
|
47
|
+
)
|
|
48
|
+
);
|
|
49
|
+
ctx.state.data = {
|
|
50
|
+
title: `华南理工大学机械与汽车工程学院 - ${categoryMeta.title}`,
|
|
51
|
+
link: url,
|
|
52
|
+
item: items,
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -1,34 +1,17 @@
|
|
|
1
1
|
const got = require('@/utils/got');
|
|
2
|
-
const
|
|
3
|
-
const { parseDate } = require('@/utils/parse-date');
|
|
4
|
-
|
|
5
|
-
const host = 'https://segmentfault.com';
|
|
2
|
+
const { host, acw_sc__v2, parseList, parseItems } = require('./utils');
|
|
6
3
|
|
|
7
4
|
module.exports = async (ctx) => {
|
|
8
|
-
const tag = ctx.params
|
|
9
|
-
const apiURL =
|
|
5
|
+
const { tag } = ctx.params;
|
|
6
|
+
const apiURL = `${host}/gateway/tag/${tag}/articles?loadMoreType=pagination&initData=true&page=1&sort=newest&pageSize=30`;
|
|
10
7
|
const response = await got(apiURL);
|
|
11
8
|
const data = response.data.rows;
|
|
12
9
|
|
|
13
|
-
const list = data
|
|
14
|
-
title: item.title,
|
|
15
|
-
link: new URL(item.url, host).href,
|
|
16
|
-
author: item.user.name,
|
|
17
|
-
}));
|
|
18
|
-
|
|
19
|
-
const items = await Promise.all(
|
|
20
|
-
list.map((item) =>
|
|
21
|
-
ctx.cache.tryGet(item.link, async () => {
|
|
22
|
-
const response = await got(item.link);
|
|
23
|
-
const content = cheerio.load(response.data);
|
|
10
|
+
const list = parseList(data);
|
|
24
11
|
|
|
25
|
-
|
|
26
|
-
item.pubDate = parseDate(content('time').attr('datetime'));
|
|
12
|
+
const acwScV2Cookie = await acw_sc__v2(list[0].link, ctx.cache.tryGet);
|
|
27
13
|
|
|
28
|
-
|
|
29
|
-
})
|
|
30
|
-
)
|
|
31
|
-
);
|
|
14
|
+
const items = await Promise.all(list.map((item) => parseItems(acwScV2Cookie, item, ctx.cache.tryGet)));
|
|
32
15
|
|
|
33
16
|
ctx.state.data = {
|
|
34
17
|
title: `segmentfault-Blogs-${tag}`,
|
|
@@ -1,45 +1,33 @@
|
|
|
1
1
|
const got = require('@/utils/got');
|
|
2
2
|
const cheerio = require('cheerio');
|
|
3
|
-
const {
|
|
4
|
-
|
|
5
|
-
const host = 'https://segmentfault.com';
|
|
3
|
+
const { host, acw_sc__v2, parseList, parseItems } = require('./utils');
|
|
6
4
|
|
|
7
5
|
module.exports = async (ctx) => {
|
|
8
|
-
const name = ctx.params
|
|
6
|
+
const { name } = ctx.params;
|
|
9
7
|
|
|
10
8
|
const link = `${host}/channel/${name}`;
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
const { data: pageResponse } = await got(link);
|
|
10
|
+
const { data: apiResponse } = await got(`${host}/gateway/articles`, {
|
|
11
|
+
searchParams: {
|
|
12
|
+
query: 'channel',
|
|
13
|
+
slug: name,
|
|
14
|
+
offset: 0,
|
|
15
|
+
size: ctx.query.limit ? parseInt(ctx.query.limit, 10) : 20,
|
|
16
|
+
mode: 'scrollLoad',
|
|
17
|
+
},
|
|
18
|
+
});
|
|
15
19
|
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
.map((_, item) => ({
|
|
19
|
-
link: new URL($(item).find('div.content > h3.h5 > a').attr('href'), host).href,
|
|
20
|
-
title: $(item).find('div.content > h3.h5 > a').text(),
|
|
21
|
-
author: $(item).find('span.name').text(),
|
|
22
|
-
}))
|
|
23
|
-
.get();
|
|
20
|
+
const $ = cheerio.load(pageResponse);
|
|
21
|
+
const channelName = $('#leftNav > a.active').text();
|
|
24
22
|
|
|
25
|
-
const
|
|
26
|
-
list.map((item) =>
|
|
27
|
-
ctx.cache.tryGet(item.link, async () => {
|
|
28
|
-
const detailResponse = await got(item.link);
|
|
29
|
-
const content = cheerio.load(detailResponse.data);
|
|
23
|
+
const list = parseList(apiResponse.rows);
|
|
30
24
|
|
|
31
|
-
|
|
32
|
-
.html()
|
|
33
|
-
.replace(/data-src="/g, `src="${host}`);
|
|
34
|
-
item.pubDate = parseDate(content('time').attr('datetime'));
|
|
25
|
+
const acwScV2Cookie = await acw_sc__v2(list[0].link, ctx.cache.tryGet);
|
|
35
26
|
|
|
36
|
-
|
|
37
|
-
})
|
|
38
|
-
)
|
|
39
|
-
);
|
|
27
|
+
const items = await Promise.all(list.map((item) => parseItems(acwScV2Cookie, item, ctx.cache.tryGet)));
|
|
40
28
|
|
|
41
29
|
ctx.state.data = {
|
|
42
|
-
title: `segmentfault - ${
|
|
30
|
+
title: `segmentfault - ${channelName}`,
|
|
43
31
|
link,
|
|
44
32
|
item: items,
|
|
45
33
|
};
|
|
@@ -1,45 +1,19 @@
|
|
|
1
1
|
const got = require('@/utils/got');
|
|
2
|
-
const
|
|
3
|
-
const { parseDate } = require('@/utils/parse-date');
|
|
4
|
-
const { acw_sc__v2 } = require('./utils');
|
|
5
|
-
const host = 'https://segmentfault.com';
|
|
2
|
+
const { host, acw_sc__v2, parseList, parseItems } = require('./utils');
|
|
6
3
|
|
|
7
4
|
module.exports = async (ctx) => {
|
|
8
|
-
const name = ctx.params
|
|
9
|
-
const apiURL =
|
|
5
|
+
const { name } = ctx.params;
|
|
6
|
+
const apiURL = `${host}/gateway/homepage/${name}/timeline?size=20&offset=`;
|
|
10
7
|
|
|
11
8
|
const response = await got(apiURL);
|
|
12
9
|
const data = response.data.rows;
|
|
13
10
|
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
title: item.title,
|
|
17
|
-
description: item.excerpt,
|
|
18
|
-
link: new URL(item.url, host).href,
|
|
19
|
-
author,
|
|
20
|
-
}));
|
|
11
|
+
const list = parseList(data);
|
|
12
|
+
const { author } = list[0];
|
|
21
13
|
|
|
22
14
|
const acwScV2Cookie = await acw_sc__v2(list[0].link, ctx.cache.tryGet);
|
|
23
15
|
|
|
24
|
-
const items = await Promise.all(
|
|
25
|
-
list.map((item) =>
|
|
26
|
-
ctx.cache.tryGet(item.link, async () => {
|
|
27
|
-
const response = await got(item.link, {
|
|
28
|
-
headers: {
|
|
29
|
-
cookie: `acw_sc__v2=${acwScV2Cookie};`,
|
|
30
|
-
},
|
|
31
|
-
});
|
|
32
|
-
const content = cheerio.load(response.data);
|
|
33
|
-
|
|
34
|
-
item.description = content('article')
|
|
35
|
-
.html()
|
|
36
|
-
.replace(/data-src="/g, `src="${host}`);
|
|
37
|
-
item.pubDate = parseDate(content('time').attr('datetime'));
|
|
38
|
-
|
|
39
|
-
return item;
|
|
40
|
-
})
|
|
41
|
-
)
|
|
42
|
-
);
|
|
16
|
+
const items = await Promise.all(list.map((item) => parseItems(acwScV2Cookie, item, ctx.cache.tryGet)));
|
|
43
17
|
|
|
44
18
|
ctx.state.data = {
|
|
45
19
|
title: `segmentfault - ${author}`,
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
const zlib = require('zlib');
|
|
2
2
|
const got = require('@/utils/got');
|
|
3
|
+
const cheerio = require('cheerio');
|
|
4
|
+
const { parseDate } = require('@/utils/parse-date');
|
|
3
5
|
const config = require('@/config').value;
|
|
4
6
|
const { getAcwScV2ByArg1 } = require('@/v2/5eplay/utils');
|
|
5
7
|
|
|
8
|
+
const host = 'https://segmentfault.com';
|
|
9
|
+
|
|
6
10
|
const acw_sc__v2 = (link, tryGet) =>
|
|
7
11
|
tryGet(
|
|
8
12
|
'segmentfault:acw_sc__v2',
|
|
@@ -29,6 +33,34 @@ const acw_sc__v2 = (link, tryGet) =>
|
|
|
29
33
|
false
|
|
30
34
|
);
|
|
31
35
|
|
|
36
|
+
const parseList = (data) =>
|
|
37
|
+
data.map((item) => ({
|
|
38
|
+
title: item.title,
|
|
39
|
+
link: new URL(item.url, host).href,
|
|
40
|
+
author: item.user.name,
|
|
41
|
+
pubDate: parseDate(item.created, 'X'),
|
|
42
|
+
}));
|
|
43
|
+
|
|
44
|
+
const parseItems = (cookie, item, tryGet) =>
|
|
45
|
+
tryGet(item.link, async () => {
|
|
46
|
+
const response = await got(item.link, {
|
|
47
|
+
headers: {
|
|
48
|
+
cookie: `acw_sc__v2=${cookie};`,
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
const content = cheerio.load(response.data);
|
|
52
|
+
|
|
53
|
+
item.description = content('article').html();
|
|
54
|
+
item.category = content('.badge-tag')
|
|
55
|
+
.toArray()
|
|
56
|
+
.map((item) => content(item).text());
|
|
57
|
+
|
|
58
|
+
return item;
|
|
59
|
+
});
|
|
60
|
+
|
|
32
61
|
module.exports = {
|
|
62
|
+
host,
|
|
33
63
|
acw_sc__v2,
|
|
64
|
+
parseList,
|
|
65
|
+
parseItems,
|
|
34
66
|
};
|