A timeout error occurs. #7
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: KaKi87/deepl-scraper#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
user@DESKTOP:/tmp$ git clone https://git.kaki87.net/KaKi87/deepl-scraper
Cloning into 'deepl-scraper'...
remote: Enumerating objects: 255, done.
remote: Counting objects: 100% (255/255), done.
remote: Compressing objects: 100% (254/254), done.
remote: Total 255 (delta 145), reused 0 (delta 0)
Receiving objects: 100% (255/255), 54.55 KiB | 193.00 KiB/s, done.
Resolving deltas: 100% (145/145), done.
user@DESKTOP:/tmp$ cd deepl-scraper/
user@DESKTOP:/tmp/deepl-scraper$ npm i
npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
added 46 packages, and audited 47 packages in 13s
6 vulnerabilities (3 low, 1 moderate, 2 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run
npm auditfor details.user@DESKTOP:/tmp/deepl-scraper$touch test_use.js
user@DESKTOP:/tmp/deepl-scraper$ node test_use.js
node:internal/process/promises:246
triggerUncaughtException(err, true /* fromPromise */);
^
TimeoutError: waiting for selector ".lmt__language_select_multicolumn_menu--source" failed: timeout 30000ms exceeded
at new WaitTask (/tmp/deepl-scraper/node_modules/puppeteer/lib/DOMWorld.js:561:28)
at DOMWorld._waitForSelectorOrXPath (/tmp/deepl-scraper/node_modules/puppeteer/lib/DOMWorld.js:490:22)
at DOMWorld.waitForSelector (/tmp/deepl-scraper/node_modules/puppeteer/lib/DOMWorld.js:444:17)
at Frame.waitForSelector (/tmp/deepl-scraper/node_modules/puppeteer/lib/FrameManager.js:628:47)
at Frame. (/tmp/deepl-scraper/node_modules/puppeteer/lib/helper.js:111:23)
at Page.waitForSelector (/tmp/deepl-scraper/node_modules/puppeteer/lib/Page.js:1046:29)
at translate (/tmp/deepl-scraper/index.js:36:14)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Fixed by
2eae081.