Given a URL such as:
https://www.chess.com/live/game/4893975413
I want to make a script that can download the PGN (I don't want to click on the download button manually). I have a list of game URLs from my club's ladder games, and I want to make a for loop that, in each iteration, would automatically get the PGN (or JSON data that includes the PGN). I've looked through the public API page but I didn't see a way to do this. I see ways to download multiple games given a date range and a player. But, I didn't see anything that would solve my problem. Am I overlooking anything and is there a solution? Thanks in advance!