How to get all product categories attached to SKU

I want to scrape products attached to categories and subcategories. The webshop adds products to multiple categories. Unfortunately webscraper omits duplicate product url's. How to alter my sitemap to force harvesting of duplicate results rather than only the unique ones? So that one product sku with only 1 unique producturl can be attached to multiple categories. From one product sku I need to know all the linked categories.

In this forum 2 other topics about this subject but no solution yet: