Sitemap has an invalid selector

I copy and paste a working sitemap from the web extension into the cloud scraper and receive the error: "Sitemap has an invalid selector".

Any ideas on how to resolve this?

See sitemap below:

{"_id":"a_brake_pads_rear_all_fitments_11-08-22","startUrl":["Brake pads in Brake rear - Brooks Barn Motorcycles | Motomike a","multiple":true,"delay":null},{"id":"SKU","parentSelectors":["Part"],"type":"SelectorText","selector":"div.mm_drow:nth-of-type(1) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"Title","parentSelectors":["Part"],"type":"SelectorText","selector":"div:nth-of-type(2) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"MPN","parentSelectors":["Part"],"type":"SelectorText","selector":"div.mm_drow:nth-of-type(3) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"Price Unit","parentSelectors":["Part"],"type":"SelectorText","selector":"div:nth-of-type(4) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"Minimum Order Quantity","parentSelectors":["Part"],"type":"SelectorText","selector":"div.mm_drow:nth-of-type(5) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"Retail Price Inc","parentSelectors":["Part"],"type":"SelectorText","selector":"div:nth-of-type(6) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"Retail Price Ex","parentSelectors":["Part"],"type":"SelectorText","selector":"div:nth-of-type(7) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"Discount","parentSelectors":["Part"],"type":"SelectorText","selector":"div:nth-of-type(8) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"Seller Cost","parentSelectors":["Part"],"type":"SelectorText","selector":"div:nth-of-type(9) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"aDesc","parentSelectors":["Part"],"type":"SelectorHTML","selector":"div.goog_trans_cont","multiple":false,"regex":"","delay":0},{"id":"Image1","parentSelectors":["Part"],"type":"SelectorLink","selector":"a.detail_img","multiple":false,"delay":0},{"id":"Image2","parentSelectors":["Part"],"type":"SelectorLink","selector":"a#\32 -mini","multiple":false,"delay":0},{"id":"Image3","parentSelectors":["Part"],"type":"SelectorLink","selector":"a#\33 -mini","multiple":false,"delay":0},{"id":"Image4","parentSelectors":["Part"],"type":"SelectorLink","selector":"a#\34 -mini","multiple":false,"delay":0},{"id":"Image5","parentSelectors":["Part"],"type":"SelectorLink","selector":"a#\35 -mini","multiple":false,"delay":0},{"id":"MPN2","parentSelectors":["Part"],"type":"SelectorText","selector":"div.mm_drow:nth-of-type(3) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"Breadcrumbs","parentSelectors":["Part"],"type":"SelectorHTML","selector":"ul#details_productebenen","multiple":false,"regex":"","delay":0},{"id":"Crumb1","parentSelectors":["Part"],"type":"SelectorHTML","selector":"#details_productebenen li:nth-of-type(1)","multiple":false,"regex":"","delay":0},{"id":"Crumb2","parentSelectors":["Part"],"type":"SelectorText","selector":"#details_productebenen li:nth-of-type(2)","multiple":false,"delay":0,"regex":""},{"id":"Crumb3","parentSelectors":["Part"],"type":"SelectorText","selector":"#details_productebenen li:nth-of-type(3)","multiple":false,"delay":0,"regex":""},{"id":"Crumb4","parentSelectors":["Part"],"type":"SelectorText","selector":"#details_productebenen li:nth-of-type(4)","multiple":false,"delay":0,"regex":""},{"id":"Crumb5","parentSelectors":["Part"],"type":"SelectorText","selector":"#details_productebenen li:nth-of-type(5)","multiple":false,"delay":0,"regex":""},{"id":"Crumb6","parentSelectors":["Part"],"type":"SelectorText","selector":"#details_productebenen li:nth-of-type(6)","multiple":false,"delay":0,"regex":""}]}

@T10P Hello, it does not appear like the sitemap JSON you sent would be valid.

Could you, please, apply the 'Preformatted text' option after pasting it?

{"_id":"a_brake_pads_rear_all_fitments_11-08-22","startUrl":["https://brooksbarn.com/en/category/10702190000/?sr=0","https://brooksbarn.com/en/category/10702190000/?sr=30","https://brooksbarn.com/en/category/10702190000/?sr=60","https://brooksbarn.com/en/category/10702190000/?sr=90","https://brooksbarn.com/en/category/10702190000/?sr=120","https://brooksbarn.com/en/category/10702190000/?sr=150","https://brooksbarn.com/en/category/10702190000/?sr=180","https://brooksbarn.com/en/category/10702190000/?sr=210","https://brooksbarn.com/en/category/10702190000/?sr=240","https://brooksbarn.com/en/category/10702190000/?sr=300","https://brooksbarn.com/en/category/10702190000/?sr=330","https://brooksbarn.com/en/category/10702190000/?sr=360","https://brooksbarn.com/en/category/10702190000/?sr=390","https://brooksbarn.com/en/category/10702190000/?sr=420","https://brooksbarn.com/en/category/10702190000/?sr=450","https://brooksbarn.com/en/category/10702190000/?sr=480","https://brooksbarn.com/en/category/10702190000/?sr=510","https://brooksbarn.com/en/category/10702190000/?sr=540","https://brooksbarn.com/en/category/10702190000/?sr=570","https://brooksbarn.com/en/category/10702190000/?sr=600","https://brooksbarn.com/en/category/10702190000/?sr=630","https://brooksbarn.com/en/category/10702190000/?sr=660","https://brooksbarn.com/en/category/10702190000/?sr=690","https://brooksbarn.com/en/category/10702190000/?sr=720","https://brooksbarn.com/en/category/10702190000/?sr=750","https://brooksbarn.com/en/category/10702190000/?sr=780","https://brooksbarn.com/en/category/10702190000/?sr=810","https://brooksbarn.com/en/category/10702190000/?sr=840","https://brooksbarn.com/en/category/10702190000/?sr=870","https://brooksbarn.com/en/category/10702190000/?sr=900"],"selectors":[{"delay":null,"id":"Part","multiple":true,"parentSelectors":["_root"],"selector":"h3 a","type":"SelectorLink"},{"delay":0,"id":"SKU","multiple":false,"parentSelectors":["Part"],"regex":"","selector":"div.mm_drow:nth-of-type(1) div.mm_right","type":"SelectorText"},{"delay":0,"id":"Title","multiple":false,"parentSelectors":["Part"],"regex":"","selector":"div:nth-of-type(2) div.mm_right","type":"SelectorText"},{"delay":0,"id":"MPN","multiple":false,"parentSelectors":["Part"],"regex":"","selector":"div.mm_drow:nth-of-type(3) div.mm_right","type":"SelectorText"},{"delay":0,"id":"Price Unit","multiple":false,"parentSelectors":["Part"],"regex":"","selector":"div:nth-of-type(4) div.mm_right","type":"SelectorText"},{"delay":0,"id":"Minimum Order Quantity","multiple":false,"parentSelectors":["Part"],"regex":"","selector":"div.mm_drow:nth-of-type(5) div.mm_right","type":"SelectorText"},{"delay":0,"id":"Retail Price Inc","multiple":false,"parentSelectors":["Part"],"regex":"","selector":"div:nth-of-type(6) div.mm_right","type":"SelectorText"},{"delay":0,"id":"Retail Price Ex","multiple":false,"parentSelectors":["Part"],"regex":"","selector":"div:nth-of-type(7) div.mm_right","type":"SelectorText"},{"delay":0,"id":"Discount","multiple":false,"parentSelectors":["Part"],"regex":"","selector":"div:nth-of-type(8) div.mm_right","type":"SelectorText"},{"delay":0,"id":"Seller Cost","multiple":false,"parentSelectors":["Part"],"regex":"","selector":"div:nth-of-type(9) div.mm_right","type":"SelectorText"},{"delay":0,"id":"aDesc","multiple":false,"parentSelectors":["Part"],"regex":"","selector":"div.goog_trans_cont","type":"SelectorHTML"},{"delay":0,"id":"Image1","multiple":false,"parentSelectors":["Part"],"selector":"a.detail_img","type":"SelectorLink"},{"delay":0,"id":"Image2","multiple":false,"parentSelectors":["Part"],"selector":"a#\\32 -mini","type":"SelectorLink"},{"delay":0,"id":"Image3","multiple":false,"parentSelectors":["Part"],"selector":"a#\\33 -mini","type":"SelectorLink"},{"delay":0,"id":"Image4","multiple":false,"parentSelectors":["Part"],"selector":"a#\\34 -mini","type":"SelectorLink"},{"delay":0,"id":"Image5","multiple":false,"parentSelectors":["Part"],"selector":"a#\\35 -mini","type":"SelectorLink"},{"delay":0,"id":"MPN2","multiple":false,"parentSelectors":["Part"],"regex":"","selector":"div.mm_drow:nth-of-type(3) div.mm_right","type":"SelectorText"},{"delay":0,"id":"Breadcrumbs","multiple":false,"parentSelectors":["Part"],"regex":"","selector":"ul#details_productebenen","type":"SelectorHTML"},{"delay":0,"id":"Crumb1","multiple":false,"parentSelectors":["Part"],"regex":"","selector":"#details_productebenen li:nth-of-type(1)","type":"SelectorHTML"},{"delay":0,"id":"Crumb2","multiple":false,"parentSelectors":["Part"],"regex":"","selector":"#details_productebenen li:nth-of-type(2)","type":"SelectorText"},{"delay":0,"id":"Crumb3","multiple":false,"parentSelectors":["Part"],"regex":"","selector":"#details_productebenen li:nth-of-type(3)","type":"SelectorText"},{"delay":0,"id":"Crumb4","multiple":false,"parentSelectors":["Part"],"regex":"","selector":"#details_productebenen li:nth-of-type(4)","type":"SelectorText"},{"delay":0,"id":"Crumb5","multiple":false,"parentSelectors":["Part"],"regex":"","selector":"#details_productebenen li:nth-of-type(5)","type":"SelectorText"},{"delay":0,"id":"Crumb6","multiple":false,"parentSelectors":["Part"],"regex":"","selector":"#details_productebenen li:nth-of-type(6)","type":"SelectorText"}]}

@T10P Hi, it appears that this happens because the 'Part' selector contains an invalid delay value.

Here's a valid sitemap:

{"_id":"a_brake_pads_rear_all_fitments_11-08-22-test","startUrl":["https://brooksbarn.com/en/category/10702190000/?sr=0","https://brooksbarn.com/en/category/10702190000/?sr=30","https://brooksbarn.com/en/category/10702190000/?sr=60","https://brooksbarn.com/en/category/10702190000/?sr=90","https://brooksbarn.com/en/category/10702190000/?sr=120","https://brooksbarn.com/en/category/10702190000/?sr=150","https://brooksbarn.com/en/category/10702190000/?sr=180","https://brooksbarn.com/en/category/10702190000/?sr=210","https://brooksbarn.com/en/category/10702190000/?sr=240","https://brooksbarn.com/en/category/10702190000/?sr=300","https://brooksbarn.com/en/category/10702190000/?sr=330","https://brooksbarn.com/en/category/10702190000/?sr=360","https://brooksbarn.com/en/category/10702190000/?sr=390","https://brooksbarn.com/en/category/10702190000/?sr=420","https://brooksbarn.com/en/category/10702190000/?sr=450","https://brooksbarn.com/en/category/10702190000/?sr=480","https://brooksbarn.com/en/category/10702190000/?sr=510","https://brooksbarn.com/en/category/10702190000/?sr=540","https://brooksbarn.com/en/category/10702190000/?sr=570","https://brooksbarn.com/en/category/10702190000/?sr=600","https://brooksbarn.com/en/category/10702190000/?sr=630","https://brooksbarn.com/en/category/10702190000/?sr=660","https://brooksbarn.com/en/category/10702190000/?sr=690","https://brooksbarn.com/en/category/10702190000/?sr=720","https://brooksbarn.com/en/category/10702190000/?sr=750","https://brooksbarn.com/en/category/10702190000/?sr=780","https://brooksbarn.com/en/category/10702190000/?sr=810","https://brooksbarn.com/en/category/10702190000/?sr=840","https://brooksbarn.com/en/category/10702190000/?sr=870","https://brooksbarn.com/en/category/10702190000/?sr=900"],"selectors":[{"id":"Part","parentSelectors":["_root"],"type":"SelectorLink","selector":"h3 a","multiple":true,"delay":0},{"id":"SKU","parentSelectors":["Part"],"type":"SelectorText","selector":"div.mm_drow:nth-of-type(1) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"Title","parentSelectors":["Part"],"type":"SelectorText","selector":"div:nth-of-type(2) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"MPN","parentSelectors":["Part"],"type":"SelectorText","selector":"div.mm_drow:nth-of-type(3) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"Price Unit","parentSelectors":["Part"],"type":"SelectorText","selector":"div:nth-of-type(4) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"Minimum Order Quantity","parentSelectors":["Part"],"type":"SelectorText","selector":"div.mm_drow:nth-of-type(5) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"Retail Price Inc","parentSelectors":["Part"],"type":"SelectorText","selector":"div:nth-of-type(6) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"Retail Price Ex","parentSelectors":["Part"],"type":"SelectorText","selector":"div:nth-of-type(7) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"Discount","parentSelectors":["Part"],"type":"SelectorText","selector":"div:nth-of-type(8) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"Seller Cost","parentSelectors":["Part"],"type":"SelectorText","selector":"div:nth-of-type(9) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"aDesc","parentSelectors":["Part"],"type":"SelectorHTML","selector":"div.goog_trans_cont","multiple":false,"regex":"","delay":0},{"id":"Image1","parentSelectors":["Part"],"type":"SelectorLink","selector":"a.detail_img","multiple":false,"delay":0},{"id":"Image2","parentSelectors":["Part"],"type":"SelectorLink","selector":"a#\\32 -mini","multiple":false,"delay":0},{"id":"Image3","parentSelectors":["Part"],"type":"SelectorLink","selector":"a#\\33 -mini","multiple":false,"delay":0},{"id":"Image4","parentSelectors":["Part"],"type":"SelectorLink","selector":"a#\\34 -mini","multiple":false,"delay":0},{"id":"Image5","parentSelectors":["Part"],"type":"SelectorLink","selector":"a#\\35 -mini","multiple":false,"delay":0},{"id":"MPN2","parentSelectors":["Part"],"type":"SelectorText","selector":"div.mm_drow:nth-of-type(3) div.mm_right","multiple":false,"delay":0,"regex":""},{"id":"Breadcrumbs","parentSelectors":["Part"],"type":"SelectorHTML","selector":"ul#details_productebenen","multiple":false,"regex":"","delay":0},{"id":"Crumb1","parentSelectors":["Part"],"type":"SelectorHTML","selector":"#details_productebenen li:nth-of-type(1)","multiple":false,"regex":"","delay":0},{"id":"Crumb2","parentSelectors":["Part"],"type":"SelectorText","selector":"#details_productebenen li:nth-of-type(2)","multiple":false,"delay":0,"regex":""},{"id":"Crumb3","parentSelectors":["Part"],"type":"SelectorText","selector":"#details_productebenen li:nth-of-type(3)","multiple":false,"delay":0,"regex":""},{"id":"Crumb4","parentSelectors":["Part"],"type":"SelectorText","selector":"#details_productebenen li:nth-of-type(4)","multiple":false,"delay":0,"regex":""},{"id":"Crumb5","parentSelectors":["Part"],"type":"SelectorText","selector":"#details_productebenen li:nth-of-type(5)","multiple":false,"delay":0,"regex":""},{"id":"Crumb6","parentSelectors":["Part"],"type":"SelectorText","selector":"#details_productebenen li:nth-of-type(6)","multiple":false,"delay":0,"regex":""}]}

1 Like

Thank you very much!