Commit Graph

9 Commits

Author SHA1 Message Date
DIYgod
50535a937a refactor: remove await before cache.set 2019-09-20 15:58:30 +08:00
Cloud
81f17967b6 fix: d2 daily can't get fulltext (#3056) 2019-09-12 17:42:50 +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
WenryXu
a79d5d3eee fix: d2/daily pubDate and title, close #1615 (#1617)
close #1615
2019-02-25 11:48:23 +08:00
周长安
7c0d60478f Fix d2 daily, fixed #1570 (#1576) 2019-02-19 12:06:43 +08:00
周长安
196220868d 🐛 Fix #1499 (#1503) 2019-01-31 11:46:05 +08:00
周长安
698c7bdaa5 Adding RSS:日报 | D2 资源库 (#1494)
添加对 [D2 资源库日报](https://awesome.fairyever.com/daily/) 的支持。

**注意**:
引入了一个新的依赖:[sanitize-html](https://www.npmjs.com/package/sanitize-html)
用于去除 HTML 中不需要的内容

```javascript
description = sanitizeHtml(description, {
    allowedTags: ['section', 'h2', 'ul', 'li', 'p', 'span', 'a'],
});
```
2019-01-31 10:58:20 +08:00