selectors

package
v2.1.8 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AchievementSelectors

type AchievementSelectors struct {
	Root  SelectorInfo `json:"ROOT"`
	Entry struct {
		Root SelectorInfo `json:"ROOT"`
		Name SelectorInfo `json:"NAME"`
		ID   SelectorInfo `json:"ID"`
		Time SelectorInfo `json:"TIME"`
	} `json:"ENTRY"`
	ListNextButton      SelectorInfo `json:"LIST_NEXT_BUTTON"`
	PageInfo            SelectorInfo `json:"PAGE_INFO"`
	TotalAchievements   SelectorInfo `json:"TOTAL_ACHIEVEMENTS"`
	AchievementPoints   SelectorInfo `json:"ACHIEVEMENT_POINTS"`
	NoResultsFound      SelectorInfo `json:"NO_RESULTS_FOUND"`
	ActivityDescription SelectorInfo `json:"ACTIVITY_DESCRIPTION"`
}

AchievementSelectors represents all CSS selectors associated with character achievements.

type AttributeSelectors

type AttributeSelectors struct {
	Strength            SelectorInfo `json:"STRENGTH"`
	Dexterity           SelectorInfo `json:"DEXTERITY"`
	Vitality            SelectorInfo `json:"VITALITY"`
	Intelligence        SelectorInfo `json:"INTELLIGENCE"`
	Mind                SelectorInfo `json:"MIND"`
	CriticalHitRate     SelectorInfo `json:"CRITICAL_HIT_RATE"`
	Determination       SelectorInfo `json:"DETERMINATION"`
	DirectHitRate       SelectorInfo `json:"DIRECT_HIT_RATE"`
	Defense             SelectorInfo `json:"DEFENSE"`
	MagicDefense        SelectorInfo `json:"MAGIC_DEFENSE"`
	AttackPower         SelectorInfo `json:"ATTACK_POWER"`
	SkillSpeed          SelectorInfo `json:"SKILL_SPEED"`
	AttackMagicPotency  SelectorInfo `json:"ATTACK_MAGIC_POTENCY"`
	HealingMagicPotency SelectorInfo `json:"HEALING_MAGIC_POTENCY"`
	SpellSpeed          SelectorInfo `json:"SPELL_SPEED"`
	Tenacity            SelectorInfo `json:"TENACITY"`
	Piety               SelectorInfo `json:"PIETY"`
	HP                  SelectorInfo `json:"HP"`
	MPGPCP              SelectorInfo `json:"MP_GP_CP"`
	MPGPCPParameterName SelectorInfo `json:"MP_GP_CP_PARAMETER_NAME"`
}

AttributeSelectors represents all CSS selectors associated with character attributes.

type CWLSBasicSelectors

type CWLSBasicSelectors struct {
	Name SelectorInfo `json:"NAME"`
	DC   SelectorInfo `json:"DC"`
}

CWLSBasicSelectors contains the CSS selectors for the basic information on the CWLS page.

type CWLSMemberSelectors

type CWLSMemberSelectors struct {
	Root  SelectorInfo `json:"ROOT"`
	Entry struct {
		Root              SelectorInfo `json:"ROOT"`
		Avatar            SelectorInfo `json:"AVATAR"`
		ID                SelectorInfo `json:"ID"`
		Name              SelectorInfo `json:"NAME"`
		Rank              SelectorInfo `json:"RANK"`
		RankIcon          SelectorInfo `json:"RANK_ICON"`
		LinkshellRank     SelectorInfo `json:"LINKSHELL_RANK"`
		LinkshellRankIcon SelectorInfo `json:"LINKSHELL_RANK_ICON"`
		Server            SelectorInfo `json:"SERVER"`
	} `json:"ENTRY"`
	ListNextButton SelectorInfo `json:"LIST_NEXT_BUTTON"`
}

CWLSMemberSelectors contains the CSS selectors for the member list on the CWLS page.

type CWLSSearchSelectors

