Update README
This commit is contained in:
@@ -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')
|
||||
```
|
||||
Reference in New Issue
Block a user