From 52801b4de1d63cd01191acf7fcee137977140ec0 Mon Sep 17 00:00:00 2001 From: lexicade Date: Fri, 27 Jan 2023 21:06:30 +0000 Subject: Project init --- .../profile/character.json | 110 +++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 ffxiv/lodestone-css-selectors-0.52.0/profile/character.json (limited to 'ffxiv/lodestone-css-selectors-0.52.0/profile/character.json') 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\\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\\S*) \/ (?P.*)" + }, + "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.+)/" + }, + "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.*)(?P.*) \\/ (?P.)" + }, + "SERVER": { + "selector": "p.frame__chara__world:last-of-type", + "regex": "(?P\\w*)\\s+\\[(?P\\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" + } + } +} -- cgit v1.2.3