{"id":15862231,"url":"https://github.com/afeiship/pptr-html","last_synced_at":"2026-04-17T13:32:13.301Z","repository":{"id":96088047,"uuid":"279817125","full_name":"afeiship/pptr-html","owner":"afeiship","description":"Get html by puppeteer.","archived":false,"fork":false,"pushed_at":"2021-08-30T02:33:20.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-26T08:30:39.778Z","etag":null,"topics":["crawl","html","pptr","puppeteer","spider"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-15T08:54:28.000Z","updated_at":"2021-08-30T02:33:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"0d09f45d-5288-454f-9804-97d545d7a75f","html_url":"https://github.com/afeiship/pptr-html","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"87d09830264c8f7ee5850ea6124de5d7c922f331"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/afeiship/pptr-html","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fpptr-html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fpptr-html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fpptr-html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fpptr-html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/pptr-html/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fpptr-html/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31931303,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T12:37:54.787Z","status":"ssl_error","status_checked_at":"2026-04-17T12:37:25.095Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["crawl","html","pptr","puppeteer","spider"],"created_at":"2024-10-05T22:25:43.392Z","updated_at":"2026-04-17T13:32:13.284Z","avatar_url":"https://github.com/afeiship.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pptr-html\n\u003e Get html by puppeteer.\n\n[![version][version-image]][version-url]\n[![license][license-image]][license-url]\n[![size][size-image]][size-url]\n[![download][download-image]][download-url]\n\n## installation\n```shell\nnpm install -S @jswork/pptr-html\n```\n\n## usage\n```js\nimport pptrHtml from '@jswork/pptr-html';\n\npptrHtml('https://github.com/afeiship').then(res =\u003e {\n  console.log(res);\n});\n```\n\n## options\n\u003e { headless: true, closeable: true, userAgent: nx.randomUa(), selector: null };\n\n## install puppeteer\n- https://gera2ld.space/posts/how-to-install-puppeteer/\n\n```shell\n# use taobao source\nPUPPETEER_DOWNLOAD_HOST=https://npm.taobao.org/mirrors npm i -D puppeteer\n\n# or skip download\nPUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true npm i puppeteer\n```\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/pptr-html/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/pptr-html\n[version-url]: https://npmjs.org/package/@jswork/pptr-html\n\n[license-image]: https://img.shields.io/npm/l/@jswork/pptr-html\n[license-url]: https://github.com/afeiship/pptr-html/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/pptr-html\n[size-url]: https://github.com/afeiship/pptr-html/blob/master/dist/pptr-html.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/pptr-html\n[download-url]: https://www.npmjs.com/package/@jswork/pptr-html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fpptr-html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fpptr-html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fpptr-html/lists"}