Commit Graph
6265 Commits
Author SHA1 Message Date
DIYgod a4760ad9dd remove useless code 2019-02-01 18:25:24 +08:00
DIYgod b102ad2d07 test: route cache in middleware/cache 2019-02-01 17:52:29 +08:00
Howel ad2e87d3a9 增加摩根大通研究所 (#1513)
* feat: support jpmorganchase

* fix: add host to link
2019-02-01 15:46:41 +08:00
我愿人长久 aa33cb1a81 add 「美拍用户动态」 (#1510)
用户动态 By @ihewro
举例: https://rsshub.app/meipai/user/56537299

路由: /meipai/user/:id

参数:
id, 必选 - 用户 id, 可在 分享出去获得的用户主页 URL 中找到
2019-02-01 15:37:06 +08:00
DIYgod c08d4481f0 lib: remove useless file 2019-01-31 17:30:30 +08:00
幻葬咲夜 d0d3b69d27 add indienova (#1509) 2019-01-31 17:21:59 +08:00
DIYgod ab2028ffa2 lib: merge lur-cache and redis-cache module 2019-01-31 17:19:36 +08:00
DIYgod 8e75f8184a Merge commit 'ec5fa9ffcf4827ce5580299bc1ff61d870ae5386' 2019-01-31 15:32:48 +08:00
DIYgod 9afa5049d0 test: middleware/header 2019-01-31 15:12:54 +08:00
Tsuki d202869bfa add: ebb.io (#1464) 2019-01-31 14:47:21 +08:00
DIYgod cc7d8ed4a1 remove sentry 2019-01-31 12:04:20 +08:00
DIYgod 3baf2e2b86 fix types 2019-01-31 11:57:57 +08:00
周长安 196220868d 🐛 Fix #1499 (#1503) 2019-01-31 11:46:05 +08:00
DIYgod 0a62389eaa test: middleware/template 2019-01-31 11:45:00 +08:00
Chenyang Shi 5daa65673b add Animen 动漫平台 (#1497)
closes #664
2019-01-31 11:13:48 +08:00
Henry Wang 70e13884da Fix #1499 (#1502)
close #1499
2019-01-31 11:12:22 +08:00
Henry Wang aee658b121 Update warning message (#1501) 2019-01-31 11:01:46 +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
Henry ec5fa9ffcf Fix node-redis warning
node_redis: Deprecated: The SETEX command contains a argument of type Promise.
This is converted to "[object Promise]" by using .toString() now and will return an error from v.3.0 on.
Please handle this in your code to make sure everything works as you intended it to.
2019-01-30 21:06:07 +00:00
Henry af00264e92 Update caching solution 2019-01-30 10:12:22 +00:00
Henry 47778c187d Merge remote-tracking branch 'DIYgod/master' into dev 2019-01-30 09:31:03 +00:00
周长安 41ac7ebbc2 ⚡ 增强 ReadHub (#1492)
对 ReadHub 下的不同分类做特定的处理:
1. [科技动态](https://readhub.cn/news)、[https://readhub.cn/tech](开发者咨询) 和 [区块链快讯](https://readhub.cn/blockchain):这三个分类没有细分内容,直接显示概要。 Reeder 下表现:

![image](https://user-images.githubusercontent.com/21376471/51958951-56fe3600-248d-11e9-9ec7-86a5e312ed7e.png)

2. [热门话题](https://readhub.cn/topics) 和 [每日早报](https://readhub.cn/daily) 显示包括媒体报道、相关事件、事件追踪、原文链接在内的细分内容。Reeder 下表现如下:

![image](https://user-images.githubusercontent.com/21376471/51959007-8a40c500-248d-11e9-8114-612f11e913f1.png)
2019-01-30 14:51:45 +08:00
CoderTonyChan a582bd942c fix bug:javbus (#1488)
fix bug:去掉多余参数 而且存在部分网页正则匹配不上导致数组越界
2019-01-30 11:52:08 +08:00
周长安 5bdbd2d762 ✨ 即刻:对两个新闻主题做特殊处理 (#1489)
修改即刻 Feed,对两个新闻主题 [一觉醒来世界发生了什么](https://web.okjike.com/topic/553870e8e4b0cafb0a1bef68/official) 和 [今天网上都在热议什么](https://web.okjike.com/topic/55963702e4b0d84d2c30ce6f/official) 进行特殊处理:
- 标题改为 `${主题名称} ${日期}` 如 `一觉醒来世界发生了什么 01月30日`
- 为每个新闻添加源文链接

Reader 中效果如下:
![image](https://user-images.githubusercontent.com/21376471/51955323-76419700-247e-11e9-901c-58a3fe2e4ec4.png)

![image](https://user-images.githubusercontent.com/21376471/51955331-7a6db480-247e-11e9-9083-8148f1f41d3d.png)
2019-01-30 11:16:28 +08:00
Henry Wang 21a7bf375c 增加虎嗅网用户文章 (#1462)
以及时区 timezone util 类
2019-01-29 19:16:36 +08:00
DIYgod d2fafd71db test: middleware/error 2019-01-29 19:15:06 +08:00
DIYgod 8cec57eaec test: middleware/parameter 2019-01-29 18:54:30 +08:00
DIYgod 42ed46532b test: middleware/debug 2019-01-29 18:22:59 +08:00
CoderTonyChan e90f940ada Javbus Enhancement (#1482)
close #1475

本地测试没啥问题
![test1](https://user-images.githubusercontent.com/16996753/51881496-59da2780-23b6-11e9-9401-714ed476414a.png)
![test2](https://user-images.githubusercontent.com/16996753/51881502-5d6dae80-23b6-11e9-90e0-17575a10b772.png)
2019-01-29 17:24:32 +08:00
DIYgod 6ef8957e8f test: remove useless code 2019-01-29 17:15:02 +08:00
qixingchen ba424e30a8 add bilibili video danmaku (#1478) 2019-01-29 16:49:14 +08:00
Chenyang Shi 9f91279296 add doulist (#1484)
closes #1294
2019-01-29 15:42:42 +08:00
Chenyang Shi 795120f453 add 新浪科技探索 (#1483) 2019-01-29 15:41:42 +08:00
Henry 0bfa79e762 Update tryGet() and use default parameters 2019-01-28 21:21:22 +00:00
Henry 4227c30d77 Update docs and example 2019-01-28 21:18:31 +00:00
Henry 3b97b5fcb4 Implement persistent cache 2019-01-28 21:17:18 +00:00
Henry 23d2039a73 Merge remote-tracking branch 'DIYgod/master' into dev 2019-01-28 20:17:00 +00:00
imlonghao dc9e52b7c9 Fix pubDate format and close #1476 (#1477) 2019-01-28 18:25:11 +08:00
Henry Wang bf0ecf0ae9 增加微信公众号 wemp.app 路径 (#1469) 2019-01-28 18:13:16 +08:00
Henry Wang a5c371cbd3 移除好奇心日报 (#1465)
请使用官方全文源:https://www.qdaily.com/feed.xml
2019-01-28 18:11:05 +08:00
Henry Wang 4942e77f44 Add post type detection for #1431 (#1461)
Fix #1431
2019-01-28 17:48:03 +08:00
monnerHenster 79d449b5f1 增加人生05的电影下载网站 (#1459) 2019-01-28 17:47:20 +08:00
Chenyang Shi 5c2813e43e add 惠誉评级板块 (#1457) 2019-01-28 17:47:06 +08:00
Chenyang Shi 66cdae860a Mpaypass (#1456)
close #1454
2019-01-28 17:38:51 +08:00
Henry 7b4e1613be Fix redis ttl error 2019-01-25 18:46:55 +00:00
Henry 3dce787c47 Add refresh for redis cache 2019-01-24 22:50:32 +00:00
Henry 313fd8ef76 Add updateAgeOnGet to lru-cache 2019-01-24 22:05:36 +00:00
DIYgod 36eae92311 test: blacklist in middleware/access-control 2019-01-24 16:02:47 +08:00
SettingDust 871786aa69 添加最新政策全文输出 (#1449) 2019-01-24 11:33:39 +08:00
DIYgod c1a5b0c48a app: remove config.connect.disabled 2019-01-24 11:32:10 +08:00