diff options
Diffstat (limited to 'ffxiv/lodestone-css-selectors-0.52.0/search')
5 files changed, 239 insertions, 0 deletions
diff --git a/ffxiv/lodestone-css-selectors-0.52.0/search/character.json b/ffxiv/lodestone-css-selectors-0.52.0/search/character.json new file mode 100644 index 0000000..7ae9c00 --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.52.0/search/character.json @@ -0,0 +1,50 @@ +{ + "ROOT": { + "selector": ".ldst__window" + }, + "ENTRY": { + "ROOT": { + "selector": "div.entry", + "multiple": true + }, + "AVATAR": { + "selector": ".entry__chara__face > img", + "attribute": "src" + }, + "ID": { + "selector": ".entry__link", + "attribute": "href", + "regex": "/lodestone/character/(?P<ID>\\d*)/" + }, + "LANG": { + "selector": ".entry__chara__lang" + }, + "NAME": { + "selector": ".entry__name" + }, + "RANK": { + "selector": ".entry__chara_info > .js__tooltip", + "attribute": "data-tooltip", + "regex": "/ (?P<RankName>.+)" + }, + "RANK_ICON": { + "selector": ".entry__chara_info > .js__tooltip > img", + "attribute": "src" + }, + "SERVER": { + "selector": ".entry__world", + "regex": "(?P<World>\\w*)\\s+\\[(?P<DC>\\w*)\\]" + } + }, + "LIST_NEXT_BUTTON": { + "selector": "ul.btn__pager > li:nth-child(4) > a:nth-child(1)", + "attribute": "href" + }, + "PAGE_INFO": { + "selector": "ul.btn__pager > li:nth-child(3)", + "regex": "\\D*(?P<CurrentPage>\\d+)\\D*(?P<NumPages>\\d+)" + }, + "NO_RESULTS_FOUND": { + "selector": ".parts__zero" + } +} diff --git a/ffxiv/lodestone-css-selectors-0.52.0/search/cwls.json b/ffxiv/lodestone-css-selectors-0.52.0/search/cwls.json new file mode 100644 index 0000000..7efe25a --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.52.0/search/cwls.json @@ -0,0 +1,36 @@ +{ + "ROOT": { + "selector": ".ldst__window" + }, + "ENTRY": { + "ROOT": { + "selector": "div.entry", + "multiple": true + }, + "ID": { + "selector": ".entry__link--line", + "attribute": "href", + "regex": "/lodestone/crossworld_linkshell/(?P<ID>\\w*)/" + }, + "NAME": { + "selector": ".entry__name" + }, + "DC": { + "selector": ".entry__world" + }, + "ACTIVE_MEMBERS": { + "selector": ".entry__linkshell__member > div > span" + } + }, + "PAGE_INFO": { + "selector": "ul.btn__pager:nth-child(6) > li:nth-child(3)", + "regex": "\\D*(?P<CurrentPage>\\d+)\\D*(?P<NumPages>\\d+)" + }, + "LIST_NEXT_BUTTON": { + "selector": "ul.btn__pager > li:nth-child(4) > a:nth-child(1)", + "attribute": "href" + }, + "NO_RESULTS_FOUND": { + "selector": ".parts__zero" + } +} diff --git a/ffxiv/lodestone-css-selectors-0.52.0/search/freecompany.json b/ffxiv/lodestone-css-selectors-0.52.0/search/freecompany.json new file mode 100644 index 0000000..90f0bbe --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.52.0/search/freecompany.json @@ -0,0 +1,69 @@ +{ + "ROOT": { + "selector": ".ldst__window" + }, + "ENTRY": { + "ROOT": { + "selector": "div.entry", + "multiple": true + }, + "CREST_LAYERS": { + "BOTTOM": { + "selector": ".entry__freecompany__crest__image > img:nth-child(1)", + "attribute": "src" + }, + "MIDDLE": { + "selector": ".entry__freecompany__crest__image > img:nth-child(2)", + "attribute": "src" + }, + "TOP": { + "selector": ".entry__freecompany__crest__image > img:nth-child(3)", + "attribute": "src" + } + }, + "ID": { + "selector": ".entry__block", + "attribute": "href", + "regex": "/lodestone/freecompany/(?P<ID>\\d*)/" + }, + "GRAND_COMPANY": { + "selector": ".entry__world:nth-child(1)" + }, + "NAME": { + "selector": ".entry__name" + }, + "SERVER": { + "selector": ".entry__world:nth-child(3)", + "regex": "(?P<World>\\w*)\\s+\\[(?P<DC>\\w*)\\]" + }, + "ACTIVE": { + "selector": "li.entry__freecompany__fc-active:nth-child(4)", + "regex": "Active:\\s+(?P<State>\\w*)" + }, + "ACTIVE_MEMBERS": { + "selector": ".entry__freecompany__fc-member" + }, + "RECRUITMENT_OPEN": { + "selector": "li.entry__freecompany__fc-active:nth-child(5)", + "regex": "Recruitment:\\s+(?P<State>\\w*)" + }, + "ESTATE_BUILT": { + "selector": ".entry__freecompany__fc-housing" + }, + "FORMED": { + "selector": ".entry__freecompany__fc-day > script", + "regex": ".*ldst_strftime\\((?P<Timestamp>\\d*)" + } + }, + "PAGE_INFO": { + "selector": "ul.btn__pager:nth-child(6) > li:nth-child(3)", + "regex": "\\D*(?P<CurrentPage>\\d+)\\D*(?P<NumPages>\\d+)" + }, + "LIST_NEXT_BUTTON": { + "selector": "ul.btn__pager > li:nth-child(4) > a:nth-child(1)", + "attribute": "href" + }, + "NO_RESULTS_FOUND": { + "selector": ".parts__zero" + } +} diff --git a/ffxiv/lodestone-css-selectors-0.52.0/search/linkshell.json b/ffxiv/lodestone-css-selectors-0.52.0/search/linkshell.json new file mode 100644 index 0000000..f9c6bc0 --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.52.0/search/linkshell.json @@ -0,0 +1,37 @@ +{ + "ROOT": { + "selector": ".ldst__window" + }, + "ENTRY": { + "ROOT": { + "selector": "div.entry", + "multiple": true + }, + "ID": { + "selector": ".entry__link--line", + "attribute": "href", + "regex": "/lodestone/linkshell/(?P<ID>\\d*)/" + }, + "NAME": { + "selector": ".entry__name" + }, + "SERVER": { + "selector": ".entry__world", + "regex": "(?P<World>\\w*)\\s+\\[(?P<DC>\\w*)\\]" + }, + "ACTIVE_MEMBERS": { + "selector": ".entry__linkshell__member > div > span" + } + }, + "PAGE_INFO": { + "selector": "ul.btn__pager:nth-child(6) > li:nth-child(3)", + "regex": "\\D*(?P<CurrentPage>\\d+)\\D*(?P<NumPages>\\d+)" + }, + "LIST_NEXT_BUTTON": { + "selector": "ul.btn__pager > li:nth-child(4) > a:nth-child(1)", + "attribute": "href" + }, + "NO_RESULTS_FOUND": { + "selector": ".parts__zero" + } +} 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<ID>\\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<CurrentPage>\\d+)\\D*(?P<NumPages>\\d+)" + }, + "LIST_NEXT_BUTTON": { + "selector": "ul.btn__pager > li:nth-child(4) > a:nth-child(1)", + "attribute": "href" + }, + "NO_RESULTS_FOUND": { + "selector": ".parts__zero" + } +} |