jpetzke / AutoGPT-YouTube

A plugin for AutoGPT that allows various operations on YouTube, such as downloading Videos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto-GPT-Plugin-Template

A Plugin for Auto-GPT that adds YouTube support.

Features

  • Download YouTube videos
  • Download YouTube audio
  • Search YouTube
  • Download YouTube Subtitles (Transcription)
  • Fetch comments of a YouTube video
  • Get video information

Requirements

  • Python
  • AutoGPT
  • ffmpeg

Plugin Installation Steps

  1. Clone or download the plugin repository: Clone the plugin repository, or download the repository as a zip file.

    Download Zip

  2. Install the plugin's dependencies: Navigate to the plugin's folder in your terminal, and run the following command to install any required dependencies:

       pip install -r requirements.txt
  3. Package the plugin as a Zip file: If you cloned the repository, compress the plugin folder as a Zip file.

  4. Copy the plugin's Zip file: Place the plugin's Zip file in the plugins folder of the Auto-GPT repository.

  5. Allowlist the plugin (optional): Add the plugin's class name to the ALLOWLISTED_PLUGINS in the .env file to avoid being prompted with a warning when loading the plugin:

    ALLOWLISTED_PLUGINS=AutoGPT_YouTube,example-plugin1,example-plugin2

    If the plugin is not allowlisted, you will be warned before it's loaded.

  6. Configure the plugin: Add the plugin's configuration to the .env file:

    ################################################################################
    ### YOUTUBE
    ################################################################################
    
    YOUTUBE_API_KEY=your-api-key

About

A plugin for AutoGPT that allows various operations on YouTube, such as downloading Videos

License:MIT License


Languages

Language:Python 90.6%Language:Batchfile 3.9%Language:Shell 3.8%Language:Makefile 1.7%