Files
RSSHub/lib/utils
Rongrong f3cf86cd72 fix(core/utils/wechat-mp): empty description when request blocked by WAF (#15294)
* fix(core/utils/wechat-mp): empty description when request blocked by WAF

Silently falling back to the fallback method would generate empty
description. Fixed by throwing an error when failed to extract
item_show_type from the page.

Some misc warnings are also added to make bug reporting easier.

Signed-off-by: Rongrong <i@rong.moe>

* fix(core/utils/wechat-mp): err msg for unknown page

Signed-off-by: Rongrong <i@rong.moe>

* test(core/utils/wechat-mp): fix coverage

Signed-off-by: Rongrong <i@rong.moe>

* fix(core/utils/wechat-mp): ESLint no-await-in-loop

Signed-off-by: Rongrong <i@rong.moe>

* fix(core/utils/wechat-mp): normalizeUrl: &amp; -> &

Signed-off-by: Rongrong <i@rong.moe>

* feat(core/utils/wechat-mp): do not prompt raising an issue when blocked
by WAF

Signed-off-by: Rongrong <i@rong.moe>

* feat(core/utils/wechat-mp): recognize deleted page

Signed-off-by: Rongrong <i@rong.moe>

* feat(core/utils/wechat-mp): log when error

Prevent errors from being completely suppressed if the caller catches
them.

Signed-off-by: Rongrong <i@rong.moe>

---------

Signed-off-by: Rongrong <i@rong.moe>
2024-04-22 02:19:33 +08:00
..
2024-02-26 17:05:33 +08:00
2024-03-31 02:28:26 +08:00
2024-03-03 18:57:07 +08:00
2024-03-23 02:03:55 +08:00
2024-03-03 18:57:07 +08:00
2024-04-04 20:28:45 +08:00
2024-04-04 20:28:45 +08:00
2024-03-03 18:57:07 +08:00
…
2024-04-01 21:00:32 +08:00
2024-03-30 18:29:38 +08:00
2024-02-25 01:42:39 +08:00
2024-03-24 21:20:18 +08:00
2024-03-30 18:29:38 +08:00
2024-02-25 01:48:56 +08:00
2024-03-27 16:18:37 +08:00
2024-02-25 00:24:49 +08:00
2024-04-04 20:28:45 +08:00
2024-02-25 02:10:10 +08:00
2024-03-03 18:57:07 +08:00
…