{"id":25693593,"url":"https://github.com/chen86860/captcharecon","last_synced_at":"2025-04-24T06:29:30.151Z","repository":{"id":57194226,"uuid":"135408178","full_name":"chen86860/CaptchaRecon","owner":"chen86860","description":"Base on Lianzhong CAPTCHA Recognition online Lianzhong using Node.js to break CAPTCHA.","archived":false,"fork":false,"pushed_at":"2020-03-02T14:08:29.000Z","size":32,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T07:03:18.012Z","etag":null,"topics":["captcha","captcha-recognition","nodejs","recognition"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/captcha-rec","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chen86860.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-30T07:54:21.000Z","updated_at":"2022-02-26T22:16:48.000Z","dependencies_parsed_at":"2022-09-01T00:52:34.170Z","dependency_job_id":null,"html_url":"https://github.com/chen86860/CaptchaRecon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen86860%2FCaptchaRecon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen86860%2FCaptchaRecon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen86860%2FCaptchaRecon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen86860%2FCaptchaRecon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chen86860","download_url":"https://codeload.github.com/chen86860/CaptchaRecon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250576974,"owners_count":21453040,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["captcha","captcha-recognition","nodejs","recognition"],"created_at":"2025-02-24T23:39:51.622Z","updated_at":"2025-04-24T06:29:30.128Z","avatar_url":"https://github.com/chen86860.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CAPTCHA Recognition using Node.js\n\n\u003e Base on Lianzhong CAPTCHA Recognition online [Lianzhong](https://www.jsdati.com/) using Node.js to break CAPTCHA.\n\n## Requirements\n\nThis module requires a minimum of Node v6.9.0\n\n## Getting Started\nTo begin, you'll need to install `captcha-rec`:\n``` bash\nnpm i captcha-rec \n// or yarn add captcha-rec\n```\nusing in Node.js\n``` javascript\nconst Captcha = require('captcha-rec')\nconst captcha = new Captcha({\n  username: '',    // Lianzhong username, see below [Options](## Options)\n  password: '',    // Lianzhong password, see below\n  type: ''         // CAPTCHA type, see below\n}) \n\n// 1.using local file\nconst fs = require('fs')\ncaptcha.recon(fs.createReadStream('test.png')).then(result =\u003e {\n  console.log('recon result', result.value)\n  // report ID result.reportId\n}).catch(err =\u003e {\n  console.error('err', err)\n})\n\n// 2. using remote images\ncaptcha.recon('https://example.com/test.png').then(result =\u003e {\n  console.log('recon result', result.value)\n  // report ID result.reportId\n}).catch(err =\u003e {\n  console.error('err', err)\n})\n```\n\n## Options\n\n- `username` Lianzhong username, you should register on the websites [Lianzhong](https://www.jsdati.com/)\n- `password`  Lianzhong password, you should register on the websites [Lianzhong](https://www.jsdati.com/)\n- `type`   CAPTCHA type, see [Type and Price](https://www.jsdati.com/docs/price)\n\n## API\n\n- captcha.recon(imgSrc, type)\n  - `imgSrc` image src or image eadStream\n  - `type`   CAPTCHA type\n  - return `\u003cPromise\u003e`\n\nThe main method to recognition the CAPTCHA.\n\n- captcha.report(reportId)\n  - `reportId` CAPTCHA reportId\n  - return `\u003cPromise\u003e`\n\nIf the recognition result no correct, you can report the result to the Lianzhong, help them to correction the result.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchen86860%2Fcaptcharecon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchen86860%2Fcaptcharecon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchen86860%2Fcaptcharecon/lists"}