Search code examples
pythonautomationbackupblogspot

How can I programmatically log into blogger.com?


I want to automate backing up my blogspot blog. How can I programmatically log in to my blogspot account and click the "Export Blog"/Download link as detailed here? (Python preferred, but open to anything.)

http://support.google.com/blogger/bin/answer.py?hl=en&answer=97416


Solution

  • Use the Google OAuth API with a RESTful library, like Requests, to generate a token you can use to access data from your Google account.