type CWLSSearchSelectors struct {
	Root  SelectorInfo `json:"ROOT"`
	Entry struct {
		Root          SelectorInfo `json:"ROOT"`
		ID            SelectorInfo `json:"ID"`
		Name          SelectorInfo `json:"NAME"`
		DC            SelectorInfo `json:"DC"`
		ActiveMembers SelectorInfo `json:"ACTIVE_MEMBERS"`
	} `json:"ENTRY"`
	ListNextButton SelectorInfo `json:"LIST_NEXT_BUTTON"`
	PageInfo       SelectorInfo `json:"PAGE_INFO"`
}

CWLSSearchSelectors contains the CSS selectors for the CWLS search interface.

type CWLSSelectors

type CWLSSelectors struct {
	Basic   *CWLSBasicSelectors
	Members *CWLSMemberSelectors
}

CWLSSelectors contains the CSS selectors for the CWLS page.

func LoadCWLSSelectors

func LoadCWLSSelectors() *CWLSSelectors

LoadCWLSSelectors loads the CSS selectors for the CWLS page.

type CharacterSearchSelectors

type CharacterSearchSelectors struct {
	Root  SelectorInfo `json:"ROOT"`
	Entry struct {
		Root     SelectorInfo `json:"ROOT"`
		Avatar   SelectorInfo `json:"AVATAR"`
		ID       SelectorInfo `json:"ID"`
		Lang     SelectorInfo `json:"LANG"`
		Name     SelectorInfo `json:"NAME"`
		Rank     SelectorInfo `json:"RANK"`
		RankIcon SelectorInfo `json:"RANK_ICON"`
		Server   SelectorInfo `json:"SERVER"`
	} `json:"ENTRY"`
	ListNextButton SelectorInfo `json:"LIST_NEXT_BUTTON"`
	PageInfo       SelectorInfo `json:"PAGE_INFO"`
}

CharacterSearchSelectors contains the CSS selectors for the character search interface.

type CharacterSelectors

type CharacterSelectors struct {
	ActiveClassJob      SelectorInfo `json:"ACTIVE_CLASSJOB"`
	ActiveClassJobLevel SelectorInfo `json:"ACTIVE_CLASSJOB_LEVEL"`
	Avatar              SelectorInfo `json:"AVATAR"`
	Bio                 SelectorInfo `json:"BIO"`
	ClassJobIcons       struct {
		Root SelectorInfo `json:"ROOT"`
		Icon SelectorInfo `json:"ICON"`
	} `json:"CLASSJOB_ICONS"`
	FreeCompany struct {
		Name       SelectorInfo `json:"NAME"`
		IconLayers struct {
			Bottom SelectorInfo `json:"BOTTOM"`
			Middle SelectorInfo `json:"MIDDLE"`
			Top    SelectorInfo `json:"TOP"`
		} `json:"ICON_LAYERS"`
	} `json:"FREE_COMPANY"`
	GrandCompany  SelectorInfo `json:"GRAND_COMPANY"`
	GuardianDeity struct {
		Name SelectorInfo `json:"NAME"`
		Icon SelectorInfo `json:"ICON"`
	} `json:"GUARDIAN_DEITY"`
	Name     SelectorInfo `json:"NAME"`
	Nameday  SelectorInfo `json:"NAMEDAY"`
	Portrait SelectorInfo `json:"PORTRAIT"`
	PvPTeam  struct {
		Name       SelectorInfo `json:"NAME"`
		IconLayers struct {
			Bottom SelectorInfo `json:"BOTTOM"`
			Middle SelectorInfo `json:"MIDDLE"`
			Top    SelectorInfo `json:"TOP"`
		} `json:"ICON_LAYERS"`
	} `json:"PVP_TEAM"`
	RaceClanGender SelectorInfo `json:"RACE_CLAN_GENDER"`
	Server         SelectorInfo `json:"SERVER"`
	Title          SelectorInfo `json:"TITLE"`
	Town           struct {
		Name SelectorInfo `json:"NAME"`
		Icon SelectorInfo `json:"ICON"`
	} `json:"TOWN"`
}

CharacterSelectors represents all CSS selectors associated with basic character data.

type ClassJobSelectors

