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