mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-04-21 05:10:03 +08:00
docs: mention about issues caused by upstream
This commit is contained in:
parent
b9ad4facf5
commit
dd76cf3866
@ -487,6 +487,8 @@ class PageReqCtrlKit {
|
||||
deferred?.resolve();
|
||||
const now = Date.now();
|
||||
this.lastResourceLoadedAt = now;
|
||||
// Beware req being undefined
|
||||
// https://pptr.dev/api/puppeteer.pageevent#:~:text=For%20certain%20requests%2C%20might%20contain%20undefined.
|
||||
const typ = req?.resourceType();
|
||||
if (!typ) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user