type ClassJobSelectors struct {
	Bozja struct {
		Level  SelectorInfo `json:"LEVEL"`
		Mettle SelectorInfo `json:"METTLE"`
		Name   SelectorInfo `json:"NAME"`
	} `json:"BOZJA"`
	Eureka struct {
		Level SelectorInfo `json:"LEVEL"`
		Exp   SelectorInfo `json:"EXP"`
		Name  SelectorInfo `json:"NAME"`
	} `json:"EUREKA"`
	Paladin       OneClassJobSelectors `json:"PALADIN"`
	Warrior       OneClassJobSelectors `json:"WARRIOR"`
	DarkKnight    OneClassJobSelectors `json:"DARKKNIGHT"`
	Gunbreaker    OneClassJobSelectors `json:"GUNBREAKER"`
	Monk          OneClassJobSelectors `json:"MONK"`
	Dragoon       OneClassJobSelectors `json:"DRAGOON"`
	Ninja         OneClassJobSelectors `json:"NINJA"`
	Samurai       OneClassJobSelectors `json:"SAMURAI"`
	Reaper        OneClassJobSelectors `json:"REAPER"`
	WhiteMage     OneClassJobSelectors `json:"WHITEMAGE"`
	Scholar       OneClassJobSelectors `json:"SCHOLAR"`
	Astrologian   OneClassJobSelectors `json:"ASTROLOGIAN"`
	Sage          OneClassJobSelectors `json:"SAGE"`
	Bard          OneClassJobSelectors `json:"BARD"`
	Machinist     OneClassJobSelectors `json:"MACHINIST"`
	Dancer        OneClassJobSelectors `json:"DANCER"`
	BlackMage     OneClassJobSelectors `json:"BLACKMAGE"`
	Summoner      OneClassJobSelectors `json:"SUMMONER"`
	RedMage       OneClassJobSelectors `json:"REDMAGE"`
	BlueMage      OneClassJobSelectors `json:"BLUEMAGE"`
	Carpenter     OneClassJobSelectors `json:"CARPENTER"`
	Blacksmith    OneClassJobSelectors `json:"BLACKSMITH"`
	Armorer       OneClassJobSelectors `json:"ARMORER"`
	Goldsmith     OneClassJobSelectors `json:"GOLDSMITH"`
	Leatherworker OneClassJobSelectors `json:"LEATHERWORKER"`
	Weaver        OneClassJobSelectors `json:"WEAVER"`
	Alchemist     OneClassJobSelectors `json:"ALCHEMIST"`
	Culinarian    OneClassJobSelectors `json:"CULINARIAN"`
	Miner         OneClassJobSelectors `json:"MINER"`
	Botanist      OneClassJobSelectors `json:"BOTANIST"`
	Fisher        OneClassJobSelectors `json:"FISHER"`
}

ClassJobSelectors represents all CSS selectors associated with all of a character's ClassJobs.

type FreeCompanyAlignmentListSelectors

type FreeCompanyAlignmentListSelectors struct {
	Maelstrom FreeCompanyAlignmentSelectors `json:"MAELSTROM"`
	Adders    FreeCompanyAlignmentSelectors `json:"ADDERS"`
	Flames    FreeCompanyAlignmentSelectors `json:"FLAMES"`
}

FreeCompanyAlignmentListSelectors contains the CSS selectors for all of an FC's Grand Company aLignments.

type FreeCompanyAlignmentSelectors

type FreeCompanyAlignmentSelectors struct {
	Name     SelectorInfo `json:"NAME"`
	Progress SelectorInfo `json:"PROGRESS"`
	Rank     SelectorInfo `json:"RANK"`
}

FreeCompanyAlignmentSelectors contains the CSS selectors for a single Grand Company Alignment on the Free Company page.

type FreeCompanyBasicSelectors

