I play on chess.com and I'd like to download a history of my games.  Unfortunately, they don't make it easy: I can access 100 pages of 50 games one at a time, click "Select All" and "Download" and then they e-mail it to me.
Is there a way to write a script, in python or another language, that helps me automate any part of the process?  Something that simulates clicking a link?  Is Capybara useful for things like this outside of unit testing?  Selenium?
I don't have much experience with web development yet.  Thanks for your help!
You may want to check out CasperJS.  I use Python to fire CasperJS scripts to do web scraping and return data to Python to parse further or store to a database etc... 
Python itself has BeautifulSoup and Mechanize but the combination is not great with Ajax based sites.  
Python and CasperJS is perfect.
Automating web tasks?