{"id":18385612,"url":"https://github.com/mccranky83/aistudy-docs-crawler","last_synced_at":"2025-04-07T00:32:06.580Z","repository":{"id":249831972,"uuid":"832681415","full_name":"Mccranky83/aistudy-docs-crawler","owner":"Mccranky83","description":"上海市中小学数字教学系统爬虫","archived":true,"fork":false,"pushed_at":"2024-10-23T12:57:49.000Z","size":1219,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T00:23:10.282Z","etag":null,"topics":["crawler","hoarding","puppeteer"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mccranky83.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-07-23T14:04:36.000Z","updated_at":"2024-10-23T12:59:51.000Z","dependencies_parsed_at":"2024-08-14T17:14:03.814Z","dependency_job_id":null,"html_url":"https://github.com/Mccranky83/aistudy-docs-crawler","commit_stats":null,"previous_names":["mccranky83/aistudy-docs-crawler"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mccranky83%2Faistudy-docs-crawler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mccranky83%2Faistudy-docs-crawler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mccranky83%2Faistudy-docs-crawler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mccranky83%2Faistudy-docs-crawler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mccranky83","download_url":"https://codeload.github.com/Mccranky83/aistudy-docs-crawler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247574088,"owners_count":20960495,"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":["crawler","hoarding","puppeteer"],"created_at":"2024-11-06T01:18:23.585Z","updated_at":"2025-04-07T00:32:06.244Z","avatar_url":"https://github.com/Mccranky83.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AiStudy Documents Crawler\n\n\u003cimg src=\"https://github.com/user-attachments/assets/4b1bfcf1-8d6d-4844-8e74-c052b6282634\" height=\"150\" align=\"right\"/\u003e\n\n\u003e Due to the official notice that `本旧版过渡使用期至2025年7月31日`, I'm archiving this project.\n\nThis project encompasses a sophisticated web crawler engineered to systematically acquire educational resources from the [上海市中小学数字教学系统](https://sz-api.ai-study.net/).\n\n\u003e The crawler leverages Puppeteer, a Node.js library, to simulate human-like interactions with the Chromium browser, enabling the efficient extraction of download links.\n\u003e Subsequently, the tool employs the `curl` command-line utility to facilitate the recursive downloading of these resources to the local system.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cvideo src=\"https://github.com/user-attachments/assets/4d35e5d8-4cac-4031-99fc-99b8789df10b\" /\u003e\n\u003c/div\u003e\n\n## Installation\n\n```bash\n# Clone the repository\nnpm i # Installs project dependencies, including compatible Chrome\nnpm run start # Executes the start script, which runs `app/start.js`\n```\n\n## Examples\n\n**Crawl first**\n\n\u003cpre\u003e\nprompt\u003e npm run start\n\nDirectly download or crawl first? (d/C) \nRun in headless mode? (Y/n) \nsubjectIndex [1-17]: 1\nCrawl documents or answer sheets? (D/a) \nsubjectIndex [1-2]: 1\nStartup grade [Default: 0]: \nOffset [Default: 100]: \nStartup semester [Default: 0]: \nOffset [Default: 100]: \nStartup unit [Default: 0]: \nOffset [Default: 100]: \nStartup course [Default: 0]: \nOffset [Default: 100]: \n\u003c/pre\u003e\n\n**Direct download**\n\n\u003cpre\u003e\nprompt\u003e npm run start\n\nDirectly download or crawl first? (d/C) d\n劳动 - 6.json\nsitemapName:\n\u003c/pre\u003e\n\n**No available linkmaps**\n\n\u003cpre\u003e\nprompt\u003e npm run start\n\nDirectly download or crawl first? (d/C) d\nNo linkmaps available!\n\u003c/pre\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmccranky83%2Faistudy-docs-crawler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmccranky83%2Faistudy-docs-crawler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmccranky83%2Faistudy-docs-crawler/lists"}