{"id":21620647,"url":"https://github.com/raybb/edx-scrape","last_synced_at":"2025-04-11T09:13:59.098Z","repository":{"id":95917730,"uuid":"256041548","full_name":"RayBB/edx-scrape","owner":"RayBB","description":"Scrape the html from edX","archived":false,"fork":false,"pushed_at":"2020-05-20T14:21:22.000Z","size":4,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-25T06:33:17.445Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/RayBB.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-15T21:32:49.000Z","updated_at":"2022-06-10T00:21:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"f10f083a-9a50-4012-a949-bafb4c64d5e4","html_url":"https://github.com/RayBB/edx-scrape","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/RayBB%2Fedx-scrape","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RayBB%2Fedx-scrape/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RayBB%2Fedx-scrape/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RayBB%2Fedx-scrape/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RayBB","download_url":"https://codeload.github.com/RayBB/edx-scrape/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248365387,"owners_count":21091777,"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":"2024-11-24T23:12:15.025Z","updated_at":"2025-04-11T09:13:59.090Z","avatar_url":"https://github.com/RayBB.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# edx-scrape\nScrape the html from edX\n\n## What is this\n\n[edx-dl](https://github.com/coursera-dl/edx-dl/issues) is a wonderful tool made to pull down all the videos/pdfs from an edX course. Unforunately, it is not currently setup to download any HTML content see [#600](https://github.com/coursera-dl/edx-dl/issues/600). \n\nUntil **edx-dl** is able to download HTML itself I've made a little hacky script to download it for you.\n\nIf you want to download PDFs of all the Q/A checkout out [edx-archive](https://github.com/EugeneLoy/edx-archive).\n\n## Usage\n\n1. Copy the code from `index.js`\n1. Open your browser and go to the \"Progress\" page of the course. \n    * Example: https://courses.edx.org/courses/course-v1:MITx+6.431x+3T2018/progress\n1. Open the console in devtools | [instructions](https://support.monday.com/hc/en-us/articles/360002197259-How-to-Open-the-Developer-Console-in-ycur-Browser)\n1. Paste the code from `index.js` and press enter.\n1. The script will automatically download the html of all pages listed under progress and output a zip.\n1. Unzip the file and then open the \"pages\" folder in your browser\n\n\n## Limits\n\nCurrently this script only download the raw HTML it does not grab:   \n* Images\n* Results of the \"Show Answers\" button\n\nThe downloaded pages rely on a few js scripts to be cached in browser if you would like to view the pages offline. \n\nNavigating between pages won't work.\n\n## Contributing\n\nI'd much rather you contribute to the `edx-dl` project. See [#600](https://github.com/coursera-dl/edx-dl/issues/600). But if you'd like to improve this open a ticket and we can chat\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraybb%2Fedx-scrape","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraybb%2Fedx-scrape","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraybb%2Fedx-scrape/lists"}