Hi, can you please help me with getting data from a sport site?
I would like to download stats for one day for all games played. I think I have created the retrieval of all matches on the page correctly. However, to view the stats, I need to click on each individual match and then click on "STATISTICS" which will be displayed when I click on the match. And that's where I have a problem. I don't know how to access the data that is created after clicking on a match.
I have created a sitemap that has the data I would like to download. Can someone please help me set up the sitemap to get the data I would like?
Thank you in advance!
Url: SofaScore: The Fastest Football Scores and Live Score for 2021
Sitemap:
{"_id":"sofascore_fotbal","startUrl":["https://www.sofascore.com/football/2021-09-21"],"selectors":[{"clickElementSelector":"button.styles__ShowMoreButton-sc-17nbpjd-16","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","delay":2000,"discardInitialElements":"do-not-discard","id":"all matches","multiple":false,"parentSelectors":["_root"],"selector":"div.styles__MainListWrapper-sc-17nbpjd-10","type":"SelectorElementClick"},{"clickElementSelector":"div.EventCellstyles__EventCell-sc-4ti8ha-0","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","delay":2000,"discardInitialElements":"do-not-discard","id":"game_detail","multiple":true,"parentSelectors":["_root"],"selector":"div.styles__MainListWrapper-sc-17nbpjd-10","type":"SelectorElementClick"},{"delay":0,"id":"League","multiple":false,"parentSelectors":["game_detail"],"regex":"","selector":".BreadcrumbContent__Content-sc-hzuqsg-0 li:nth-of-type(2) a","type":"SelectorText"},{"delay":0,"id":"Date","multiple":false,"parentSelectors":["game_detail"],"regex":"","selector":".styles__StyledDetails-sc-1e616vt-2 > div.dUsJVl div:nth-of-type(1) div","type":"SelectorText"},{"delay":0,"id":"ball_possession (home)","multiple":false,"parentSelectors":["stats"],"regex":"","selector":"div.styles__StatisticsGroup-sc-1imujgi-3:nth-of-type(1) div.Section-sc-umtr2b-0:nth-of-type(1) div","type":"SelectorText"},{"delay":0,"id":"ball_possession (away)","multiple":false,"parentSelectors":["stats"],"regex":"","selector":"div.styles__StatisticsGroup-sc-1imujgi-3:nth-of-type(1) div.jJmiAs","type":"SelectorText"},{"delay":0,"id":"game","multiple":false,"parentSelectors":["game_detail"],"regex":"","selector":"a.styles__EventLink-sc-1e616vt-0","type":"SelectorText"},{"clickElementSelector":".styles__InnerWrapper-sc-bbbdjr-2 a:nth-of-type(3)","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","delay":2000,"discardInitialElements":"do-not-discard","id":"stats","multiple":true,"parentSelectors":["game_detail"],"selector":".styles__InnerWrapper-sc-bbbdjr-2 div.Tabs__Header-sc-fivvzb-0","type":"SelectorElementClick"}]}