From 5c66aa8c7a2ee8bd792bc68e39a86688bbed2b18 Mon Sep 17 00:00:00 2001 From: Spedestrian Date: Tue, 11 Aug 2020 20:45:37 -0700 Subject: [PATCH] Update README --- README.md | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 789d37c..5f30022 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file +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') +``` \ No newline at end of file