modulepackage
0.0.0-20230720150823-69f1618c0490
Repository: https://github.com/tyzbit/go-archive.git
Documentation: pkg.go.dev
# README
go-archive
Go package for interacting with archive.org
Usage
package main
import "github.com/tyzbit/go-archive"
func main() {
requestUrls := []string{"https://example.com", "https://archive.org"}
urls := archiveorg.GetLatestArchiveURLs(requestUrls, true)
for url := range urls {
fmt.Println("url: ", url)
}
}
# Functions
Archives a given URL with archive.org.
Checks the status of an archive request job.
Checks the sparkline (history of archived copies) for a given URL.
Checks if a page is available in the Wayback Machine.
GetLatestUrl returns the latest archive.org link for a given URL.
Takes a slice of strings and a boolean whether or not to archive the page if not found and returns a slice of strings of archive.org URLs and any errors.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author