Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BaseURL = "https://archive.is" // Overrideable default package value. HTTPHost = "archive.is" // Overrideable default package value. UserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36" // Overrideable default package value. DefaultRequestTimeout = 10 * time.Second // Overrideable default package value. DefaultPollInterval = 5 * time.Second // Overrideable default package value. )
Functions ¶
Types ¶
type Config ¶
type Config struct {
Anyway bool // Force archival even if there is already a recent snapshot of the page.
Wait bool // Wait until the crawl has been completed.
WaitTimeout time.Duration // Max time to wait for crawl completion. Default is unlimited.
PollInterval time.Duration // Interval between crawl completion checks. Defaults to 5s.
RequestTimeout time.Duration // Overrides default request timeout.
SubmitID string // Accepts a user-provided submitid.
}
Config settings for page capture client behavior.
Directories
¶
| Path | Synopsis |
|---|---|
|
_examples
|
|
|
capture
command
|
|
|
search
command
|
|
|
cmd
|
|
|
archive.is
command
|
|
|
archive.is-snapshots
command
|
Click to show internal directories.
Click to hide internal directories.