diff --git a/lib/v2/reuters/common.js b/lib/v2/reuters/common.js
index 2d4e1bf82d09ba..1b733920b1d668 100644
--- a/lib/v2/reuters/common.js
+++ b/lib/v2/reuters/common.js
@@ -72,7 +72,7 @@ module.exports = async (ctx) => {
items = items.filter((e, i) => items.findIndex((f) => e.guid === f.guid) === i);
- items = await Promise.all(
+ const results = await Promise.allSettled(
items.map((item) =>
ctx.cache.tryGet(item.link, async () => {
const detailResponse = await got(item.link);
@@ -124,6 +124,7 @@ module.exports = async (ctx) => {
})
)
);
+ items = results.filter((r) => r.status === 'fulfilled').map((r) => r.value);
ctx.state.data = {
title,
diff --git a/lib/v2/reuters/maintainer.js b/lib/v2/reuters/maintainer.js
index 3e66dfaba5cc86..91b65111de8e89 100644
--- a/lib/v2/reuters/maintainer.js
+++ b/lib/v2/reuters/maintainer.js
@@ -1,6 +1,4 @@
module.exports = {
'/investigates': ['LyleLee'],
- '/reuters/channel/:site/:channel': ['LyleLee'], // deprecated
- '/reuters/theWire': ['LyleLee'], // deprecated
'/:category/:topic?': ['LyleLee', 'HenryQW', 'proletarius101', 'black-desk', 'nczitzk'],
};
diff --git a/lib/v2/reuters/migration_prompt.js b/lib/v2/reuters/migration_prompt.js
deleted file mode 100644
index f0051806bbdc83..00000000000000
--- a/lib/v2/reuters/migration_prompt.js
+++ /dev/null
@@ -1,3 +0,0 @@
-module.exports = () => {
- throw Error('The route has been deprecated. Please refer to the docs for more details.');
-};
diff --git a/lib/v2/reuters/router.js b/lib/v2/reuters/router.js
index e6968701dc31c4..36ad6828346196 100644
--- a/lib/v2/reuters/router.js
+++ b/lib/v2/reuters/router.js
@@ -1,6 +1,4 @@
module.exports = (router) => {
- router.get('/channel/:site/:channel', require('./migration_prompt')); // deprecated
- router.get('/theWire', require('./migration_prompt')); // deprecated
router.get('/investigates', require('./investigates'));
router.get('/:category/:topic?', require('./common'));
};
diff --git a/website/docs/routes/traditional-media.mdx b/website/docs/routes/traditional-media.mdx
index fdf69f7e91cd7d..8b6cbf7502fc4f 100644
--- a/website/docs/routes/traditional-media.mdx
+++ b/website/docs/routes/traditional-media.mdx
@@ -511,15 +511,12 @@ Parameters can be obtained from the official website, for instance:
## Reuters 路透社 {#reuters-lu-tou-she}
-:::warning Migration notes
+:::tip
-1. Reuters Chinese site (`cn.reuters.com`) and British site (`uk.reuters.com`) have been terminated, redirecting to the main site (`www.reuters.com`)
-2. The old routes are deprecated. Please migrate to the new routes documented below
+You can use `sophi=true` query parameter to invoke the **experimental** method, which can, if possible, fetch more articles(between 20 and 100) with `limit` given. But some articles from the old method might not be available.
:::
-You can use `sophi=true` query parameter to invoke the **experimental** method, which can, if possible, fetch more articles(between 20 and 100) with `limit` given. But some articles from the old method might not be available.
-
### Category/Topic/Author {#reuters-lu-tou-she-category-topic-author}