Update README.md

This commit is contained in:
Akash
2020-07-22 20:32:50 +05:30
committed by GitHub
parent b8b2d6dfa9
commit f428fb4b1e

View File

@@ -53,6 +53,8 @@ pip install waybackpy
## Usage
### As a python package
#### Capturing aka Saving an url using save()
```python
import waybackpy
@@ -218,6 +220,16 @@ print(archive_count) # total_archives() returns an int
```
<sub>Try this out in your browser @ <https://repl.it/@akamhy/WaybackPyTotalArchivesExample></sub>
### With the CLI
#### Save
```bash
waybackpy --url "https://en.wikipedia.org/wiki/Social_media" --user_agent "my-unique-user-agent" --save
```
<sub>Try this out in your browser @ <https://repl.it/@akamhy/WaybackPyBashSave></sub>
## Tests
* [Here](https://github.com/akamhy/waybackpy/tree/master/tests)