I need a python script to automatically scrape whoscored.com. It basically has to perform two things.
First, extract all the links to the "match report" for a given tournament. Example: from this page ([login to view URL]ão) it should extract the links to the pages you go when you click on each yellow box named "match report".
Second, inside each match report there is a tab named "match centre". When you click on it, you can see the "chalkboard" of the match. I need the data contained there, more specifically, the location of all shots with x, y coordinates.
The script should preferably use a headless solution because it can't be very slow.
Thank you.