type FreeCompanyBasicSelectors struct {
	ActiveState       SelectorInfo `json:"ACTIVE_STATE"`
	ActiveMemberCount SelectorInfo `json:"ACTIVE_MEMBER_COUNT"`
	CrestLayers       struct {
		Bottom SelectorInfo `json:"BOTTOM"`
		Middle SelectorInfo `json:"MIDDLE"`
		Top    SelectorInfo `json:"TOP"`
	} `json:"CREST_LAYERS"`
	Estate struct {
		NoEstate SelectorInfo `json:"NO_ESTATE"`
		Greeting SelectorInfo `json:"GREETING"`
		Name     SelectorInfo `json:"NAME"`
		Plot     SelectorInfo `json:"PLOT"`
	} `json:"ESTATE"`
	Formed       SelectorInfo `json:"FORMED"`
	GrandCompany SelectorInfo `json:"GRAND_COMPANY"`
	ID           SelectorInfo `json:"ID"`
	Name         SelectorInfo `json:"NAME"`
	Rank         SelectorInfo `json:"RANK"`
	Ranking      struct {
		Monthly SelectorInfo `json:"MONTHLY"`
		Weekly  SelectorInfo `json:"WEEKLY"`
	} `json:"RANKING"`
	Recruitment SelectorInfo `json:"RECRUITMENT"`
	Server      SelectorInfo `json:"SERVER"`
	Slogan      SelectorInfo `json:"SLOGAN"`
	Tag         SelectorInfo `json:"TAG"`
}

FreeCompanyBasicSelectors contains the CSS selectors for the basic information on the Free Company page.

type FreeCompanyFocusListSelectors

type FreeCompanyFocusListSelectors struct {
	NotSpecified SelectorInfo              `json:"NOT_SPECIFIED"`
	RolePlaying  FreeCompanyFocusSelectors `json:"RP"`
	Leveling     FreeCompanyFocusSelectors `json:"LEVELING"`
	Casual       FreeCompanyFocusSelectors `json:"CASUAL"`
	Hardcore     FreeCompanyFocusSelectors `json:"HARDCORE"`
	Dungeons     FreeCompanyFocusSelectors `json:"DUNGEONS"`
	Guildhests   FreeCompanyFocusSelectors `json:"GUILDHESTS"`
	Trials       FreeCompanyFocusSelectors `json:"TRIALS"`
	Raids        FreeCompanyFocusSelectors `json:"RAIDS"`
	PVP          FreeCompanyFocusSelectors `json:"PVP"`
}

FreeCompanyFocusListSelectors contains the CSS selectors for the focus list on the Free Company page.

type FreeCompanyFocusSelectors

type FreeCompanyFocusSelectors struct {
	Name   SelectorInfo `json:"NAME"`
	Icon   SelectorInfo `json:"ICON"`
	Status SelectorInfo `json:"STATUS"`
}

FreeCompanyFocusSelectors contains the CSS selectors for a single focus on the Free Company page.

type FreeCompanyMemberSelectors

type FreeCompanyMemberSelectors struct {
	Root  SelectorInfo `json:"ROOT"`
	Entry struct {
		Root     SelectorInfo `json:"ROOT"`
		Avatar   SelectorInfo `json:"AVATAR"`
		ID       SelectorInfo `json:"ID"`
		Name     SelectorInfo `json:"NAME"`
		Rank     SelectorInfo `json:"RANK"`
		RankIcon SelectorInfo `json:"RANK_ICON"`
		Server   SelectorInfo `json:"SERVER"`
	} `json:"ENTRY"`
	ListNextButton SelectorInfo `json:"LIST_NEXT_BUTTON"`
}

FreeCompanyMemberSelectors contains the CSS selectors for the member list on the Free Company page.

type FreeCompanySearchSelectors

