RSSHub/lib/utils
Rongrong a79cc20ec1
feat(utils): add utils for WeChat MP (#9487)
Motivation:
There are multiple routes that need to fetch articles from WeChat MP.
However, letting them fetch articles by themselves could potentially
lead to cache key collisions. Even if cache key collisions do not occur,
un-normalized URL could potentially lead to duplicated requests.
What's more, articles from WeChat MP have weird formats and need to be
fixed. Creating a universal function to do this work can create some
ease for new route contributors.

Note:
In order to make this PR atomic as much as possible, I did not touch
those broken routes. Once this PR is merged, I will try to fix them.

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-07 21:46:15 +08:00
..
common-config.js
common-utils.js fix(core): offending RFC4287 (#9441) 2022-04-02 17:44:45 +08:00
date.js Revert #5271 2020-07-29 17:25:41 +01:00
dateParser.js style(eslint): add no-implicit-coercion rule (#8175) 2021-09-15 21:22:11 +08:00
got.js fix(core): make sure timeout error messages include URLs (#7981) 2021-08-12 01:27:07 -07:00
logger.js style/chore(eslint): enforce new rules (#8040) 2021-08-17 22:23:23 +08:00
md5.js chore(deps-dev): bump prettier from 1.19.1 to 2.0.2 2020-04-02 21:21:46 +08:00
parse-date.js fix(utils): parseDate custom format not working 2022-03-28 22:25:40 +08:00
puppeteer.js fix: typo in puppeteer options 2022-03-06 23:42:32 +08:00
readable-social.js feat: more readable twitter tweet (#6051) 2020-10-30 09:09:10 +00:00
render.js feat(core): first attempt to init script standard (#8224) 2021-09-22 05:41:00 -07:00
request-wrapper.js perf: lazy require dependencies (#8025) 2021-08-20 14:05:57 +08:00
rss-parser.js
timezone.js style: auto format 2021-05-08 21:49:05 +00:00
torrent.js fix(core): torrent searching error (#9407) 2022-03-29 21:12:16 +08:00
wait.js
wechat-mp.js feat(utils): add utils for WeChat MP (#9487) 2022-04-07 21:46:15 +08:00