{"id":13826613,"url":"https://github.com/eggplants/wbsv-cli","last_synced_at":"2025-07-09T00:34:11.325Z","repository":{"id":44607365,"uuid":"235879330","full_name":"eggplants/wbsv-cli","owner":"eggplants","description":"CLI for archiving pages and its all links to Wayback Machine","archived":true,"fork":false,"pushed_at":"2022-03-10T16:27:03.000Z","size":2044,"stargazers_count":14,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-29T02:48:25.267Z","etag":null,"topics":["cli","wayback-machine","webpage"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/wbsv","language":"Python","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/eggplants.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":"2020-01-23T20:23:00.000Z","updated_at":"2023-07-14T10:45:43.000Z","dependencies_parsed_at":"2022-09-17T14:31:13.104Z","dependency_job_id":null,"html_url":"https://github.com/eggplants/wbsv-cli","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggplants%2Fwbsv-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggplants%2Fwbsv-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggplants%2Fwbsv-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggplants%2Fwbsv-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eggplants","download_url":"https://codeload.github.com/eggplants/wbsv-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225476383,"owners_count":17480215,"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":["cli","wayback-machine","webpage"],"created_at":"2024-08-04T09:01:41.168Z","updated_at":"2024-11-20T05:30:54.136Z","avatar_url":"https://github.com/eggplants.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# `wbsv`\n\n[![PyPI version](https://badge.fury.io/py/wbsv.svg)](https://badge.fury.io/py/wbsv) [![Maintainability](https://api.codeclimate.com/v1/badges/ce84fc17ef2b182eda26/maintainability)](https://codeclimate.com/github/eggplants/wbsv-cli/maintainability)\n\n## `wbsv`(stands for \"WayBack machine SavepageNow\") is…\n\nCLI tool for saving webpage on Wayback Machine forever.\nEnables you to **save all URIs** in a webpage forever on [Wayback Machine](https://archive.org/web/).\n\n## Install\n\n```bash\npip install wbsv\n```\n\n## DEMO\n\n![demo.gif](https://raw.githubusercontent.com/wiki/eggplants/wbsv-cli/demo.gif)\n\n## Run \u0026 Examples\n\n### Help\n\n```shellsession\n$ wbsv -h\nusage: wbsv [-h] [-r times] [-t] [-l level] [-O] [-V] [url ...]\n\nCLI tool for save webpage on Wayback Machine forever.\nSave webpage and one 's all URI(s) on Wayback Machine.\n\npositional arguments:\n  url                      Saving pages in order. (default: None)\n\noptional arguments:\n  -h, --help               show this help message and exit\n  -r times, --retry times  Set a retry limit on failed save. (default: 3)\n  -t, --only_target        Save just same domain of target (default: False)\n  -l level, --level level  Set maximum recursion depth (default: 1)\n  -O, --own                Only URLs with the same domain as target (default: False)\n  -V, --version            show program's version number and exit\n\nIf you don't give the URL,\ninteractive mode will be launched.\n(To quit interactive mode,\ntype \"end\", \"exit\", \"exit()\",\n\"break\", \"bye\", \":q\" or \"finish\".)\n```\n\n### Interactive mode\n\n```shellsession\n$ wbsv\n[[Input a target url (ex: https://google.com)]]\n\u003e\u003e\u003e https://www.u.tsukuba.ac.jp\n[+]Target: ['https://www.u.tsukuba.ac.jp']\n[+]61 URI(s) found.\n[01/60]: \u003cNOW\u003e https://web.archive.org/web/20200412020015/https://www.u.tsukuba.ac.jp/password/\n[02/60]: \u003cFAIL\u003e https://www.u.tsukuba.ac.jp/info_lit/tebiki.html\n[03/60]: \u003cNOW\u003e https://web.archive.org/web/20200412020026/https://www.u.tsukuba.ac.jp/account/\n...\n[58/60]: \u003cNOW\u003e https://web.archive.org/web/20200412022608/https://www.u.tsukuba.ac.jp/phishing/\n[59/60]: \u003cFAIL\u003e https://www.u.tsukuba.ac.jp/wordpress/wp-content/uploads/note_usingcomputerrooms.png\n[60/60]: \u003cNOW\u003e https://web.archive.org/web/20200412022640/https://www.u.tsukuba.ac.jp/\n[+]FIN!: ['https://www.u.tsukuba.ac.jp']\n[+]ALL: 60, SAVE: 57, PAST: 0, FAIL: 3\n\u003e\u003e\u003e\n```\n\n### From stdin\n\n```shellsession\n$ wbsv https://tsumanne.net\n[+]Target: ['https://tsumanne.net']\n[+]4 URI(s) found.\n[1/4]: \u003cNOW\u003e https://web.archive.org/web/20200412022931/https://tsumanne.net/si/\n[2/4]: \u003cNOW\u003e https://web.archive.org/web/20200412022935/https://tsumanne.net/\n[3/4]: \u003cNOW\u003e https://web.archive.org/web/20200412022938/https://tsumanne.net/my/\n[4/4]: \u003cNOW\u003e https://web.archive.org/web/20200412022949/https://tsumanne.net/ct/\n[+]FIN!: ['https://tsumanne.net']\n[+]ALL: 4, SAVE: 4, PAST: 0, FAIL: 0\n$\n```\n\n### Search links recurcively\n\n```bash\nwbsv https://programming-place.net/ppp/contents/c/index.html -l 2\n```\n\n### Increase limit of retry\n\n```bash\nwbsv https://tsumanne.net -r 10\n```\n\n## LISENCE\n\nMIT\n\n## Author\n\neggplants (haruna)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feggplants%2Fwbsv-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feggplants%2Fwbsv-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feggplants%2Fwbsv-cli/lists"}