I'm parsing a publicly published Google Spreadsheet CSV in Python.
The main spreadsheet URL is like https://docs.google.com/spreadsheets/d/MyL0NgSpr4dsheetK3y3x4mpl3 , with MyL0NgSpr4dsheetK3y3x4mpl3
being the public spreadsheet key.
The main spreadsheet has several sub sheets, or tabs, if you prefer.
Before, to get all the sheets URLs (along with their titles), without using any Google API I used to extract all the info from the XML export format URL, so I was doing that in Python:
xml_url: str = f"https://spreadsheets.google.com/feeds/worksheets/{spreadsheet_key}/public/full"
file = urllib.request.urlopen(xml_url)
raw_data: str = file.read()
file.close()
data: dict = xmltodict.parse(raw_data)
sheets: dict = dict((e["title"]["#text"], e["id"].partition("/full/")[2]) for e in list(data.items())[0][1]["entry"])
It seems that since recently, Google doesn't provide any XML export URL anymore, so this method now returns a 404 when hitting on the XML URL.
Any idea about how to get the sheets URLs (and optionally their titles)? If it's possible without going through the pain of parsing the XML it's even better.