Commit Graph
4 Commits
Author SHA1 Message Date
DIYgod a34b9ae542 feat: remove addNoReferrer 2019-08-28 14:33:05 +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
Cloud 60c2bb530d fix: #1338 and #2384 and #2244 (#2394)
* fix: kkj在某些阅读器中不显示图片

* fix #2384

维基百科的数据更全一点,但是有单元格合并,不好处理  还是去抓官网的表格

* fix #2244
2019-06-13 15:29:52 +08:00
Cloud cbcfc03207 fix: 使用官方rss源,避免因为文章置顶和取消置顶造成的文章重复 (#2383) 2019-06-13 11:38:30 +08:00