RSSHub/test/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 The cherrio config route (#1699) 2019-03-11 10:47:09 +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 test: got axios options 2019-06-14 17:51:03 +08:00
md5.js test: clear up 2019-01-24 15:03:34 +08:00
puppeteer.js test: puppeteer auto close 2019-06-13 18:37:55 +08:00
wait.js test: clear up 2019-01-24 15:03:34 +08:00