Skip to content

Commit

Permalink
Add support for Pictomancer and Viper
Browse files Browse the repository at this point in the history
  • Loading branch information
karashiiro committed Jun 29, 2024
1 parent dcb8e47 commit de5a978
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions classjob.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func (s *Scraper) buildClassJobCollector(charData *Character) *colly.Collector {
&classJobSelectors.Ninja,
&classJobSelectors.Samurai,
&classJobSelectors.Reaper,
&classJobSelectors.Viper,
&classJobSelectors.WhiteMage,
&classJobSelectors.Scholar,
&classJobSelectors.Astrologian,
Expand All @@ -41,6 +42,7 @@ func (s *Scraper) buildClassJobCollector(charData *Character) *colly.Collector {
&classJobSelectors.BlackMage,
&classJobSelectors.Summoner,
&classJobSelectors.RedMage,
&classJobSelectors.Pictomancer,
&classJobSelectors.BlueMage,
&classJobSelectors.Carpenter,
&classJobSelectors.Blacksmith,
Expand Down
4 changes: 2 additions & 2 deletions internal/pack/css/selectors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions internal/selectors/character.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ type ClassJobSelectors struct {
Ninja OneClassJobSelectors `json:"NINJA"`
Samurai OneClassJobSelectors `json:"SAMURAI"`
Reaper OneClassJobSelectors `json:"REAPER"`
Viper OneClassJobSelectors `json:"VIPER"`
WhiteMage OneClassJobSelectors `json:"WHITEMAGE"`
Scholar OneClassJobSelectors `json:"SCHOLAR"`
Astrologian OneClassJobSelectors `json:"ASTROLOGIAN"`
Expand All @@ -183,6 +184,7 @@ type ClassJobSelectors struct {
BlackMage OneClassJobSelectors `json:"BLACKMAGE"`
Summoner OneClassJobSelectors `json:"SUMMONER"`
RedMage OneClassJobSelectors `json:"REDMAGE"`
Pictomancer OneClassJobSelectors `json:"PICTOMANCER"`
BlueMage OneClassJobSelectors `json:"BLUEMAGE"`
Carpenter OneClassJobSelectors `json:"CARPENTER"`
Blacksmith OneClassJobSelectors `json:"BLACKSMITH"`
Expand Down
2 changes: 1 addition & 1 deletion lodestone-css-selectors

0 comments on commit de5a978

Please sign in to comment.