RSSHub/lib/utils
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
..
common-config.js refactor: rename axios to got 2019-06-03 18:03:05 +08:00
common-utils.js feat: add addNoReferrer in common-utils (#2571) 2019-07-08 11:45:02 +08:00
date.js test: date cases 2019-06-13 16:21:05 +08:00
got.js fix: got encoding 2019-06-15 10:24:06 +08:00
logger.js chore: module alias for all routes 2019-05-15 15:27:15 +08:00
md5.js optimize directory structure 2018-12-26 18:35:10 +08:00
puppeteer.js test: puppeteer auto close 2019-06-13 18:37:55 +08:00
rss-parser.js refactor: 重构 rss-parser 作为工具类 (#2280) 2019-06-02 12:45:52 +08:00
wait.js optimize directory structure 2018-12-26 18:35:10 +08:00