mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-24 07:03:03 +02:00
Updated Usage (markdown)
4
Usage.md
4
Usage.md
@@ -251,6 +251,9 @@ More info:
|
|||||||
## Python Shell Usage
|
## Python Shell Usage
|
||||||
|
|
||||||
Explore the Python API a bit to see whats available using the archivebox shell:
|
Explore the Python API a bit to see whats available using the archivebox shell:
|
||||||
|
|
||||||
|
**Python API Documentation:** https://docs.archivebox.io/en/master/archivebox.html#module-archivebox.main
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ archivebox shell
|
$ archivebox shell
|
||||||
[i] [2020-09-17 16:57:07] ArchiveBox v0.4.21: archivebox shell
|
[i] [2020-09-17 16:57:07] ArchiveBox v0.4.21: archivebox shell
|
||||||
@@ -291,6 +294,7 @@ from archivebox import *
|
|||||||
|
|
||||||
[i] Welcome to the ArchiveBox Shell!
|
[i] Welcome to the ArchiveBox Shell!
|
||||||
https://github.com/ArchiveBox/ArchiveBox/wiki/Usage#Shell-Usage
|
https://github.com/ArchiveBox/ArchiveBox/wiki/Usage#Shell-Usage
|
||||||
|
https://docs.archivebox.io/en/master/archivebox.html#module-archivebox.main
|
||||||
|
|
||||||
Hint: Example use:
|
Hint: Example use:
|
||||||
print(Snapshot.objects.filter(is_archived=True).count())
|
print(Snapshot.objects.filter(is_archived=True).count())
|
||||||
|
Reference in New Issue
Block a user