type FreeCompanySearchSelectors struct {
	Root  SelectorInfo `json:"ROOT"`
	Entry struct {
		Root            SelectorInfo `json:"ROOT"`
		ID              SelectorInfo `json:"ID"`
		Name            SelectorInfo `json:"NAME"`
		Server          SelectorInfo `json:"SERVER"`
		GrandCompany    SelectorInfo `json:"GRAND_COMPANY"`
		Active          SelectorInfo `json:"ACTIVE"`
		ActiveMembers   SelectorInfo `json:"ACTIVE_MEMBERS"`
		RecruitmentOpen SelectorInfo `json:"RECRUITMENT_OPEN"`
		EstateBuilt     SelectorInfo `json:"ESTATE_BUILT"`
		Formed          SelectorInfo `json:"FORMED"`
		CrestLayers     struct {
			Bottom SelectorInfo `json:"BOTTOM"`
			Middle SelectorInfo `json:"MIDDLE"`
			Top    SelectorInfo `json:"TOP"`
		} `json:"CREST_LAYERS"`
	} `json:"ENTRY"`
	ListNextButton SelectorInfo `json:"LIST_NEXT_BUTTON"`
	PageInfo       SelectorInfo `json:"PAGE_INFO"`
}

FreeCompanySearchSelectors contains the CSS selectors for the Free Company search interface.

type FreeCompanySeekingListSelectors

type FreeCompanySeekingListSelectors struct {
	NotSpecified SelectorInfo                `json:"NOT_SPECIFIED"`
	Tank         FreeCompanySeekingSelectors `json:"TANK"`
	Healer       FreeCompanySeekingSelectors `json:"HEALER"`
	DPS          FreeCompanySeekingSelectors `json:"DPS"`
	Crafter      FreeCompanySeekingSelectors `json:"CRAFTER"`
	Gatherer     FreeCompanySeekingSelectors `json:"GATHERER"`
}

FreeCompanySeekingListSelectors contains the CSS selectors for the seeking status list on the Free Company page.

type FreeCompanySeekingSelectors

type FreeCompanySeekingSelectors struct {
	Name   SelectorInfo `json:"NAME"`
	Icon   SelectorInfo `json:"ICON"`
	Status SelectorInfo `json:"STATUS"`
}

FreeCompanySeekingSelectors contains the CSS selectors for a single seeking status on the Free Company page.

type FreeCompanySelectors

FreeCompanySelectors contains the CSS selectors for the Free Company page.

func LoadFreeCompanySelectors

func LoadFreeCompanySelectors() *FreeCompanySelectors

LoadFreeCompanySelectors loads the CSS selectors for the Free Company page.

type GearSelectors

type GearSelectors struct {
	Name         SelectorInfo `json:"NAME"`
	DBLink       SelectorInfo `json:"DB_LINK"`
	MirageName   SelectorInfo `json:"MIRAGE_NAME"`
	MirageDBLink SelectorInfo `json:"MIRAGE_DB_LINK"`
	Stain        SelectorInfo `json:"STAIN"`
	Materia1     SelectorInfo `json:"MATERIA_1"`
	Materia2     SelectorInfo `json:"MATERIA_2"`
	Materia3     SelectorInfo `json:"MATERIA_3"`
	Materia4     SelectorInfo `json:"MATERIA_4"`
	Materia5     SelectorInfo `json:"MATERIA_5"`
	CreatorName  SelectorInfo `json:"CREATOR_NAME"`
}

GearSelectors represents the selectors associated with a character gear piece.

type GearSetSelectors

type GearSetSelectors struct {
	MainHand    GearSelectors `json:"MAINHAND"`
	OffHand     GearSelectors `json:"OFFHAND"`
	Head        GearSelectors `json:"HEAD"`
	Body        GearSelectors `json:"BODY"`
	Hands       GearSelectors `json:"HANDS"`
	Waist       GearSelectors `json:"WAIST"`
	Legs        GearSelectors `json:"LEGS"`
	Feet        GearSelectors `json:"FEET"`
	Earrings    GearSelectors `json:"EARRINGS"`
	Necklace    GearSelectors `json:"NECKLACE"`
	Bracelets   GearSelectors `json:"BRACELETS"`
	Ring1       GearSelectors `json:"RING1"`
	Ring2       GearSelectors `json:"RING2"`
	SoulCrystal struct {
		Name SelectorInfo `json:"NAME"`
	} `json:"SOULCRYSTAL"`
}

GearSetSelectors represents the selectors associated with a character gearset.

type LinkshellBasicSelectors

type LinkshellBasicSelectors struct {
	Name SelectorInfo `json:"NAME"`
}

