23 Commits
Author SHA1 Message Date
DIYgod 44c9853541 feat: replace require with import 7/n 2024-03-07 01:17:21 +08:00
Yufan You 130b11224e chore: remove @ts-nocheck (#14669) 2024-03-05 21:06:03 +08:00
DIYgod d93a301d97 feat: build-radar.ts 2024-03-04 01:52:04 +08:00
DIYgod 2c7d7f9205 feat: build-maintainer.ts 2024-03-04 01:38:38 +08:00
DIYgod 8065ededf5 feat: rename routes .js to .ts 2024-03-04 00:35:37 +08:00
DIYgod df57bb5d50 feat: esm standard for routes 2024-03-02 03:25:26 +08:00
DIYgod 6f57c02538 feat: rename routes dir - 2/2 2024-03-01 01:24:49 +08:00
Jinkin 1fe6abfb87 feat(route): 牛客网面经 (#9199)
* 增加牛客网面经,测试完成

* 修改描述
2022-02-26 21:35:39 +08:00
Jinkin b44b7aa92a fix(route): 修复牛客网讨论将简介提取到 title (#9189)
* fix:更改title提取规则

* fix: pubDate legacy url.resolve
2022-02-25 00:38:00 +08:00
Sukka d82847f541 style/chore(eslint): enforce new rules (#8040)
* style: prefer object shorthand syntax
* refactor: prefer Array#map over Array#forEach
* style: prefer arrow callback
* chore(eslint): update rules
* style: auto fix by eslint
2021-08-17 22:23:23 +08:00
Sukka 6e3b58ed1d refactor: avoid promise overhead (#8028) 2021-08-16 11:45:53 -07:00
Ethan Shen 838a990606 feat: add 牛客网求职广场 (#5100) 2020-07-02 12:25:13 +08:00
junfengP c6e2f891e2 feat: add 牛客网-求职推荐 (#5024) 2020-06-23 19:19:47 +08:00
notofoe 47922c6c2c fix: /nowcoder/discuss remove query part of url (#4950) 2020-06-10 11:45:40 +08:00
junfengP 62667568d0 feat: add route nowcoder/schedule (#4711) 2020-05-11 18:33:30 +08:00
DIYgod 0e7b14e718 chore(deps-dev): bump prettier from 1.19.1 to 2.0.2 2020-04-02 21:21:46 +08:00
junfengP 5dc2ad693a fix: error in nowcoder/discuss (#3884) 2020-02-04 20:48:35 +08:00
DIYgod a56c0b5a39 refactor: rename axios to got 2019-06-03 18:03:05 +08:00
DIYgod e2badbfa98 chore: module alias for all routes 2019-05-15 15:27:15 +08:00
DIYgod a0333fbd7e feat: use contentExpire 2019-05-09 01:23:29 +08:00
Carl Li 6775a28011 牛客网全文链接 移除随显示位置变化的param (#1702)
* 修改牛客网帖子内容(description)解析方案

* 牛客网全文链接 删除随位置变化的param

* fix pretty issue 3
2019-03-08 11:17:18 +08:00
Carl Li f810f9ae97 修改牛客网帖子内容(description)解析方案 (#1688)
目前抓取的description数据,包含赞数和收藏数等,且会不断更新。这个 PR 把这些变化的数字去掉。

原先每个帖子都有

```html
收藏(43)</a></li><li class="oprt-item-share"><a class="oprt-item oprt-share js-share-oprt-item" href="javascript:void(0);">分享</a><div class="tooltip top js-share-tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"><span class="q-share-to"><a href="javascript:void(0);" class="js-share-link share-wb" data-share="weibo"></a><a href="javascript:void(0);" class="js-share-link share-tx" data-share="qzone"></a><a href="javascript:void(0);" class="js-share-wx share-wx"></a></span></div></div></li><li><a href="javascript:void(0);" class="js-post-like nc-req-auth oprt-item oprt-like">赞(0)
```

全都去掉了。
2019-03-06 12:10:34 +08:00
Chenyang Shi 02e8d64b8b add 牛客网讨论区 (#1539) 2019-02-19 11:25:01 +08:00