{"id":26926628,"url":"https://github.com/skyfi/spiderman","last_synced_at":"2026-02-06T07:01:21.421Z","repository":{"id":57368990,"uuid":"130711160","full_name":"skyFi/spiderman","owner":"skyFi","description":"super online web spider","archived":false,"fork":false,"pushed_at":"2018-04-23T16:16:45.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-24T10:19:43.195Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skyFi.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-04-23T14:38:53.000Z","updated_at":"2018-12-28T15:51:48.000Z","dependencies_parsed_at":"2022-09-15T16:12:03.023Z","dependency_job_id":null,"html_url":"https://github.com/skyFi/spiderman","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/skyFi%2Fspiderman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyFi%2Fspiderman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyFi%2Fspiderman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyFi%2Fspiderman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skyFi","download_url":"https://codeload.github.com/skyFi/spiderman/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246752368,"owners_count":20827983,"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":[],"created_at":"2025-04-02T03:34:45.227Z","updated_at":"2026-02-06T07:01:21.294Z","avatar_url":"https://github.com/skyFi.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spiderman\n\n## 『便捷式』网站点击使用（online）\n\n直接通过网页编辑信息享受爬虫服务：\n\n### 一、新建任务\n\n1. 指定页面\n2. 当前页面的 xpath\n3. 结果接收地址（邮箱或者是服务器地址，QQ？）\n\n### 二、执行任务\n\n1. 当前任务状态\n2. 计划任务执行时间、频率等\n3. 开始/结束执行\n\n\n## 直接使用（super）\n\n\u003e PS：在线直接使用，适用于不需要登录验证的页面，而需要登录验证的页面则需要通过调用SDK脚本来爬取。\n\n```javascript\nRoute: GET /o\nQuery: {   \n  // 页面配置\n  url: 'http://xxx.com/xxx',\n  xpath: '//p',\n}\n```\n\n## 接入SDK（script）\n\n```javascript\nconst Ssman = require('ssman');\n\nconst authorized = new Ssman({\n  // 注册服务，在你的账号里面可以找到，完全免费。任意使用，只要你不作恶。\n  appKey: '',\n  appSecret: '',\n  \n  // 基础配置\n  base: 'https://xxx.com', // 可选。当这个值设置值的时候，后续所有 API 的 url 链接都会自动加上\n\n  // 需要登录的情况下填写以下参数，不需要登录则不必填写\n  loginUrl: 'http://xxx.com/xxx',\n  account: 'kiruya',\n  accountXpath: `//input[@class='account']`,\n  password: '123456',\n  passwordXpath: `//input[@class='password']`,\n  submitXpath: `//button[@type='submit']`\n});\n// 待爬取的页面配置\nconst options = {\n  // 必选\n  xpath: '//p',\n\n  // 可选。附带参数\n  header: {\n    key: 'value',\n    // headers...\n  },\n  cookie: {\n    key: 'value',\n    // cookies...\n  },\n\n  // 可选。如果有翻页，则填写：\n  pageCurrent: 1, // 当前页数\n  pageUrl: 'http://xxx.com/info/{page}', // {page} 为页面翻页参数，自动替换\n  pageTotal: 20 // 总页数，一次性页数过大的时候，接口返回耗时可能会很长，请自行优化处理。\n}\nconst getResults = await authorized.get('url', options);\nconst postResults = await authorized.post('url', options);\n```\n\n## 名字来源（origin）\n\n电影《蜘蛛侠》，希望他也能像蜘蛛侠拯救人于为难之中一样，能在现在互联网这张大网上精确且快速的『救』出你需要的『信息』。\n```javascript\nssman =\u003e Super Spiderman\n```\n\n## 技术交流\n\nQQ群：225068889\n\n## 免责申明\n\n该项目的所有功能均用于技术交流，一旦不正当使用造成法律纠纷，该项目的使用者将永久失去该项目的使用权，项目不承担任何责任，且可能会对不正当使用者进行合法的维权申述，请使用者注意，项目中不再详细说明。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyfi%2Fspiderman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyfi%2Fspiderman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyfi%2Fspiderman/lists"}