deepl-scraper/package.json
jiaofangkai 6e9306fedf 🐛 Retry transient translation failures and verify language switching (fixes #2)
Random failures in the issue report were transient UI automation races:

* wait for the source textarea to be visible before typing
* verify the language panel really switched and re-open it when a click is ignored
* retry once on a fresh page for transient selector/timeout errors
* fail fast with LANGUAGE_SWITCH_FAILED / TRANSLATION_RESULT_UNAVAILABLE
2026-10-20 14:52:41 +00:00

34 lines
756 B
JSON

{
"name": "deepl-scraper",
"version": "1.0.12",
"description": "Scrape data from DeepL translator without applying for the paid authenticated API",
"keywords": [
"deepl",
"deepl.com",
"translator",
"scraper",
"api"
],
"homepage": "https://git.kaki87.net/KaKi87/deepl-scraper",
"license": "WTFPL",
"author": {
"name": "KaKi87",
"email": "tiana.lemesle@live.fr",
"url": "kaki87.net"
},
"main": "index.js",
"repository": {
"type": "git",
"url": "https://git.kaki87.net/KaKi87/deepl-scraper.git"
},
"dependencies": {
"axios": "^0.19.2",
"puppeteer": "^1.15.0"
},
"devDependencies": {
"consola": "^2.15.0"
},
"scripts": {
"test": "env CONSOLA_LEVEL=4 node test.js"
}
}