pywb
pywb copied to clipboard
Documentation for Warcserver Index Configuration is misleading
Describe the bug
In https://github.com/webrecorder/pywb/blob/42445562dab4cfe68cabc82ee94d51e3c70ee037/docs/manual/warcserver.rst?plain=1#L216 and
https://github.com/webrecorder/pywb/blob/42445562dab4cfe68cabc82ee94d51e3c70ee037/docs/manual/warcserver.rst?plain=1#L247
the syntax should be ia: cdx+http://web.archive.org/cdx /web
, i.e. space delimiter and not semicolon.
The sauce is found here: https://github.com/webrecorder/pywb/blob/42445562dab4cfe68cabc82ee94d51e3c70ee037/pywb/warcserver/index/indexsource.py#L187
Steps to reproduce the bug
Configure a collection as exemplified in the documentation:
collections:
ia: cdx+http://web.archive.org/cdx;/web
Doesn't work.
Steps to reproduce the fix
Configure a collection as per the source:
collections:
ia: cdx+http://web.archive.org/cdx /web
It works.