Closed cldellow closed 1 year ago
Returns a JSON schema describing the configuration this plugin accepts.
The schema is optional; if omitted, users will have to hand-edit their configurations versus using interactive UI tools.
Returns None to indicate that new crawls should not use this plugin by default.
None
Otherwise, returns a reasonable default value that conforms to the schema in config_schema()
config_schema()
https://github.com/cldellow/datasette-scraper/commit/0d16e8e6b5f2319c72fef290a089e993bef39ac0 goes a long way to implementing what I had in mind here, so closing
config_schema()
Returns a JSON schema describing the configuration this plugin accepts.
The schema is optional; if omitted, users will have to hand-edit their configurations versus using interactive UI tools.
config_default_value()
Returns
None
to indicate that new crawls should not use this plugin by default.Otherwise, returns a reasonable default value that conforms to the schema in
config_schema()