From 52801b4de1d63cd01191acf7fcee137977140ec0 Mon Sep 17 00:00:00 2001 From: lexicade Date: Fri, 27 Jan 2023 21:06:30 +0000 Subject: Project init --- .../search/pvpteam.json | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 ffxiv/lodestone-css-selectors-0.52.0/search/pvpteam.json (limited to 'ffxiv/lodestone-css-selectors-0.52.0/search/pvpteam.json') diff --git a/ffxiv/lodestone-css-selectors-0.52.0/search/pvpteam.json b/ffxiv/lodestone-css-selectors-0.52.0/search/pvpteam.json new file mode 100644 index 0000000..ae1c51d --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.52.0/search/pvpteam.json @@ -0,0 +1,47 @@ +{ + "ROOT": { + "selector": ".ldst__window" + }, + "ENTRY": { + "ROOT": { + "selector": "div.entry", + "multiple": true + }, + "CREST_LAYERS": { + "BOTTOM": { + "selector": ".entry__pvpteam__search__crest__image > img:nth-child(1)", + "attribute": "src" + }, + "MIDDLE": { + "selector": ".entry__pvpteam__search__crest__image > img:nth-child(2)", + "attribute": "src" + }, + "TOP": { + "selector": ".entry__pvpteam__search__crest__image > img:nth-child(3)", + "attribute": "src" + } + }, + "ID": { + "selector": ".entry__block", + "attribute": "href", + "regex": "/lodestone/pvpteam/(?P\\w*)/" + }, + "NAME": { + "selector": ".entry__name" + }, + "DC": { + "selector": ".entry__world" + } + }, + "PAGE_INFO": { + "selector": "ul.btn__pager:nth-child(6) > li:nth-child(3)", + "regex": "\\D*(?P\\d+)\\D*(?P\\d+)" + }, + "LIST_NEXT_BUTTON": { + "selector": "ul.btn__pager > li:nth-child(4) > a:nth-child(1)", + "attribute": "href" + }, + "NO_RESULTS_FOUND": { + "selector": ".parts__zero" + } +} -- cgit v1.2.3