Documentation ¶
Overview ¶
Package dlsite provides a Go API for accessing DLSite information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Work ¶
type Work struct { Code codes.RJCode Title string Circle string Series string Seiyuu []string WorkFormats []string Description string }
Work holds information about a DLSite work. If information for a field is missing, it will be the zero value.
func FetchWork ¶
FetchWork returns the Work for the codes.RJCode by parsing the corresponding DLSite page. Errors from the HTTP request or from parsing the HTML of the page are returned, but errors from parsing specific information from the page are not returned. Not all fields will be present for all works, like Series.
Click to show internal directories.
Click to hide internal directories.