Commit Graph

6 Commits

Author SHA1 Message Date
Cloud
169a366a1e fix: remove cnbeta 6.18 ad (#4983) 2020-06-14 22:00:02 +08:00
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
cbcfc03207 fix: 使用官方rss源,避免因为文章置顶和取消置顶造成的文章重复 (#2383) 2019-06-13 11:38:30 +08:00
DIYgod
a56c0b5a39 refactor: rename axios to got 2019-06-03 18:03:05 +08:00
Cloud
4161826eff feat:添加cnBeta最新文章 (#2249) 2019-05-29 10:54:34 +08:00