The number of subcategories does not match

The number of subcategories does not match.

For example,

Women → All
Women → Women's Clothes → All Wear
Women → Women's Clothes → Jackets
Women → Women's Clothes → Coats, Outerwear
etc.

The categories I am interested in are those located at the third level.
What should I do in this case?

The code for the second level is
Women's Clothes

The code for categories located at the third level is
All Wear

Jackets Bluezone

... etc. The third level always includes "c-global-nav__link".
Can you tell me how to handle this?

Url: 【公式通販】ヴィヴィアン・ウエストウッド(Vivienne Westwood)

Sitemap: {"_id":"viviennewestwood-japan","startUrl":["https://www.viviennewestwood-tokyo.com/"],"selectors":[{"id":"scroll down","parentSelectors":["xml"],"type":"SelectorElementClick","clickActionType":"real","clickElementSelector":"button.c-category-item-list__button","clickElementUniquenessType":"uniqueText","clickType":"clickMore","delay":4000,"discardInitialElements":"do-not-discard","multiple":true,"selector":"li.c-category-item-list__item"},{"id":"link","parentSelectors":["scroll down"],"type":"SelectorLink","selector":"a","multiple":true,"linkType":"linkFromHref"},{"id":"name","parentSelectors":["link"],"type":"SelectorText","selector":"div.c-quick-view__name","multiple":false,"regex":""},{"id":"price","parentSelectors":["link"],"type":"SelectorText","selector":"div.c-quick-view__price","multiple":false,"regex":""},{"id":"size","parentSelectors":["link"],"type":"SelectorText","selector":"span.c-size-select__number","multiple":false,"regex":""},{"id":"color","parentSelectors":["link"],"type":"SelectorText","selector":"span.c-color-select__color","multiple":false,"regex":""},{"id":"soldout","parentSelectors":["link"],"type":"SelectorText","selector":"div.c-quick-view__stock-text","multiple":false,"regex":""},{"id":"Product_Description","parentSelectors":["link"],"type":"SelectorText","selector":"p.c-item-info__text","multiple":false,"regex":""},{"id":"Brand_Number","parentSelectors":["link"],"type":"SelectorText","selector":".-is-detail li:nth-of-type(1)","multiple":false,"regex":""},{"id":"Product_number","parentSelectors":["link"],"type":"SelectorText","selector":".-is-detail li:nth-of-type(2)","multiple":false,"regex":""},{"id":"Material","parentSelectors":["link"],"type":"SelectorText","selector":"li.c-item-info__item:nth-of-type(3)","multiple":false,"regex":""},{"id":"Product_Size","parentSelectors":["link"],"type":"SelectorText","selector":".-is-size li:nth-of-type(1)","multiple":false,"regex":""},{"id":"image_url1","parentSelectors":["link"],"type":"SelectorImage","selector":".c-item-detail-pictures__item img.lazyload","multiple":false},{"id":"image_url2","parentSelectors":["link"],"type":"SelectorImage","selector":"[data-thumbnail-index='1'] img","multiple":false},{"id":"image_url3","parentSelectors":["link"],"type":"SelectorImage","selector":"[data-thumbnail-index='2'] img","multiple":false},{"id":"image_url4","parentSelectors":["link"],"type":"SelectorImage","selector":"[data-thumbnail-index='3'] img","multiple":false},{"id":"image_url5","parentSelectors":["link"],"type":"SelectorImage","selector":"[data-thumbnail-index='4'] img","multiple":false},{"id":"image_url6","parentSelectors":["link"],"type":"SelectorImage","selector":"[data-thumbnail-index='5'] img","multiple":false},{"id":"image_url7","parentSelectors":["link"],"type":"SelectorImage","selector":"[data-thumbnail-index='6'] img","multiple":false},{"id":"Wear_Model","parentSelectors":["link"],"type":"SelectorText","selector":".-is-size li:nth-of-type(2)","multiple":false,"regex":""},{"id":"xml","parentSelectors":["_root"],"type":"SelectorSitemapXmlLink","sitemapXmlMinimumPriority":0.1,"sitemapXmlUrlRegex":"CSfDispListPage","sitemapXmlUrls":["https://www.viviennewestwood-tokyo.com/sitemap.xml"]}]}
{id:"sitemap code"}

Hi, it looks like links of third-level categories have a 9-number code in the URL. You could try to use the following Regex in the sitemap selector to filter links with 9 consecutive numbers:

\b\d{9}\b
1 Like