Update README

This commit is contained in:
2020-08-11 20:45:37 -07:00
parent 9836021987
commit 5c66aa8c7a
+25 -2
View File
@@ -1,3 +1,26 @@
# arcli
# Arcli
Python & Selenium-based Automated Archiver for archive.org / archive.li
Python & Selenium-based Automated Archiver for archive.org / archive.li
code is very jank, pls no cyberbulli
## Installation
lol noob
1. Get Python
2. `pip install -r requirements.txt`
3. Get a webdriver like chromedriver and set it up
## Usage
```
import arcli
#archiver = arcli.ArchiveOrg() #for archive.org
archiver = arcli.ArchiveLi() #for archive.li
# Archive URLs and save the results to a file
archiver.archive_all(
urls=['https://google.com'],
file='/home/sped/my_save_file.json')
# Load data from an archive data file and continue archiving any unfinished URLs
archiver.archive_all(file='/home/sped/my_save_file.json')
```