fix(route/BBC): 403 Forbidden Edge 5 (#16048)
* fix(route/BBC): 403 Forbidden Edge 5 * Revert "fix(route/BBC): 403 Forbidden Edge 5" This reverts commit 2ebb8b9abcf52be5e9bbeac9166b18346400d467. * https://github.com/nodejs/undici/discussions/3400#discussioncomment-10020438
This commit is contained in:
@@ -66,7 +66,9 @@ async function handler(ctx) {
|
||||
linkURL.hostname = 'www.bbc.co.uk';
|
||||
}
|
||||
|
||||
const response = await ofetch(linkURL.href);
|
||||
const response = await ofetch(linkURL.href, {
|
||||
retryStatusCodes: [403],
|
||||
});
|
||||
|
||||
const $ = load(response);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user