From 52801b4de1d63cd01191acf7fcee137977140ec0 Mon Sep 17 00:00:00 2001 From: lexicade Date: Fri, 27 Jan 2023 21:06:30 +0000 Subject: Project init --- .../pvpteam/members.json | 39 ++++++++++++++++++++++ .../pvpteam/pvpteam.json | 26 +++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 ffxiv/lodestone-css-selectors-0.52.0/pvpteam/members.json create mode 100644 ffxiv/lodestone-css-selectors-0.52.0/pvpteam/pvpteam.json (limited to 'ffxiv/lodestone-css-selectors-0.52.0/pvpteam') diff --git a/ffxiv/lodestone-css-selectors-0.52.0/pvpteam/members.json b/ffxiv/lodestone-css-selectors-0.52.0/pvpteam/members.json new file mode 100644 index 0000000..2dd507f --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.52.0/pvpteam/members.json @@ -0,0 +1,39 @@ +{ + "ROOT": { + "selector": ".pvpteam__member" + }, + "ENTRY": { + "ROOT": { + "selector": "div.entry", + "multiple": true + }, + "AVATAR": { + "selector": ".entry__chara__face img", + "attribute": "src" + }, + "ID": { + "selector": ".entry__bg", + "attribute": "href", + "regex": "/lodestone/character/(?P\\d*)/" + }, + "NAME": { + "selector": ".entry__name" + }, + "MATCHES": { + "selector": ".entry__freecompany__info > li:last-of-type > span" + }, + "RANK": { + "selector": ".entry__freecompany__info > .js__tooltip", + "attribute": "data-tooltip", + "regex": "/ (?P.+)" + }, + "RANK_ICON": { + "selector": ".entry__freecompany__info > .js__tooltip > img", + "attribute": "src" + }, + "SERVER": { + "selector": ".entry__world", + "regex": "(?P\\w*)\\s+\\[(?P\\w*)\\]" + } + } +} diff --git a/ffxiv/lodestone-css-selectors-0.52.0/pvpteam/pvpteam.json b/ffxiv/lodestone-css-selectors-0.52.0/pvpteam/pvpteam.json new file mode 100644 index 0000000..6bb7cf8 --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.52.0/pvpteam/pvpteam.json @@ -0,0 +1,26 @@ +{ + "NAME": { + "selector": ".entry__pvpteam__name--team" + }, + "DC": { + "selector": ".entry__pvpteam__name--dc" + }, + "FORMED": { + "selector": ".entry__pvpteam__data--formed > script", + "regex": ".*ldst_strftime\\((?P\\d*)" + }, + "CREST_LAYERS": { + "BOTTOM": { + "selector": ".entry__pvpteam__crest__image > img:nth-child(1)", + "attribute": "src" + }, + "MIDDLE": { + "selector": ".entry__pvpteam__crest__image > img:nth-child(2)", + "attribute": "src" + }, + "TOP": { + "selector": ".entry__pvpteam__crest__image > img:nth-child(3)", + "attribute": "src" + } + } +} \ No newline at end of file -- cgit v1.2.3