Giter Club home page Giter Club logo

podcast_intel's Introduction

YouTube Channel Analysis Project

Project Overview

This project automates the process of analyzing content from YouTube channels. It involves fetching video URLs from a YouTube channel, downloading them as MP3 files, transcribing the audio using OpenAI's Whisper, cleaning the data through several mini-programs, and finally analyzing the content with the Assistant API.

Getting Started

Prerequisites

  • Python 3.x
  • OpenAI API key
  • Google API client
  • Internet connection

Clone the repository to your local machine.

Install the required Python packages listed in requirements.txt.

pip install -r requirements.txt

Components

  • video_URL_fetcher.py: Fetches video URLs from a specified YouTube channel.
  • video_as_mp3_downloader.py: Downloads videos as MP3 files.
  • video_transcriber.ipynb: Transcribes the audio from the MP3 files using OpenAI's Whisper.
  • util_data_cleaner.py: Cleans the transcribed data.
  • util_mergetxt.py: Merges text files.
  • util_tokencounter.py: Counts tokens in the text.
  • util_charcounter.py: Counts characters in the text.
  • assistant_podcast_intel.ipynb and assistant_demo1.ipynb: Analyze the content using the Assistant API.

Usage

  • Set up your API keys and environment variables.
  • Run video_URL_fetcher.py to fetch video URLs.
  • Use video_as_mp3_downloader.py to download videos as MP3.
  • Transcribe the audio files with video_transcriber.ipynb.
  • Clean the data using util_data_cleaner.py.
  • Merge, count tokens, and characters using the respective utility scripts.
  • Analyze the content using the Jupyter notebooks.

Dependencies

  • OpenAI for Whisper and Assistant APIs
  • YouTube API

podcast_intel's People

Contributors

0xtomotech avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.