summaryrefslogtreecommitdiff
path: root/ffxiv/lodestone-css-selectors-0.52.0/pvpteam
diff options
context:
space:
mode:
Diffstat (limited to 'ffxiv/lodestone-css-selectors-0.52.0/pvpteam')
-rw-r--r--ffxiv/lodestone-css-selectors-0.52.0/pvpteam/members.json39
-rw-r--r--ffxiv/lodestone-css-selectors-0.52.0/pvpteam/pvpteam.json26
2 files changed, 65 insertions, 0 deletions
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<ID>\\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<RankName>.+)"
+ },
+ "RANK_ICON": {
+ "selector": ".entry__freecompany__info > .js__tooltip > img",
+ "attribute": "src"
+ },
+ "SERVER": {
+ "selector": ".entry__world",
+ "regex": "(?P<World>\\w*)\\s+\\[(?P<DC>\\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<Timestamp>\\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