Skip to main content

Throw all URIs in a page on to Wayback Machine savepagenow from CLI.

Project description


PyPI version Codacy Badge Maintainability MIT License Downloads Downloads Downloads

  • wbsv("Wabisavi", "わびさび", stands for "WayBack machine SavepageNow") is...

    • CLI tool for saving webpage on Wayback Machine forever.
    • Enables you to save all URIs in a webpage forever on Wayback Machine.
  • You can try this tool on Google Cloud Shell. (First, sudo pip3 install -e .)

Open in Cloud Shell




$ pip install wbsv # Python3.0+

Run & Examples


$ wbsv -h
wbsv 0.0.8
CLI tool for save webpage on Wayback Machine forever.
Save webpage and one's all URI(s) on Wayback Machine.

    wbsv [options] <url1> <url2> ... <urln>

    <urls>                      Saving pages in order.
    no arg                      Launch Interactive mode.
                                (To quit interactive mode,
                                 type "end", "exit", "exit()",
                                 "break", "bye", ":q" or "finish".)

    -h, --help                  Show help and exit.
    -v, --version               Show version and exit.
    -r, --retry <times>         Set a retry limit on failed save.
        --only-target           Save just target webpage(s).
    -l, --log-to-file <file>    Write STDOUT to a specified file.
    -L, --recursive <level>     Set maximum recursion depth.
        --only-page             Get only URIs of type web page.

Interactive mode

$ wbsv
[[Input a target url (ex:]]
[!]class 'urllib.error.URLError'
[!]urlopen error [Errno -2] Name or service not known
[!]traceback object at 0x7eff0d207188
[[Input a target url (ex:]]
87 URI(s) found.
[01]: <NOW>
[02]: <NOW>
[03]: <NOW>
[85]: <NOW>
[86]: <FAIL>
[87]: <FAIL>
[+]ALL: 87 SAVE: 61 FAIL: 21
[+]To exit, use CTRL+C or type 'end'
[[Input a target url (ex:]]
>>> exit

From stdin

$ wbsv
9 URI(s) found.
[1]: <NOW>
[9]: <FAIL>
[+]ALL: 9 SAVE: 5 FAIL: 4
7 URI(s) found.
[1]: <NOW>
[7]: <FAIL>
[+]ALL: 7 SAVE: 5 FAIL: 2

Increase limit of retry

$ wbsv --retry 10


wbsv 0.0.8




eggplants (haruna)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wbsv-0.0.8.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

wbsv-0.0.8-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page