summaryrefslogtreecommitdiff
path: root/ffxiv/lodestone-css-selectors-0.52.0/profile/character.json
diff options
context:
space:
mode:
authorlexicade <jasonnlelong@gmail.com>2023-01-27 21:06:30 +0000
committerlexicade <jasonnlelong@gmail.com>2023-01-27 21:06:30 +0000
commit52801b4de1d63cd01191acf7fcee137977140ec0 (patch)
tree08271a1f1e3e8060486b6651c67c9934867c648e /ffxiv/lodestone-css-selectors-0.52.0/profile/character.json
parent8df873808c86805624851356f5dea76ec621de23 (diff)
Project initHEADmain
Diffstat (limited to 'ffxiv/lodestone-css-selectors-0.52.0/profile/character.json')
-rw-r--r--ffxiv/lodestone-css-selectors-0.52.0/profile/character.json110
1 files changed, 110 insertions, 0 deletions
diff --git a/ffxiv/lodestone-css-selectors-0.52.0/profile/character.json b/ffxiv/lodestone-css-selectors-0.52.0/profile/character.json
new file mode 100644
index 0000000..6d2ab92
--- /dev/null
+++ b/ffxiv/lodestone-css-selectors-0.52.0/profile/character.json
@@ -0,0 +1,110 @@
+{
+ "ACTIVE_CLASSJOB": {
+ "selector": ".character__class_icon > img:nth-child(1)",
+ "attribute": "src"
+ },
+ "ACTIVE_CLASSJOB_LEVEL": {
+ "selector": ".character__class__data > p:nth-child(1)",
+ "regex": "LEVEL (?P<Level>\\d*)"
+ },
+ "AVATAR": {
+ "selector": ".frame__chara__face > img:nth-child(1)",
+ "attribute": "src"
+ },
+ "BIO": {
+ "selector": ".character__selfintroduction"
+ },
+ "CLASSJOB_ICONS": {
+ "ROOT": {
+ "selector": "li",
+ "multiple": true
+ }
+ },
+ "FREE_COMPANY": {
+ "NAME": {
+ "selector": ".character__freecompany__name > h4:nth-child(2)"
+ },
+ "ICON_LAYERS": {
+ "BOTTOM": {
+ "selector": "div.character__freecompany__crest > div > img:nth-child(1)",
+ "attribute": "src"
+ },
+ "MIDDLE": {
+ "selector": "div.character__freecompany__crest > div > img:nth-child(1)",
+ "attribute": "src"
+ },
+ "TOP": {
+ "selector": "div.character__freecompany__crest > div > img:nth-child(1)",
+ "attribute": "src"
+ }
+ }
+ },
+ "GRAND_COMPANY": {
+ "selector": "div.character-block:nth-child(4) > div:nth-child(2) > p:nth-child(2)",
+ "regex": "(?P<Name>\\S*) \/ (?P<Rank>.*)"
+ },
+ "GUARDIAN_DEITY": {
+ "NAME": {
+ "selector": "p.character-block__name:nth-child(4)"
+ },
+ "ICON": {
+ "selector": "#character > div.character__content.selected > div.character__profile.clearfix > div.character__profile__data > div:nth-child(1) > div > div:nth-child(2) > img",
+ "attribute": "src"
+ }
+ },
+ "GENDER": {
+ "selector": "p.character-block__name:nth-child(2)",
+ "regex": "(.$)"
+ },
+ "NAME": {
+ "selector": "div.frame__chara__box:nth-child(2) > .frame__chara__name"
+ },
+ "NAMEDAY": {
+ "selector": ".character-block__birth"
+ },
+ "PORTRAIT": {
+ "selector": ".js__image_popup > img:nth-child(1)",
+ "attribute": "src"
+ },
+ "PVP_TEAM": {
+ "NAME": {
+ "selector": ".character__pvpteam__name > h4:nth-child(2) > a:nth-child(1)",
+ "attribute": "href",
+ "regex": "/lodestone/pvpteam/(?P<ID>.+)/"
+ },
+ "ICON_LAYERS": {
+ "BOTTOM": {
+ "selector": ".character__pvpteam__crest__image img:nth-child(1)",
+ "attribute": "src"
+ },
+ "MIDDLE": {
+ "selector": ".character__pvpteam__crest__image img:nth-child(2)",
+ "attribute": "src"
+ },
+ "TOP": {
+ "selector": ".character__pvpteam__crest__image img:nth-child(3)",
+ "attribute": "src"
+ }
+ }
+ },
+ "RACE_CLAN_GENDER": {
+ "selector": "div.character-block:nth-child(1) > div:nth-child(2) > p:nth-child(2)",
+ "regex": "(?P<Race>.*)(?P<Tribe>.*) \\/ (?P<Gender>.)"
+ },
+ "SERVER": {
+ "selector": "p.frame__chara__world:last-of-type",
+ "regex": "(?P<World>\\w*)\\s+\\[(?P<DC>\\w*)\\]"
+ },
+ "TITLE": {
+ "selector": ".frame__chara__title"
+ },
+ "TOWN": {
+ "NAME": {
+ "selector": "div.character-block:nth-child(3) > div:nth-child(2) > p:nth-child(2)"
+ },
+ "ICON": {
+ "selector": "#character > div.character__content.selected > div.character__profile.clearfix > div.character__profile__data > div:nth-child(1) > div > div:nth-child(3) > img",
+ "attribute": "src"
+ }
+ }
+}