Python HTML Google Blogger API

HTML to Blogger

Automated workflow for parsing and publishing local HTML content and images to Blogger.

Demo Video

About this Project

This desktop application streamlines the process of migrating local HTML documents and assets to Google Blogger. It automates the heavy lifting of content preparation, including HTML sanitization, batch image processing with custom watermarks, and metadata management (tags and geolocation), followed by direct deployment through the Blogger API.

Tech Stack

  • Python 3.x
  • BeautifulSoup4 (HTML Parsing)
  • Pillow (Image Processing)
  • Google API Client

Key Features

  • HTML Sanitization: Automatically cleanses redundant tags and inline styles to ensure optimal rendering and compatibility on the Blogger platform.
  • Automated Image Handling: Manages batch uploads of local images while integrating custom watermarks into the assets programmatically.
  • Blogger API Integration: Orchestrates the entire publishing pipeline, from OAuth2 authentication to final post creation and automated tagging.

Technical Articles

Open Source Resource

The source code and technical documentation are available on GitHub. Contributions and reuse for educational or personal projects are welcome.

View on GitHub