Commit Graph
13 Commits
Author SHA1 Message Date
Jiaqi Li 6efdff8b76 feat: add oschina topic (#2570)
* feat: add oschina topic

* remove ua

* format
2019-07-10 14:14:22 +08:00
Henry Wang d09affa703 feat: add addNoReferrer in common-utils (#2571)
* fix: no-referrer tag

* chore: merge qdaily routes

* feat: add addNoReferrer in common-utils

This adds no-referrer attribute to images.
Parameters:

- add no-referrer attribute to images
- $: cheerio selector
- source: source selector, string
- target: target attribute name, typically for lazyload imgs, string
- srcPrefix: prefix for src, string
- removeAttr: attributes to remove, array: ['attrA','attrB']

* test: add test case

* doc: update
2019-07-08 11:45:02 +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
zengxs 4e5f50fe56 feat: OSChina 新闻抓取的时候解析时间字符串 (#2062) 2019-05-07 12:08:51 +08:00
zengxs da8fbb6744 修复 OSChina 可能采集到相对链接的问题 (#1986) 2019-04-25 14:33:53 +08:00
zengxs a1ea616ee9 更新 OSChina (#1978)
* 支持 OSChina 按板块订阅
* 修复了订阅中出现 undefined 条目的问题
2019-04-24 16:17:38 +08:00
dxmpalb a55406df34 add: OSChina blog (#1807)
增加开源中国用户博客订阅,增加开源中国新闻rss的作者元素,便于参数过滤。
2019-03-22 23:46:57 +08:00
Henry Wang e72f82e983 chore: 部分代码优化 (#1674) 2019-03-04 19:26:09 +08:00
tgly307 5b92a6fb47 改进开源中国路由 (#1395) 2019-01-14 14:53:42 +08:00
tgly307 0e9a5de669 修复知乎专栏和开源中国 (#1321)
怎么还顺便改了一些其他路由的格式……eslint抽了?
2018-12-31 00:58:37 +08:00
DIYgod 38a90e29b0 optimize directory structure 2018-12-26 18:35:10 +08:00