Well, based on this: Modify the link in the Link Selector
I got a dataset with 3 rows for every tank (one row for 1st ammo, one row for 2nd ammo and one more for 3rd ammo), but I need 1 row with 1st, 2nd and 3rd ammo.
I tried with link, popup link and in this last case with element click. The two first didnt works, never go next page (next ammo type). But this last in the scrape, the others ammos are followed, but the data isnt retrieved.
Url: https://tanks.gg/list?ti=8&n=uk.sweden&ty=heavy (this is in metadata, just for get only 2 tanks and test the results easily)
Sitemap:
{{"_id":"tanks_gg","startUrl":["https://tanks.gg/list?ti=8&n=uk.sweden&ty=heavy"],"selectors":[{"id":"TankInfo","type":"SelectorElement","parentSelectors":["_root"],"selector":".type a.elite","multiple":true,"delay":0},{"id":"clickTankInfo","type":"SelectorLink","parentSelectors":["TankInfo"],"selector":"parent","multiple":false,"delay":0},{"id":"TankName","type":"SelectorText","parentSelectors":["TankData"],"selector":"h1","multiple":false,"regex":"[\w\s\-\/\(\)\.\,äëïöüâêîôûáéíóú\'\–]+(?=Tier)","delay":0},{"id":"TankType","type":"SelectorText","parentSelectors":["TankData"],"selector":"h1","multiple":false,"regex":"Light|Medium|Heavy|Tank Destroyer|Artillery+$","delay":0},{"id":"TankPremium","type":"SelectorText","parentSelectors":["TankData"],"selector":"h1","multiple":false,"regex":"Premium","delay":0},{"id":"TankTier","type":"SelectorText","parentSelectors":["TankData"],"selector":"h1","multiple":false,"regex":"Tier\s\w+(?=\s)","delay":0},{"id":"TankData","type":"SelectorElement","parentSelectors":["clickTankInfo"],"selector":"body","multiple":false,"delay":0},{"id":"AmmoDmg","type":"SelectorText","parentSelectors":["TankData","SpecialAmmoDmg","3rdAmmoDmg"],"selector":".sections > section:nth-of-type(1) div:nth-of-type(2) span","multiple":false,"regex":"","delay":0},{"id":"AmmoPen","type":"SelectorText","parentSelectors":["TankData","SpecialAmmoDmg","3rdAmmoDmg"],"selector":".sections > section:nth-of-type(1) div:nth-of-type(3) span","multiple":false,"regex":"","delay":0},{"id":"AmmoCost","type":"SelectorText","parentSelectors":["TankData","SpecialAmmoDmg","3rdAmmoDmg"],"selector":"var.silver","multiple":false,"regex":"(\d+)\,(\d+)|(\d+)","delay":0},{"id":"AmmoType","type":"SelectorText","parentSelectors":["TankData","SpecialAmmoDmg","3rdAmmoDmg"],"selector":"div[class="module shell"] var","multiple":false,"regex":"","delay":0},{"id":"SpecialAmmoDmg","type":"SelectorElementClick","parentSelectors":["TankData"],"selector":"body","multiple":false,"delay":2000,"clickElementSelector":".module.shell > div > a:nth-of-type(2)","clickType":"clickOnce","discardInitialElements":"do-not-discard","clickElementUniquenessType":"uniqueText"},{"id":"3rdAmmoDmg","type":"SelectorElementClick","parentSelectors":["TankData"],"selector":"body","multiple":false,"delay":2000,"clickElementSelector":".module.shell > div > a:nth-of-type(3)","clickType":"clickOnce","discardInitialElements":"do-not-discard","clickElementUniquenessType":"uniqueText"}]}}