Skip to content

A Python script that automates the conversion of YouTube videos into Medium blog posts. This tool fetches the latest video from a specified channel, extracts subtitles, converts them into a polished script, and publishes an SEO-optimized blog post on Medium.

Notifications You must be signed in to change notification settings

Alwin8/Blog-automato

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube to Medium Blog Converter

Introduction

The YouTube to Medium Blog Converter is a Python script that automates the process of converting YouTube videos into Medium blog posts. It fetches the latest video from a specified YouTube channel, extracts subtitles, transforms the subtitles into a detailed script, and publishes the content as a blog post on Medium. This tool is perfect for content creators who want to repurpose their video content into engaging written articles.

Running the Script

  1. Add Api keys

    You need to configure the script with your API keys and tokens. Edit the script and replace the placeholder values with your actual keys in blogautomated.py:

    YOUTUBE_API_KEY = 'YOUR_YOUTUBE_API_KEY' # get from google credentials
    CHANNEL_ID = 'YOUR_CHANNEL_ID' # get from this website
    GEMINI_API_KEY = 'YOUR_GEMINI_API_KEY' # get from google ai studio
    MEDIUM_INTEGRATION_TOKEN = 'YOUR_MEDIUM_INTEGRATION_TOKEN' #get from medium in app section of settings
  2. Install Dependencies

    First, ensure you have Python installed. Then, install the required packages using:

    pip install -r requirements.txt
  3. Run the Script

    Execute the script with:

    python blogautomated.py

Donations

If this project makes you happy by reducing your development time, you can make me happy by treating me to a cup of coffee, or become a Sponsor of this project :)

About

A Python script that automates the conversion of YouTube videos into Medium blog posts. This tool fetches the latest video from a specified channel, extracts subtitles, converts them into a polished script, and publishes an SEO-optimized blog post on Medium.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages