Git Product home page Git Product logo

youtube-transcribe's Introduction

Upload chunks from a Youtube Channel's videos to Arguflow

Install

Install the Python packages

pip install -r ./requirements.txt

Deploy an Arguflow instance and REDIS

Follow the self-hosting guide here

The script-redis service in the Arguflow docker-compose is intended to be used with this. If you go that route your REDIS_URL env value will be something like REDIS_URL=redis://:thisredispasswordisverysecureandcomplex@<server-ip-address>:6380. You can also use managed REDIS with something like Render.

Get the CHANNEL_ID for the youtube channel you want to get transcripts from

Find the URL of the channel you want to deploy Arguflow on top of then get the CHANNEL_ID with a tool like Comment Picker

Set your ENV's

They should look something like:

CHANNEL_ID=UC0vBXGSyV14uvJ4hECDOl0Q
YOUTUBE_API_KEY=***************************************
REDIS_PASSWORD=thisredispasswordisverysecureandcomplex
REDIS_URL=redis://:thisredispasswordisverysecureandcomplex@localhost:6380
ARGUFLOW_API_URL=http://localhost:8090/api
ARGUFLOW_API_KEY=af-********************************

Add all of the video id's to a REDIS queue

python ./upload.py

Second option to only add single video

python ./upload.py <video_id>

Get the raw transcripts of the videos, punctuate them, then upload to your Arguflow instance

You should typically run at least 6 of main.py process in parallel.

python ./main.py

youtube-transcribe's People

Contributors

densumesh avatar fastfists avatar skeptrunedev avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

quyen88

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.