mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-23 06:32:24 +01:00
51 lines
974 B
YAML
51 lines
974 B
YAML
# pywb config file
|
|
|
|
debug: true
|
|
|
|
use_js_obj_proxy: true
|
|
|
|
collections_root: _test_colls
|
|
|
|
collections:
|
|
pywb:
|
|
index: ./sample_archive/cdx/
|
|
archive_paths: ./sample_archive/warcs/
|
|
|
|
# live collection
|
|
live: $live
|
|
|
|
# coll with fallback
|
|
pywb-fallback:
|
|
sequence:
|
|
-
|
|
index: ./sample_archive/cdx/
|
|
name: local
|
|
|
|
-
|
|
index: $live
|
|
|
|
#pywb-norange:
|
|
# index_paths: ./sample_archive/cdx/
|
|
# enable_ranges: false
|
|
|
|
pywb-cdxj:
|
|
index_paths: ./sample_archive/cdxj/
|
|
|
|
|
|
ait:
|
|
index:
|
|
type: cdx
|
|
api_url: https://wayback.archive-it.org/cdx?url={url}&closest={closest}&sort=closest&filter=filename:ARCHIVEIT-({src_coll})-.*
|
|
replay_url: http://wayback.archive-it.org/{src_coll}/{timestamp}id_/{url}
|
|
|
|
|
|
|
|
archive_paths:
|
|
- ./invalid/path/to/ignore/
|
|
- ./sample_archive/warcs/
|
|
- archive
|
|
|
|
|
|
enable_memento: true
|
|
|