From 52801b4de1d63cd01191acf7fcee137977140ec0 Mon Sep 17 00:00:00 2001 From: lexicade Date: Fri, 27 Jan 2023 21:06:30 +0000 Subject: Project init --- .../search/character.json | 50 ++++++++++++++++ .../search/cwls.json | 36 +++++++++++ .../search/freecompany.json | 69 ++++++++++++++++++++++ .../search/linkshell.json | 37 ++++++++++++ .../search/pvpteam.json | 47 +++++++++++++++ 5 files changed, 239 insertions(+) create mode 100644 ffxiv/lodestone-css-selectors-0.46.0/search/character.json create mode 100644 ffxiv/lodestone-css-selectors-0.46.0/search/cwls.json create mode 100644 ffxiv/lodestone-css-selectors-0.46.0/search/freecompany.json create mode 100644 ffxiv/lodestone-css-selectors-0.46.0/search/linkshell.json create mode 100644 ffxiv/lodestone-css-selectors-0.46.0/search/pvpteam.json (limited to 'ffxiv/lodestone-css-selectors-0.46.0/search') diff --git a/ffxiv/lodestone-css-selectors-0.46.0/search/character.json b/ffxiv/lodestone-css-selectors-0.46.0/search/character.json new file mode 100644 index 0000000..119e679 --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.46.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\\d*)/" + }, + "LANG": { + "selector": ".entry__chara__lang" + }, + "NAME": { + "selector": ".entry__name" + }, + "RANK": { + "selector": ".entry__chara_info > .js__tooltip", + "attribute": "data-tooltip", + "regex": "/ (?P.+)" + }, + "RANK_ICON": { + "selector": ".entry__chara_info > .js__tooltip > img", + "attribute": "src" + }, + "SERVER": { + "selector": ".entry__world", + "regex": "(?P\\w*)\\s+\\((?P\\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\\d+)\\D*(?P\\d+)" + }, + "NO_RESULTS_FOUND": { + "selector": ".parts__zero" + } +} diff --git a/ffxiv/lodestone-css-selectors-0.46.0/search/cwls.json b/ffxiv/lodestone-css-selectors-0.46.0/search/cwls.json new file mode 100644 index 0000000..7efe25a --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.46.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\\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\\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" + } +} diff --git a/ffxiv/lodestone-css-selectors-0.46.0/search/freecompany.json b/ffxiv/lodestone-css-selectors-0.46.0/search/freecompany.json new file mode 100644 index 0000000..0d93137 --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.46.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\\d*)/" + }, + "GRAND_COMPANY": { + "selector": ".entry__world:nth-child(1)" + }, + "NAME": { + "selector": ".entry__name" + }, + "SERVER": { + "selector": ".entry__world:nth-child(3)", + "regex": "(?P\\w*)\\s+\\((?P\\w*)\\)" + }, + "ACTIVE": { + "selector": "li.entry__freecompany__fc-active:nth-child(4)", + "regex": "Active:\\s+(?P\\w*)" + }, + "ACTIVE_MEMBERS": { + "selector": ".entry__freecompany__fc-member" + }, + "RECRUITMENT_OPEN": { + "selector": "li.entry__freecompany__fc-active:nth-child(5)", + "regex": "Recruitment:\\s+(?P\\w*)" + }, + "ESTATE_BUILT": { + "selector": ".entry__freecompany__fc-housing" + }, + "FORMED": { + "selector": ".entry__freecompany__fc-day > script", + "regex": ".*ldst_strftime\\((?P\\d*)" + } + }, + "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" + } +} diff --git a/ffxiv/lodestone-css-selectors-0.46.0/search/linkshell.json b/ffxiv/lodestone-css-selectors-0.46.0/search/linkshell.json new file mode 100644 index 0000000..5ff2015 --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.46.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\\d*)/" + }, + "NAME": { + "selector": ".entry__name" + }, + "SERVER": { + "selector": ".entry__world", + "regex": "(?P\\w*)\\s+\\((?P\\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\\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" + } +} diff --git a/ffxiv/lodestone-css-selectors-0.46.0/search/pvpteam.json b/ffxiv/lodestone-css-selectors-0.46.0/search/pvpteam.json new file mode 100644 index 0000000..ae1c51d --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.46.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