This repository has been archived by the owner on Apr 25, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crocoite-recursive is now just crocoite, crocoite-grab is not user-facing any more and called crocoite-single. In preparation for 1.0 release.
- Loading branch information
Showing
6 changed files
with
127 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,28 @@ | ||
Usage | ||
----- | ||
|
||
.. autofunction:: crocoite.cli.single | ||
One-shot command line interface and pywb_ playback: | ||
|
||
Recursion | ||
^^^^^^^^^ | ||
.. code:: bash | ||
.. autofunction:: crocoite.cli.recursive | ||
pip install pywb | ||
crocoite http://example.com/ example.com.warc.gz | ||
rm -rf collections && wb-manager init test && wb-manager add test example.com.warc.gz | ||
wayback & | ||
$BROWSER http://localhost:8080 | ||
.. _pywb: https://github.com/ikreymer/pywb | ||
|
||
IRC bot | ||
^^^^^^^ | ||
|
||
.. autofunction:: crocoite.cli.irc | ||
A simple IRC bot (“chromebot”) is provided with the command ``crocoite-irc``. | ||
It reads its configuration from a config file like the example provided in | ||
``contrib/chromebot.json`` and supports the following commands: | ||
|
||
a <url> -j <concurrency> -r <policy> | ||
Archive <url> with <concurrency> processes according to recursion <policy> | ||
s <uuid> | ||
Get job status for <uuid> | ||
r <uuid> | ||
Revoke or abort running job with <uuid> |
Oops, something went wrong.