package
0.0.0-20240418084808-8ee748d62865
Repository: https://github.com/mal0ner/wikiscrape.git
Documentation: pkg.go.dev

# Functions

GetQueryDataFromName accepts a page name and wikiname, checks for explicit support (existing wikiInfo entry in the wikiNameInfo map) and returns a QueryData object which provides all the necessary information to make a query to the wiki's api.
GetQueryDataFromURL accepts a raw wiki url, parses it's host name, checks for explicit support (existing wikiInfo entry in the wikiHostInfo map) and returns a QueryData object which provides all the necessary information to make a query to the wiki's api.
GetSupportedBackends returns a list of the names of all wiki backends supported by wikiscrape.
GetSupportedWikis returns a list of the names of all wikis supported by wikiscrape.
GetWikiInfoFromHost takes a URL host segment and returns its corresponding wikiInfo.
GetWikiInfoFromName takes a wiki name and returns its corresponding wikiInfo.
GetWikiInfoStrings returns a formatted slice of strings containing relevant information about the wikis supported by wikiscrape.
ReadManifestFrom accepts a path to a JSON file containing an array of page names and reads its content.
No description provided by the author

# Structs

QueryData represents all the information the internal/wiki and internal/scraper packages need to make queries to their respective APIs.
Custom error designed indicate to the user that the wiki they are trying to escape is not explicitly supported by the program.

# Type aliases

No description provided by the author