{"id":29861649,"url":"https://github.com/octabytes/webarchive","last_synced_at":"2026-02-07T12:31:56.919Z","repository":{"id":306837022,"uuid":"871053315","full_name":"octabytes/webarchive","owner":"octabytes","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-15T08:11:36.000Z","size":18450,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-27T23:46:37.753Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/octabytes.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,"zenodo":null}},"created_at":"2024-10-11T07:16:24.000Z","updated_at":"2024-10-15T08:11:40.000Z","dependencies_parsed_at":"2025-07-27T23:46:41.656Z","dependency_job_id":"f7a62d25-fc63-4112-8e63-a3b85c3d7220","html_url":"https://github.com/octabytes/webarchive","commit_stats":null,"previous_names":["octabytes/webarchive"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/octabytes/webarchive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octabytes%2Fwebarchive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octabytes%2Fwebarchive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octabytes%2Fwebarchive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octabytes%2Fwebarchive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/octabytes","download_url":"https://codeload.github.com/octabytes/webarchive/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octabytes%2Fwebarchive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29194019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2025-07-30T05:08:50.828Z","updated_at":"2026-02-07T12:31:56.904Z","avatar_url":"https://github.com/octabytes.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web Archive\n\n## Download single page with images\n\n`httrack \"http://www.example.com/\" -O ./folder-to-save -v -s0  --depth=1 -n`\n\n## Download single page without images\n\n`httrack \"http://www.example.com/\" -O ./folder-to-save -r1`\n\n## To save in current directory\n\nTo save all files in current directory use `.`\n\n## Save/update new site\n\n1. Download site `httrack \"http://www.example.com/\" -O ./temp -r1`\n2. Copy folder www.example.com form temp and rename to site name e.g example\n3. Remove temp folder\n\n## Install Httrack on MacOS\n\n`brew install httrack`\n\n## Remove href from links\n\n1. Open your HTML file in VSCode.\n2. Press Ctrl + H to bring up the Find and Replace panel.\n3. Enable the Regular Expression option by clicking the .\\* button (or pressing Alt + R).\n4. Use the following regular expression in the Find field:`(\u003ca[^\u003e]*?)\\s+href=\"[^\"]*\"`\n5. In the Replace field, enter: `$1`\n6. Click Replace All.\n\n## Remove src set from images\n\n1. `srcset=\"[^\"]*\"`\n2. `sizes=\"[^\"]*\"`\n\n## Send iframe height\n\nAdd this script right after title in head\n\n```js\n\u003cscript\u003e\n    window.onload = function () {\n    const height = document.body.scrollHeight;\n    window.parent.postMessage(height, \"*\");\n    };\n\u003c/script\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctabytes%2Fwebarchive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foctabytes%2Fwebarchive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctabytes%2Fwebarchive/lists"}