Skip to content

Commit

Permalink
Use enum for access_level
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Jan 8, 2024
1 parent ad3c7c0 commit da6d11e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
title: Scraper
description: 'Scrape and optionally crawl a given site for documents to upload to DocumentCloud.'
description: "Scrape and optionally crawl a given site for documents to upload to DocumentCloud."
instructions: |
You may specify a project to scrape the documents into as well as an access level.
Scraper can alert you by email or Slack notification when given keywords appear in
documents if you specify keywords to monitor. For Slack notifications, you must provide a webhook.
The crawl depth is a parameter that tells the Scraper how many clicks deep away from the
site you specify in order to continue looking for documents.
If the PDFs are directly linked on the site you provide
Expand Down Expand Up @@ -42,8 +42,12 @@ properties:
access_level:
title: Access Level
type: string
description: Access level (public, private, or organization) of documents scraped.
description: Access level of documents scraped.
default: public
enum:
- public
- organization
- private
#filetypes:
# title: File Types
# type: string
Expand Down

0 comments on commit da6d11e

Please sign in to comment.