asmrone

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Scrape dlsite asmr meta info from https://asmr.one/works

Index

Constants

View Source
const ASMRONE = "asmrone"
View Source
const VERSION = "0.1.0"

Variables

This section is empty.

Functions

This section is empty.

Types

type AsmroneWorkInfo

type AsmroneWorkInfo struct {
	AgeCategoryString string `json:"age_category_string,omitempty"` // "adult"
	Release           string `json:"release,omitempty"`             // "yyyy-MM-dd"
	Circle            struct {
		Name string `json:"name,omitempty"`
	} `json:"circle,omitempty"`
	Tags []struct {
		I18n struct {
			JaJp struct {
				Name string `json:"name,omitempty"`
			} `json:"ja-jp,omitempty"`
		} `json:"i18n,omitempty"`
		Name string `json:"name,omitempty"`
	} `json:"tags,omitempty"`
	MainCoverUrl string `json:"mainCoverUrl,omitempty"`
	SourceType   string `json:"source_type,omitempty"` // "DLSITE"
	SourceId     string `json:"source_id,omitempty"`   // "RJ01178645"
	Title        string `json:"title,omitempty"`
}

E.g. https://api.asmr-200.com/api/workInfo/RJ01178645 "RJ" prefix could be omitted.

func (*AsmroneWorkInfo) GetTags

func (awi *AsmroneWorkInfo) GetTags() (tags []string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL