Skip to main content

StoryScrapingConfiguration

StoryScrapingConfiguration stores the configuration around story scraping.

type StoryScrapingConfiguration {
enabled: Boolean!
proxyURL: String
customUserAgent: String
authentication: Boolean!
username: String
password: String
}

Fields

StoryScrapingConfiguration.enabled ● Boolean! non-null scalar

enabled, when true, enables stories to be scraped. When disabled, stories will only be looked up instead, and must be created via the API directly.

StoryScrapingConfiguration.proxyURL ● String scalar

proxyURL when specified, allows scraping requests to use the provided proxy. All requests will then be passed through the appropriate proxy as parsed by the proxy-agent package.

StoryScrapingConfiguration.customUserAgent ● String scalar

customUserAgent when specified will override the user agent used by fetch requests made during the scraping process.

StoryScrapingConfiguration.authentication ● Boolean! non-null scalar

authentication is whether alternative authentication credentials have been provided for scraping activities.

StoryScrapingConfiguration.username ● String scalar

username is the username to use with basic authentication for scraping jobs.

StoryScrapingConfiguration.password ● String scalar

password is the password to use with basic authentication for scraping jobs.

Member Of

StoryConfiguration object