LinkshellBasicSelectors contains the CSS selectors for the basic information on the linkshell page.

type LinkshellMemberSelectors

type LinkshellMemberSelectors struct {
	Root  SelectorInfo `json:"ROOT"`
	Entry struct {
		Root              SelectorInfo `json:"ROOT"`
		Avatar            SelectorInfo `json:"AVATAR"`
		ID                SelectorInfo `json:"ID"`
		Name              SelectorInfo `json:"NAME"`
		Rank              SelectorInfo `json:"RANK"`
		RankIcon          SelectorInfo `json:"RANK_ICON"`
		LinkshellRank     SelectorInfo `json:"LINKSHELL_RANK"`
		LinkshellRankIcon SelectorInfo `json:"LINKSHELL_RANK_ICON"`
		Server            SelectorInfo `json:"SERVER"`
	} `json:"ENTRY"`
	ListNextButton SelectorInfo `json:"LIST_NEXT_BUTTON"`
}

LinkshellMemberSelectors contains the CSS selectors for the member list on the linkshell page.

type LinkshellSearchSelectors

type LinkshellSearchSelectors struct {
	Root  SelectorInfo `json:"ROOT"`
	Entry struct {
		Root          SelectorInfo `json:"ROOT"`
		ID            SelectorInfo `json:"ID"`
		Name          SelectorInfo `json:"NAME"`
		Server        SelectorInfo `json:"SERVER"`
		ActiveMembers SelectorInfo `json:"ACTIVE_MEMBERS"`
	} `json:"ENTRY"`
	ListNextButton SelectorInfo `json:"LIST_NEXT_BUTTON"`
	PageInfo       SelectorInfo `json:"PAGE_INFO"`
}

LinkshellSearchSelectors contains the CSS selectors for the linkshell search interface.

type LinkshellSelectors

type LinkshellSelectors struct {
	Basic   *LinkshellBasicSelectors
	Members *LinkshellMemberSelectors
}

LinkshellSelectors contains the CSS selectors for the linkshell page.

func LoadLinkshellSelectors

func LoadLinkshellSelectors() *LinkshellSelectors

LoadLinkshellSelectors loads the CSS selectors for the linkshell page.

type MinionSelectors

type MinionSelectors struct {
	Minions struct {
		Root SelectorInfo `json:"ROOT"`
		Name SelectorInfo `json:"NAME"`
		Icon SelectorInfo `json:"ICON"`
	} `json:"MINIONS"`
	Total SelectorInfo `json:"TOTAL"`
}

MinionSelectors represents all CSS selectors associated with character minions.

type MountSelectors

type MountSelectors struct {
	Mounts struct {
		Root SelectorInfo `json:"ROOT"`
		Name SelectorInfo `json:"NAME"`
		Icon SelectorInfo `json:"ICON"`
	} `json:"MOUNTS"`
	Total SelectorInfo `json:"TOTAL"`
}

MountSelectors represents all CSS selectors associated with character mounts.

type OneClassJobSelectors

type OneClassJobSelectors struct {
	Level       SelectorInfo `json:"LEVEL"`
	UnlockState SelectorInfo `json:"UNLOCKSTATE"`
	Exp         SelectorInfo `json:"EXP"`
}

OneClassJobSelectors represents all CSS selectors associated with a character's ClassJob.

type PVPTeamBasicSelectors

type PVPTeamBasicSelectors struct {
	Name        SelectorInfo `json:"NAME"`
	DC          SelectorInfo `json:"DC"`
	Formed      SelectorInfo `json:"FORMED"`
	CrestLayers struct {
		Bottom SelectorInfo `json:"BOTTOM"`
		Middle SelectorInfo `json:"MIDDLE"`
		Top    SelectorInfo `json:"TOP"`
	} `json:"CREST_LAYERS"`
}

PVPTeamBasicSelectors contains the CSS selectors for the basic information on the PVP team page.

type PVPTeamMemberSelectors

