mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-23 06:33:18 +02:00
add new modules and usage example
9
Usage.md
9
Usage.md
@@ -169,10 +169,11 @@ which are already in the index.
|
||||
```python
|
||||
from archivebox.main import add, info, remove, check_data_folder
|
||||
|
||||
check_data_folder()
|
||||
add('https://example.com', index_only=True)
|
||||
info()
|
||||
remove('https://example.com', delete=True, yes=True)
|
||||
out_dir = '~/path/to/my/data/folder'
|
||||
check_data_folder(out_dir=out_dir)
|
||||
add('https://example.com', index_only=True, out_dir=out_dir)
|
||||
info(out_dir=out_dir)
|
||||
remove('https://example.com', delete=True, yes=True, out_dir=out_dir)
|
||||
```
|
||||
|
||||
For more information see the Python API Reference.
|
||||
|
@@ -4,6 +4,14 @@ archivebox.index package
|
||||
Submodules
|
||||
----------
|
||||
|
||||
archivebox.index.csv module
|
||||
---------------------------
|
||||
|
||||
.. automodule:: archivebox.index.csv
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
archivebox.index.html module
|
||||
----------------------------
|
||||
|
||||
|
@@ -32,6 +32,14 @@ archivebox.manage module
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
archivebox.system module
|
||||
------------------------
|
||||
|
||||
.. automodule:: archivebox.system
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
archivebox.util module
|
||||
----------------------
|
||||
|
||||
|
Reference in New Issue
Block a user