zackees / transcribe-anything

Input a local file or url and this service will transcribe it using Whisper AI. Completely private and Free 🤯🤯🤯
MIT License
418 stars 34 forks source link

Unable to transcribe YouTube videos #12

Closed mroswell closed 5 months ago

mroswell commented 10 months ago

the usage example at https://pypi.org/project/transcribe-anything/ (and in this repo's README file) is:

transcribe_anything https://www.youtube.com/watch?v=dQw4w9WgXcQ

When I run that, I get:

zsh: no matches found: https://www.youtube.com/watch?v=dQw4w9WgXcQ

same with any other YouTube video URLs.

(i am more successful with Rumble links.)

zackees commented 10 months ago

So by the looks of it you are using the Mac with the new zsh, which is getting confused by one of the characters. If you switch the bash shell it will just work fine.

The solution for the zsh is that instead of this:

transcribe_anything https://www.youtube.com/watch?v=dQw4w9WgXcQ

You put the second argument in quotes:

transcribe_anything "https://www.youtube.com/watch?v=dQw4w9WgXcQ"