type PVPTeamMemberSelectors struct {
	Root  SelectorInfo `json:"ROOT"`
	Entry struct {
		Root     SelectorInfo `json:"ROOT"`
		Avatar   SelectorInfo `json:"AVATAR"`
		ID       SelectorInfo `json:"ID"`
		Name     SelectorInfo `json:"NAME"`
		Matches  SelectorInfo `json:"MATCHES"`
		Rank     SelectorInfo `json:"RANK"`
		RankIcon SelectorInfo `json:"RANK_ICON"`
		Server   SelectorInfo `json:"SERVER"`
	} `json:"ENTRY"`
}

PVPTeamMemberSelectors contains the CSS selectors for the member list on the PVP team page.

type PVPTeamSearchSelectors

type PVPTeamSearchSelectors struct {
	Root  SelectorInfo `json:"ROOT"`
	Entry struct {
		Root        SelectorInfo `json:"ROOT"`
		ID          SelectorInfo `json:"ID"`
		Name        SelectorInfo `json:"NAME"`
		DC          SelectorInfo `json:"DC"`
		CrestLayers struct {
			Bottom SelectorInfo `json:"BOTTOM"`
			Middle SelectorInfo `json:"MIDDLE"`
			Top    SelectorInfo `json:"TOP"`
		} `json:"CREST_LAYERS"`
	} `json:"ENTRY"`
	ListNextButton SelectorInfo `json:"LIST_NEXT_BUTTON"`
	PageInfo       SelectorInfo `json:"PAGE_INFO"`
}

PVPTeamSearchSelectors contains the CSS selectors for the PVP team search interface.

type PVPTeamSelectors

type PVPTeamSelectors struct {
	Basic   *PVPTeamBasicSelectors
	Members *PVPTeamMemberSelectors
}

PVPTeamSelectors contains the CSS selectors for the PVP team page.

func LoadPVPTeamSelectors

func LoadPVPTeamSelectors() *PVPTeamSelectors

LoadPVPTeamSelectors loads the CSS selectors for the PVP team page.

type ProfileSelectors

type ProfileSelectors struct {
	Achievements *AchievementSelectors
	Attributes   *AttributeSelectors
	Character    *CharacterSelectors
	ClassJob     *ClassJobSelectors
	GearSet      *GearSetSelectors
	Minion       *MinionSelectors
	Mount        *MountSelectors
}

ProfileSelectors represents all CSS selectors associated with a character profile.

func LoadProfileSelectors

func LoadProfileSelectors() *ProfileSelectors

LoadProfileSelectors loads the profile selectors.

type SearchSelectors

type SearchSelectors struct {
	Character   *CharacterSearchSelectors
	CWLS        *CWLSSearchSelectors
	FreeCompany *FreeCompanySearchSelectors
	Linkshell   *LinkshellSearchSelectors
	PVPTeam     *PVPTeamSearchSelectors
}

SearchSelectors contains the CSS selectors for the search interface.

func LoadSearchSelectors

func LoadSearchSelectors() *SearchSelectors

LoadSearchSelectors loads the CSS selectors for the search interface.

type SelectorInfo

type SelectorInfo struct {
	Selector  string `json:"selector"`
	Regex     string `json:"regex,omitempty"`
	Attribute string `json:"attribute,omitempty"`
	Multiple  bool   `json:"multiple,omitempty"`
	// contains filtered or unexported fields
}

SelectorInfo represents a variety of information about a CSS selector.

func (*SelectorInfo) Parse

func (si *SelectorInfo) Parse(e *colly.HTMLElement) []string

Parse returns values from an HTML element.

func (*SelectorInfo) ParseInnerHTML

func (si *SelectorInfo) ParseInnerHTML(e *colly.HTMLElement) []string

ParseInnerHTML returns values from an HTML element.

func (*SelectorInfo) ParseSelection

func (si *SelectorInfo) ParseSelection(e *goquery.Selection) []string

ParseSelection returns values from a selection.

func (*SelectorInfo) ParseThroughChildren

func (si *SelectorInfo) ParseThroughChildren(e *colly.HTMLElement) []string

ParseThroughChildren returns values from somewhere in an HTML element tree.

Jump to

Keyboard shortcuts

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