Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing YouTube Transcription #118

Merged
merged 4 commits into from
Apr 2, 2024
Merged

Fixing YouTube Transcription #118

merged 4 commits into from
Apr 2, 2024

Conversation

MLawlz
Copy link
Contributor

@MLawlz MLawlz commented Mar 31, 2024

Why

The YouTube Player API that we previously relied on to fetch YouTube content was deprecated and shut down last year by Google. This has made fetching YouTube content impossible via the CLI, and thus has blocked users from transcribing YouTube content.

## What is changing
This old Youtube Player API functionality has been ripped out in favor of the kkdai/youtube package, which features much simpler abstractions for fetching YouTube content and is actively maintained.

Packages necessary to use kkdai/youtube have been installed and others were upgraded as needed. See go.mod for the full changes. This includes an overall upgrade to Go 1.21.

How to test

Observe that upon using the new binary included on this branch with assemblyai transcribe [youtube-url] that the YouTube content is fetched, downloaded, uploaded, then transcribed successfully.

@fcastillo90 fcastillo90 merged commit fa1b54b into main Apr 2, 2024
1 check passed
@MLawlz MLawlz deleted the fix-youtube-transcription branch April 15, 2024 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants